SAP ABAP IMG Activity PAY_ES_SS_AFI (BAdI: Control proposed data for infotype 0799)
Hierarchy
SAP_HRCES (Software Component) Sub component SAP_HRCES of SAP_HR
   PY-ES (Application Component) Spain
     P04C (Package) HR Customizing: Spain
IMG Activity
ID PAY_ES_SS_AFI BAdI: Control proposed data for infotype 0799  
Transaction Code S_L7D_24001865   (empty) 
Created on 20081118    
Customizing Attributes PAY_ES_SS_AFI   BAdI: Control proposed data for infotype 0799 
Customizing Activity PAY_ES_SS_AFI   BAdI: Control proposed data for infotype 0799 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name HRPAYES_AFIE0    

Use

This business Add-In is used in the Payroll: Spain (PY-ES) component. With this business Add-In you can control the data that should be updated by the Affiliation message report RPCAFIE> in the .AFI Message Data (0799) infotype when the report is triggered with the Use automatisms option selected. You can also change the data of the DAM TRA, FAB, AYN and FCT segments for the .AFI message generation report.

With this BAdI you can implement your own logic for populating the infotype fields. The report calls this BAdI which provides the data that will be saved to the infotype records.

The BADI_HRPAYES_AFIE0 interface includes the following methods:

  • Update the automatism data to save to the infotype (UPD_AUTOMATISM_DATA).
  • Update the automatism data before showing the ALV (ACT_AUTOMATISM_DATA).
  • Change data for the DAM segment for the RPCAFIE0 report (UPD_DAM_DATA).
  • Change data for the TRA segment for the RPCAFIE0 report (UPD_TRA_DATA).
  • Change data for the FAB segment for the RPCAFIE0 report (UPD_FAB_DATA).
  • Change data for the AYN segment for the RPCAFIE0 report (UPD_AYN_DATA).
  • Change data for the FCT segment for the RPCAFIE0 report (UPD_FCT_DATA).

The UPD_AUTOMATISM_DATA and ACT_AUTOMATISM_DATA methods are called using the automatism option. The report calls the UPD_AUTOMATISM_DATA method when you choose the movements that you want to update and press Create records. The report calls the UPD_DAM_DATA, UPD_TRA_DATA, UPD_FAB_DATA, UPD_AYN_DATA and UPD_FCT_DATA methods during the .AFI file generation process.

Requirements

Standard settings

For more information about the standard setting (filters, single or multiple use) see the Enhancement spot element definitions tab in the BAdI Builder (SE18 transaction)

Activities

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

Example

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Customizing Attributes Country Key Country Name
PAY_ES_SS_AFI ES Spain
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20081128 
SAP Release Created in 600