SAP ABAP IMG Activity OHANZTRM007 (BAdI: Calculate Gross Salary to Pay Out Accrued Leave)
Hierarchy
SAP_HRCNZ (Software Component) Sub component SAP_HRCNZ of SAP_HR
   PY-NZ (Application Component) New Zealand
     P43C (Package) HR customizing: New Zealand
IMG Activity
ID OHANZTRM007 BAdI: Calculate Gross Salary to Pay Out Accrued Leave  
Transaction Code S_AC0_52000048   (empty) 
Created on 20040827    
Customizing Attributes OHANZTRM007   BAdI: Calculate Gross Salary to Pay Out Accrued Leave 
Customizing Activity OHANZTRM007   BAdI: Calculate Gross Salary to Pay Out Accrued Leave 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name HR_NZ_PAY_TERM_GROSS    

Title

Add-In: Accrual Leave Payment during termination

Use

This Business Add-In is used in the New Zealand Termination Leave Payment component.

The GET_TERM_GROSS method of this BAdI enables you to modify the value of the gross salary that is used to calculate the accrued leave paymant amount on termination. This BAdI is called by operation NZLVC.

Prerequisites

You should only carry out this step if both of the following points apply:

  • The SAP standard processes do not suit your needs
  • You are a competent ABAP/4 programmer

Default

By default, the system reads Gross $ for year to date wage type (/C07) to calculate the accrued leave payment amount on termination.

Activities

After calling up the IMG activity, a dialog box appears, in which the existing implementations are displayed. Choose Change, and proceed as follows:

  1. From the tab index, choose Interface.
  2. Save your entries, and assign the implementation to a development class.
  3. Place the cursor on the method, and double-click to enter method processing.
  4. Enter the coding for the implementation between the statements method <Interface name> ~ <Name of method> and endmethod.
  5. Save and implement your coding. Return to the Edit Implementation screen.
  6. Save the entries on the Edit Implementation screen.

    Note: You can also change an implementation, and then activate it at a later time. In such a case, end the processing stage at this point.

  7. Choose Activate.
  8. The coding you stored in the method will be run when the application program is executed.

Example

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 1   Critical 
Country-Dependency I   Valid for countries specified 
Customizing Attributes Country Key Country Name
OHANZTRM007 NZ New Zealand
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20040827 
SAP Release Created in