SAP ABAP IMG Activity PYIN_ESS_LE_BS_300 (BAdI : Determine Approver)
Hierarchy
EA-HRCIN (Software Component) Sub component EA-HRCIN of EA-HR
   PY-IN-PS (Application Component) INDIA PUBLIC SECTOR
     PAOC_PAD_IN_PS (Package) HR IN: India Public Sector
IMG Activity
ID PYIN_ESS_LE_BS_300 BAdI : Determine Approver  
Transaction Code S_P7H_77000142   (empty) 
Created on 20070521    
Customizing Attributes PYIN_ESS_LE_BS_300   BAdI : Determine Approver 
Customizing Activity PYIN_ESS_LE_BS_300   BAdI : Determine Approver 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name HRPBSIN_GET_LE_APPRV    

Use

This Business Add-In (Add-In) is used in the Leave Encashment component.

This Add-In enables you to define customer specific logic to determine the approver to whom the system should send the leave encashment requests created through Employee Self-Service (ESS) for approval for a certain set of employees.

Requirements

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

Standard settings

In the standard system, the Business Add-In is not activated.

Activities

  1. After calling up the IMG activity, a dialog box appears, in which the existing implementations are displayed. Choose Change, and proceed as follows:
  2. From the tab index, choose Interface.
  3. Save your entries, and assign the implementation to a development class.
  4. Place the cursor on the method, and double-click to enter method processing.
  5. Enter the coding for the implementation between the statements method <Interface name> ~ <Name of method> and endmethod.
  6. Save and implement your coding. Return to the Edit Implementation screen.
  7. 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.

  1. Choose Activate.
  2. 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 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Customizing Attributes Country Key Country Name
PYIN_ESS_LE_BS_300 IN India
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20070521 
SAP Release Created in 600