Вы находитесь на странице: 1из 11

How to Custom Build Country

Specific ESS Applications for


Countries Not Included in
Business Package.

Applies to:
SAP Netweaver Portal 7.0, Employee Self Service ERP 2005. For more information, visit the Portal and
Collaboration homepage. .

Summary
The requirement for building custom ESS applications for the countries which are not available in the
standard SAP ESS Business package content is discussed here. This guide deals with the procedure of
reusing the country specific applications as suggested by SAP with helpful screenshots and some further
information.
Author: Swathi Rao Padma
Company: Accenture, India.
Created on: 4 June, 2009.

Author Bio

Swathi Rao Padma is a SAP Netweaver Portal Consultant from Accenture India, with 3+ years
experience in Portal application development including Webdynpro Java,Adobe Interactive
forms,ESS MSS SAP HR and MDM integration and Portal Administration.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 1
How to Custom Build Country Specific ESS Applications for Countries Not Included in Business Package.

Table of Contents
Introduction .........................................................................................................................................................3
Identifying Best Fit Country for Reuse................................................................................................................3
Procedure to Reuse Country Specific services and applications ...................................................................4
1. Assign Screen Structure to Infotype Versions..........................................................................................................4
2. Define Active Subtypes and Use Cases ..................................................................................................................4
3. Define Country-Specific Applications .......................................................................................................................4
Additional Settings ..............................................................................................................................................5
Developing custom WebDynpro Development Component ...............................................................................6
Integrating the application in portal for the new country users ...........................................................................6
PCD Content Creation ........................................................................................................................................9
Result..................................................................................................................................................................9
Related Content................................................................................................................................................10
Disclaimer and Liability Notice..........................................................................................................................11

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 2
How to Custom Build Country Specific ESS Applications for Countries Not Included in Business Package.

Introduction
SAP delivers ready to use business package for many countries which can be configured to be used for
those countries. This needs couple of configurations in the backend and customizations in the portal. But at
times there would be need to customize screens for the countries not currently available in the ESS standard
package like Poland (46).
In such scenarios SAP recommends to make use of already existing country which would befit with a closer
resemblance to the functional needs.
We will discuss creating custom Personal Information /Personal Data application for the country Poland
Molga 46 in this document.

Identifying Best Fit Country for Reuse


To start building ESS applications for a new country, the foremost step would be identifying the country
which is best fit to be resued.The country to be chosen has to match major business requirements for the
new country. For the selection it can be best analyzed and suggested by a functional SAP HR.
For instance, on comparing Personal Data view for all the countries available and deciding Best Fit:

Field Description/Content Present in Present in PL Present Present


UK iView Custom iView in DE in IR
iView iView

Country ID (social security Y – 9 chars Y - 11 chars Y Y-9


number) max chars

Surname Y Y Y Y

Name Y Y Y Y

Gender Y N Y Y

Birth day Y Y Y Y

Birth place Y Y Y Y

Birth country Y– Y - Nationality Y Y-


Nationality National

Marital Status Y Y Y Y

Title Y Y Y Y

Marital Status Since Y N Y Y

BEST FIT Y

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 3
How to Custom Build Country Specific ESS Applications for Countries Not Included in Business Package.

Procedure to Reuse Country Specific services and applications


After analyzing that German Personal Data (Molga 01) would suit our Poland (PL) Personal Data view, we
would reuse Italian structures and start with the following steps:

1. Assign Screen Structure to Infotype Versions.


2. Define Active Subtypes and Use Cases.
3. Define Country-Specific Applications.
4. Create Webdynpro Development Component for Poland (PL) by copying it from Standard Italian DC.
5. Create PCD content in the portal (iview, page and ESS role for PL).

1. Assign Screen Structure to Infotype Versions

In the SAP Reference IMG (Transaction SPRO) browse to the following activity and add the entry in the view
V_T7XSSREUSEUISN.

Path: Personal Management ->Employee Self- Service -> Service Specific Settings -> Own Data ->Reuse Country
Specific Applications -> Assign Screen Structure to Infotype Versions

2. Define Active Subtypes and Use Cases


Set the correct sub case and use case relation for the Poland personal data (IT 0002).For personal data
there are no sub cases present and only one entry to be made as below:

3. Define Country-Specific Applications


Before proceeding with this step, a Resource for Poland needs to be created using the Homepage self
service activity. The Resource needs to be updated with the portal page which will be created later for
Poland
For this, copy the Italian standard resource rename with PL namespace. We will change the application and
PCD URL path after it’s created later.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 4
How to Custom Build Country Specific ESS Applications for Countries Not Included in Business Package.

Additional Settings

A) The following custom objects are needed to be created before WebDynpro DC creation.

Function Module: ZXXXHR_PER_EDIT_P0002_PL


ZXXXHR_PER_MODIFY_P0002_PL
ZXXXHR_PER_NEW_P0002_PL
ZXXXHR_PER_READ_P0002_PL
Table Type: ZXXXHR_PERDATA_PL_TAB (Info Type 0002)
Structures: ZHR_ PERDATA_PL (Info Type 0002)
Conversion Class: ZCL_HRPA_UI_CONVERT_0002_PL
Notes:
- Additional custom Info Types created for Poland can be added other than standard XX structure provided.
If extension for customer specific fields is required.
- Validation checks for the custom fields to be added in the custom Conversion classes (Input Conversion
Interfaces)

B) Assign the custom Conversion Class and Custom Structure for Poland in the view V_T588UICONVCLAS.

This table is used for the front end Iviews operation.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 5
How to Custom Build Country Specific ESS Applications for Countries Not Included in Business Package.

Developing custom WebDynpro Development Component

In the NWDS make a New DC for Poland with vendor namespace. Copy the standard German Personal data
Component Controllers in to the New DC.

While copying NWDS prompts for the package change, change to the vendor specific naming conventions.
Rename carefully all the Controllers, files with new package name.

Challenges while making a DC copy?

1. Find out the dependent DCs/Used DCs and make sure the Usage dependencies are added in
the vendor Track (provide Software Components dependencies).
2. Add the dependent DCs in the used DCs section.
For Personal Data add:

3. Create Model and import all the Custom Function modules created for Poland.
4. The multiple errors occur as the renamed package will not take place successfully in all the files
in the src folder. For this close the NWDS, go to windows explorer to the DC src folder. Open
each file and replace the sap.com occurrences with vendor specific namespace. Replace all
“PersonalDE” to “PersonalPL”.
5. Go back to NWDS navigator perspective, right click on the new dc project and click Reload and
Rebuild. Open and close project if needed.
6. Add the additional custom fields added in the structure to the Detail/Review/Bizcard views.
Rebuild and deploy the DC.

Integrating the application in portal for the new country users

Create FPM application:

Go to Self Service Administrator role. Copy and paste in the Vendor specific folder the standard German
Personal Data FPM Application folder from

PortalContent->Content Provided by SAP -> srvconfig -> com.sap.pct.erp.srvconfig.ess.employee_self_service ->


com.sap.pct.erp.srvconfig.de -> Personal Data

Update the FPM Components for Poland


- Open all the three FPM Views (BizCardView, DetailView, and ReviewView) change the application
paramater to the Poland application created and deployed accordingly.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 6
How to Custom Build Country Specific ESS Applications for Countries Not Included in Business Package.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 7
How to Custom Build Country Specific ESS Applications for Countries Not Included in Business Package.

- Open FPM application PersonalData_PL created and update the Roadmap step views assigned.

Next

Similarly update Road Map Steps r2, r3 etc.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 8
How to Custom Build Country Specific ESS Applications for Countries Not Included in Business Package.

PCD Content Creation

Create portal Webdynpro ivew and page for the Poland .Create Poland workset, Poland ESS role. Make the
assignments of the Poland Role, Workset, Page and Iview.

Notes:
- Copy the PCD path of the Poland page created for Personal data, prefix with ROLES://. Update the new PCD path in
the action discussed earlier as below:

- Further create the custom Homepage, Services, Subgroups needed for the new country if required.
The homepage of other standard country can be reused by configuration.

Result

Assign the Poland ESS Portal Role created for the user. Before than make sure that the SAP user id is
assigned to the Polish PERNR in the backend using corresponding PA30 Communication action to view the
result in portal.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 9
How to Custom Build Country Specific ESS Applications for Countries Not Included in Business Package.

Related Content
SAP Note: 936179
SDN Wiki
SAP Help FPM
For more information, visit the Portal and Collaboration homepage.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 10
How to Custom Build Country Specific ESS Applications for Countries Not Included in Business Package.

Disclaimer and Liability Notice


This document may discuss sample coding or other information that does not include SAP official interfaces
and therefore is not supported by SAP. Changes made based on this information are not supported and can
be overwritten during an upgrade.
SAP will not be held liable for any damages caused by using or misusing the information, code or methods
suggested in this document, and anyone using these methods does so at his/her own risk.
SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of
this technical article or code sample, including any liability resulting from incompatibility between the content
within this document and the materials and services offered by SAP. You agree that you will not hold, or
seek to hold, SAP responsible or liable with respect to the content of this document.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 11

Вам также может понравиться