SAP ABAP IMG Activity OHIJ0186 (BAdI : Maintain Address Change Form Data File Editing Module)
Hierarchy
SAP_HRCJP (Software Component) Sub component SAP_HRCJP of SAP_HR
   PY-JP (Application Component) Japan
     P22C (Package) HR customizing: Japan
IMG Activity
ID OHIJ0186 BAdI : Maintain Address Change Form Data File Editing Module  
Transaction Code S_AC0_52000090   (empty) 
Created on 20040917    
Customizing Attributes OHIJ0186   BAdI : Maintain Address Change Form Data File Editing Module 
Customizing Activity OHIJ0186   BAdI : Maintain Address Change Form Data File Editing Module 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name OHIJ0186    

Business Add-In (BAdI) Edit data records of Addr. chg form data file for SI office (PADJP_RPLSHAJ0) is called from the report Address Change Form Data File for SI Office (RPLSHAJ0). With this BAdI, you can set data to the following item which is not set by the report.

  • Remarks Column

It is technically possible to edit data not only in the item described above, but in all items in the data records. If you need to change data set by the report, you have to pay special caution not to create inappropriate application record.

This BAdI contains the method EDIT_RECORDS which is used to edit data records.

Example

SAP provides a sample code of this method (IF_EX_PADJP_RPLSHAJ0~EDIT_RECORDS), which will set data to the following item.

  • Remarks column
    For an employee without either of HI number, EP seiri number or pension number in Infotype 0140 (SI Basic Data JP) / Subtype 1 (Health ins.) or 2 (EE's pens.) ), the text "Number Not Notified" is set to Remarks Column.
    Example :
    An employee does not have HI number and pension number and Health Insurance of his/her company is government-managed;
    HI Number Not Notified Pension Number Not Notified

Requirements

You have set up necessary customizing settings to submit Address change
form to Social Insurance Office with data file.

Standard settings

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.

Further notes

For more information, refer to the BAdI interface and method documentation:

Interface: IF_EX_PADJP_RPLSHAJ0

Method: EDIT_RECORDS

For more information on using Business Add-Ins, refer to the SAP Library under Basis Components ->ABAP Workbench (BC-DWB) ->Changing the SAP Standard (BC)->Business Add-Ins.

Business Attributes
ASAP Roadmap ID 203   Establish Master Data 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Customizing Attributes Country Key Country Name
OHIJ0186 JP Japan
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG OHIJ0186 0 HLA0100298 O HLA0100528  
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20050302 
SAP Release Created in 600