SAP ABAP IMG Activity HRPAYAT_I527_SEVPY (BAdI: Calculate Voluntary Severance Pay and Rationalization Payments)
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_I527_SEVPY BAdI: Calculate Voluntary Severance Pay and Rationalization Payments  
Transaction Code S_L7D_24002452   (empty) 
Created on 20100427    
Customizing Attributes HRPAYAT_I527_SEVPY   BAdI: Calculate Voluntary Severance Pay and Rationalization Payments 
Customizing Activity HRPAYAT_I527_SEVPY   BAdI: Calculate Voluntary Severance Pay and Rationalization Payments 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name HRPAYAT_I527_SEVPY    

Use

You can use this Business Add-In (BAdI) to override the automatic calculation of the voluntary severance pay and rationalization payment.

As with statutory severance pay, the calculation involves determining an average monthly salary and a factor that specifies how many monthly salaries are to be paid. In contrast to when the statutory severance pay is calculated, the BAdI can be applied after the voluntary severance pay and rationalization payment have been calculated. Using the method GET_MONTHLY_SALARIES for this BAdI, you can change the factor for the number of monthly salaries and the final amount.

The BAdI is called during simulation runs and actual payroll runs.

Requirements

To activate the automatic calculation, you have selected at least the Automatic Voluntary Severance Pay Calculation or Auto. Special Payment Calc. Based on Ration. Pay checkbox in the Payment Upon Leaving A (0527) infotype.

If you want to calculate the values in the same way as the statutory severance pay, you must have assigned average wage types to the cumulation wage types FAB (for voluntary severance pay) and ZNSP (for rationalization payments). If no Customizing settings have been made for these cumulation wage types, the result of the automatic calculation is always zero. In this case, however, you can also overwrite the value in the BAdI. For more information about assigning the average wage types, see Customizing for Personnel Administration under Payroll Data -> Statutory Payments Upon Leaving (Austria) -> Provide Average Wage Types for Payments on Leaving.

Standard settings

This BAdI does not contain any sample or default implementations.

Activities

After calling up the IMG activity, a dialog box appears, in which you can enter a name for the implementation.

If you have already made other implementations for this BAdI, another dialog box appears, in which the existing implementations are displayed. In this case, choose Create, and proceed as follows:

  1. In the dialog box, enter a name for the BAdI implementation in the Implementation field, and choose Create.

    The screen for creating BAdI implementations is now displayed.

  2. Enter a short text for the implementation in the Short text for implementation field.
  3. From the tab index, choose Interface.

    The Name of implemented class field is already filled on the tab page, as a class name was automatically assigned to the implementation when you named it.

  4. Save your entries, and assign the implementation to a development class.
  5. Place the cursor on the method, and double-click to enter method processing.
  6. Enter the code for the implementation between the statements method <Interface name> ~ <Name of method> and endmethod.
  7. Save and implement your code. Return to the Edit Implementation screen.
  8. Save the entries on the Edit Implementation screen.

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

  9. Choose Activate

    The code you stored in the method will be run when the application program is executed.

See also

BAdI method documentation:

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
HRPAYAT_I527_SEVPY AT Austria
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG HRPAYAT_I527_SEVPY 0 HLA0100258 Payroll Data 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20100429 
SAP Release Created in