SAP ABAP IMG Activity PA_XX_ERD_050 (BAdI: Implementation of Module for Employee Information)
Hierarchy
SAP_HRCDE (Software Component) Sub component SAP_HRCDE of SAP_HR
   PA-PA-DE (Application Component) Germany
     PBAS_ERD (Package) Employee-Related Data
IMG Activity
ID PA_XX_ERD_050 BAdI: Implementation of Module for Employee Information  
Transaction Code S_L4H_49002003   (empty) 
Created on 20110511    
Customizing Attributes PA_XX_ERD_01   Information of Employee-Related Data (Optional/Not Critical) 
Customizing Activity PA_XX_ERD_050   BAdI: Implementation of Module for Employee Information 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BD_HRPAD_ERD_MODULE    

Use

The report program Information of Employee-Related Data (RPLERDX0) is based on a generic approach for determining the employee-relevant data. The data for the report program can be collected using the BAdI BD_HRPAD_ERD_MODULE from various applications.

Each module for which a BAdI is to be implemented represents an SAP application component, for example, Personnel Administration, Personnel Development, E-Recruiting, Learning Solution. These modules are managed by the Module Manager within the report program.

In the standard system, one implementation is delivered for this BAdI for the data from Personnel Administration (PA) and one implementation for the data from Personnel Development (PD).

Requirements

Standard settings

Activities

Create an implementation of the BAdI to display the data of a customer application in the report program Information of Employee-Related Data (RPLERDX0).

For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

If you create your own implementations for this BAdI, you must define the class to be implemented (for example, CL_HRPAD_ERD_DM_XX) such that it inherits from the class CL_HRPAD_ERD_DATAMODULE.

Implement the following three methods of the class:

  • FETCH_DATA:

In the method FETCH_DATA, you implement the reading of the relevant data and the filling of the tree structure using the class CL_HRPAD_ERD_DATATREE_NODE. You can use the implementation of the class CL_HRPAD_ERD_DM_PA as a guide.

  • GET_DESCRIPTION:

In the method GET_DESCRIPTION, you define the text as a text symbol that is displayed on the selection screen of the report program in the Output Areas group box and that represents the assigned data area that is processed using the BAdI. Assign the new text symbol to the returning parameter RV_DESCRIPTION.

  • SET_ORDERVALUE:

In the method SET_ORDERVALUE, you enter the number that defines the position on the selection screen of the report program in the Output Areas group box. Set the global class attribute CV_ORDER to the required position number.

Example

Business Attributes
ASAP Roadmap ID 203   Establish Master Data 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20110607 
SAP Release Created in