SAP ABAP IMG Activity PA_XX_ERD_070 (BAdI: Transformation of Infotype Data to Own Format)
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_070 BAdI: Transformation of Infotype Data to Own Format  
Transaction Code S_L4H_49002005   (empty) 
Created on 20110511    
Customizing Attributes PA_XX_ERD_01   Information of Employee-Related Data (Optional/Not Critical) 
Customizing Activity PA_XX_ERD_070   BAdI: Transformation of Infotype Data to Own Format 
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.


The Business Add-In (BAdI) HRPAD_B_ERD_SPEC_DATA_INFTY enables the conversion of the infotype data into another format. The infotype data is converted from the format in which the records are saved in the database under PAnnnn into any other format that is defined in the dictionary as DDIC structure and in which the Information of Employee-Related Data program (RPLERDX0) is to display the data. Note that this function is not available for secondary infotypes.

The BAdI also provides the option of defining the field labels for individual fields within the program output. This function is also available for secondary infotypes.

The BAdI has the number of the infotype as the filter value and can therefore be implemented for individual infotypes.

The system uses the interface IF_HRPAD_ERD_SPEC_DATA_INFTY to provide the methods TRANSFORM_DATA and GET_FIELD_LABELS.


Standard settings


If necessary, create your own implementation of the BAdI for individual infotypes to enable the output of data in another structure or to adjust texts for specific field labels to suit your requirements. To do this, enter the number of the infotype as the filter value in the first step.

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

The method TRANSFORM_DATA has the importing parameter IS_STRUCT_CONTENT, which contains a record of the infotype, and uses the changing parameter CS_OUTPUT_CONTENT to return the transferred data to any DDIC structure. The GET_FIELD_LABELS method has the changing parameter CT_OUTPUT_FIELDTEXT, which contains a table consisting of component names (not the data elements) of the relevant infotype and the field labels to be used. You can define the required texts for individual fields for the infotype specified using the filter value.

If you want to implement only one of the two methods, you define the two-line coding, consisting of METHOD and ENDMETHOD, for the other method. You must create this minimal implementation.


In the standard system, default implementations are defined for the infotypes Electronic Data Exchange (0700) and Pension Equalization Payment (0785). The implementation HRPAD_ERD_SPEC_DATA_0700 for the infotype 0700 uses the method TRANSFORM_DATA to convert the unstructured data for the output according to the subtype. The implementation HRPAD_ERD_SPEC_DATA_0785 for the infotype 0785 uses the method GET_FIELD_LABELS to specify the texts for the field labels that contains the following pay scale information:

  • At the point in time of the end of the marriage
  • On January 1, 1990
  • On January 1, 2008

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 
Last changed by/on SAP  20110511 
SAP Release Created in