SAP ABAP IMG Activity PAY_PT_SGL02 (BAdI: Unique report - Attachment 0)
Hierarchy
SAP_HRCPT (Software Component) Sub component SAP_HRCPT of SAP_HR
   PY-PT (Application Component) Portugal
     PC19 (Package) HR settlement: Portugal
IMG Activity
ID PAY_PT_SGL02 BAdI: Unique report - Attachment 0  
Transaction Code S_L4H_49001490   (empty) 
Created on 20100726    
Customizing Attributes PAY_PT_SGL02   BAdI: Unique report - Attachment 0 
Customizing Activity PAY_PT_SGL02   BAdI: Unique report - Attachment 0 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name HR_PT_UNIQUE_RP    

Use

This Business Add-In (BAdI) is used in component Payroll - Portugal (PY-PT). This BAdI allows changes and customizations in fields of the frame VIII - Economical data of the employer entity, in Attachment 0 of the program Unique Report (RPCUNRP0).

The BAdI is composed by the following methods:

  • Reads additional data for the Unique Report (GET_DATA_ANEXO_0): this method is called at the processing end of the Attachment A. With this method you fill in the following fields of the frame VIII - Economical data of the employer entity:
  • Amount financed by the employer entity
  • Amount that corresponds to the remuneration of the hours spent in training
  • Remaining financing of the employer entity
  • Financing external to the employer entity
  • From the European Social Fund (ESF)
  • From other sources of financing
  • Global charges with professional training
  • In the organization of safety and health services at work
  • In the organization/change of workspaces
  • In the acquisition of assets and equipment
  • In the training, information and query
  • Others
  • TOTAL

You can also change the whole content of attachment 0 through parameter CS_ANEXO_0.

  • Reads other absences (GET_OTHER_ABSENCES): with this method, it is possible to change the infotype from which the absences are read.
  • Reads the establishment situations (GET_DATA_SIT_ESTAB): with this method, it is possible to fill in the following fields of frame <C_5> of Attachment 0 for Azores:
    • Situation
    • Reason
    • Start
    • End

      You can associate more than one situation to the same establishment.

  • Checks whether the worker is a temporary worker (IS_TEMPORARY_WORKER): with this method you can change the way the system checks whether a worker is a temporary worker. The method is called in the end of the processing of each employee after the standard validation of temporary workers.

Requirements

Standard settings

To get more information on the standard settings (filters, individual or multiple use), check the tab Properties in BAdI Builder (transaction SE18).

Activities

See also

For more information on the BAdI implementation as part of the Enhancement Framework, see SAP Library for the NetWeaver platform in SAP Help Portal on http://help.sap.com/nw_platform. Choose a release and then select Application Help. In the SAP Library, select SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development on AS ABAP -> ABAP Customer Development -> Enhancement Framework.

Example

Business Attributes
ASAP Roadmap ID 105   Define 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
PAY_PT_SGL02 PT Portugal
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20100726 
SAP Release Created in