Ansicht
Dokumentation

PY_AE_PBS_BADI2 - BAdI: Enhancement on Allowance Eligibility Workbench

PY_AE_PBS_BADI2 - BAdI: Enhancement on Allowance Eligibility Workbench

ABAP Short Reference   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Payroll United Arab Emirates Public Sector(PY-AE-PS) component.

You can use this BAdI to enhance the functions of the Allowance Eligibility Workbench (Single Employee) (transaction code HRPBSAEEGL) and the Allowance Entitlement Report (Multiple Employees) (transaction code HRAEBERME).

You can also access these tools on the SAP Easy Accessscreen, choosing Human Resources -> Payroll -> Asia/Pacific -> United Arab Emirates -> Public Sector -> Tools.

The BAdI is called when you assign the benefits package to an employee using the benefits entitlement workbench.

The following BAdI methods are available:

  • CHECK_ELIGIBILITY
You use this method to extend the eligibility criteria. You can define additional checking criteria for benefits entitlement. This method imports data from the following infotypes:
  • Organizational Assignment(0001)

  • Personal Data(0002)

  • Basic Pay(0008)

You can use the data above as parameters to set up additional criteria that suit the requirements in your company.
  • CHECK_INPUT
You can use this method to add variety to some limitations. This method is called when the user enters information for a benefit in the Edit area. For example, you set a maximum amount for a certain benefits in the Customizing. You use this method to enable the system to check against this maximum amount for married employees; while for single or divorced employees to check against a lower upper limit.
  • BEFORE_UPDATE
This method is called when the user presses the Update push button on the screen of the workbench. You can use this method to enable the system to perform additional checks. For example, entitlements of two benefits are dependent with each other. If the user only includes one benefit into the package, the system issues a message to remind that the other benefits must also be included.

For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder(transaction SE18).

Information about the implementation of BAdIs in the context of the enhancement concept is available at http://help.sap.com/saphelp_nw04s/helpdata/en/5e/ebb541c5b63031e10000000a155106/frameset.htm

We provide an example class CL_EXM_IM_PBSAE_ELIGIBILITY, which includes several sample codes. You can adjust these sample codes to meet the specific requirements in your company.






CPI1466 during Backup   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 3469 Date: 20240523 Time: 203504     sap01-206 ( 67 ms )