SAP ABAP IMG Activity HRPAYAT_LZ_CHG_SRTZA (BAdI: Change Status of Payslips)
Hierarchy
SAP_HRCAT (Software Component) Sub component SAP_HRCAT of SAP_HR
   PY-AT (Application Component) Austria
     P03C (Package) HR Customizing: Austria
IMG Activity
ID HRPAYAT_LZ_CHG_SRTZA BAdI: Change Status of Payslips  
Transaction Code S_L4H_49002972   (empty) 
Created on 20121005    
Customizing Attributes HRPAYAT_LZ_CHG_SRTZA   BAdI: Change Status of Payslips 
Customizing Activity HRPAYAT_LZ_CHG_SRTZA   Change Status of Payslips 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name HRPAYAT_LZ_CHG_SRTZA    

Use

You use this Business Add-In (BAdI) in the Payroll for Austria (PY-AT) component. You can use this BAdI to change the status of a payslip once it has been created without errors. Depending on the action you require, you can use the following methods:

  • With the BAdI method CHANGE_LZ_STATUS, you specify that the payslip is not sent to ELDA.

    The following status changes are possible:

    • 012: (Notification as Paper Form): The payslip is only printed and not sent to ELDA. The payslip is still displayed when you choose the Display Payslips Created menu option.
    • 001 (Locked for Transfer): The payslip is neither printed nor sent to ELDA. The payslip is no longer displayed when you choose the Display Payslips Created menu option. In the BAdI method CHANGE_LZ_STATUS, you can access information from various infotypes and payslip tables to set the relevant status.

      If you do not implement the method, the payslip status remains 002 (Release for Transfer) by default.

  • With the BAdI method SET_LZ_CONFIRMED, you change the status of a payslip generated without errors directly to 011 (Electronic Notification Accepted).

    If you do not implement the method, the payslip status is set to 007 (Electronic File Created) by default.

Requirements

Standard settings

Activities

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency E   Invalid for countries specified 
Customizing Attributes Country Key Country Name
HRPAYAT_LZ_CHG_SRTZA AT Austria
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG HRPAYAT_LZ_CHG_SRTZA 0 HLA0001595 Payroll for Administrations and Institutions 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20121011 
SAP Release Created in