SAP ABAP IMG Activity OHA_DK_CUSTREP (Maintain Customer Enhancement for Danish Employee Reports with ALV Output)
Hierarchy
SAP_HRCDK (Software Component) Sub component SAP_HRCDK of SAP_HR
   PY-DK (Application Component) Denmark
     P09C (Package) HR Customizing: Denmark
IMG Activity
ID OHA_DK_CUSTREP Maintain Customer Enhancement for Danish Employee Reports with ALV Output  
Transaction Code S_AHR_61018640   (empty) 
Created on 19990401    
Customizing Attributes OHA_DK_CUSTREP   Customer enhancement for Danish employee report with ALV output 
Customizing Activity OHA_DK_CUSTREP   Maintain customer enhancement for Danish employee reports with ALV output 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name OHA_DK_CUSTREP    

In this step, you maintain enhancements for Denmark-specific employee reports that use the ABAP List Viewer (ALV) for output, such as:

  • RPCL72M0 - List for infotype 72 (Tax DK) for year-end reporting
  • RPUPRRM0 - Pension report
  • RPCDIFM0 - Difference display for wage types received from PBS in T5M58
  • RPCLLMM0 - List of retroactive differences that occur when employer is changed

To do this, you can insert new fields in the structure HRDK_PERSON_INFO By using the included customer-specific data structure CI_HRDK_PERSON_INFO. You then apply values to the fields using enhancement SE38HRM1, function module EXIT_SAPLHRBAS09_REPORT_PR_001.

Example

You want to make the employee's address available in all reports. Create the structure CI_HRDK_PERSON_INFO and add the field Z_STRAS with the type PAD_STRAS into the structure. Activate the structure. In transaction CMOD, create a project for the customer enhancement (for example ADD_FIELDS). Using Assign enhancements you can add the extension SE38HRM1 to the project. Using Components go to function module EXIT_SAPLHRBAS09_REPORT_PR_001, and create the program ZXHDKU02, which is called up by the function module. Insert this code into the program:

LOOP AT OUTPUT_TAB.

SELECT SINGLE * FROM PA0006 WHERE PERNR = OUTPUT_TAB-PERNR

                AND BEGDA <= OUTPUT_TAB-ENDDA

                AND ENDDA >= OUTPUT_TAB-ENDDA.

    OUTPUT_TAB-Z_STRAS = PA0006-STRAS.

    MODIFY OUTPUT_TAB.

ENDLOOP.

Consequently, all entries in the output table have the employee's address. You can now use this field in all Danish-specific output reports with ALV output.You can now, for example, print, send mail, sort by address

Requirements

Standard settings

Recommendation

Activities

Further notes

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Customizing Attributes Country Key Country Name
OHA_DK_CUSTREP DK Denmark
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG OHA_DK_CUSTREP 0 HLA0008919 Subsequent Activities 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
CMOD L - Logical transport object CMOD Maintain customer enhancement for Danish employee reports with ALV output 
History
Last changed by/on SAP  19990414 
SAP Release Created in