SAP ABAP IMG Activity OHAIDDL038 (BAdI: Reporting for Company Loans)
Hierarchy
SAP_HRCID (Software Component) Sub component SAP_HRCID of SAP_HR
   PY-ID (Application Component) Indonesia
     P34C (Package) HR customizing: Indonesia
IMG Activity
ID OHAIDDL038 BAdI: Reporting for Company Loans  
Transaction Code S_L6B_69000431   (empty) 
Created on 20030116    
Customizing Attributes OHAIDDL038   BAdI: Reporting for Company Loans 
Customizing Activity PAY_00_LO_001   BAdI: Reporting for Company Loans 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name HRPY_LOAN_REPORTING    

Use

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

You can use this BAdI to design part of the header data for the account statement for company loans (program RPCLOF00). The first three headers of the account statement display the title, loan type, company code, employee's personnel number, and the creation date and cannot be changed. The area that can be changed lies between the line that finishes the first three headers and the actual account statement, i.e. the table with the postings.

Requirements

Standard settings

The BAdI is active in the standard system. If you do not create your own implementation, the default coding will be executed. In the standard system, the employee's address, loan number, loan conditions, and the currency of the account statement are displayed in the area mentioned.

The BAdI is filter-dependent. It uses the country grouping as the filter value. Therefore, if necessary, you must create your own implementation for each country required.

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.

Example

You also want the following rows to be displayed in the account statement header:

Your contact person for questions about loans is: <Name of administrator, depending on the organizational unit the employee is assigned to>

To display the default coding, choose Goto -> Default Coding -> Display.

See also

Methoden

Account Statement Header

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
OHAIDDL038 ID Indonesia
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20030116 
SAP Release Created in 470