SAP ABAP IMG Activity PYIN_ESS_LOAN_AS_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_LOAN (Package) HR IN:Company Loans
IMG Activity
ID PYIN_ESS_LOAN_AS_300 BAdI : Determine Approver  
Transaction Code S_P7H_77000120   (empty) 
Created on 20070220    
Customizing Attributes PYIN_ESS_LOAN_AS_300   BAdI : Determine Approver 
Customizing Activity PYIN_ESS_LOAN_AS_300   BAdI : Determine Approver 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name HRPBSINGET_APPROVER    

Use

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

This Add-In enables to define customer specific logic to determine the approver of a request. After the employee submits the request through Employee Self-Service (ESS), the system calls this BAdI. This BAdI returns the approver to whom the system should send the request for approval.

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 end method.
  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 A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20070522 
SAP Release Created in 600