Ansicht
Dokumentation

TB_BADI_MASTERDATA - BAdI: Master data

TB_BADI_MASTERDATA - BAdI: Master data

BAL_S_LOG - Application Log: Log header data   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used by the Loans Management (FS CML) component for master data related checks and changes. The methods relevant for data storage before release are:

  • RELCHG_SET_DATA_STRUC: Set data for comparison during release (structure)
Can be used to provide current data of a structure assigned to a certain contract.
  • RELCHG_SET_DATA_TAB: Set data for comparison during release (table)
Can be used to provide current records of a table assigned to a certain contract.
  • RELCHG_SET_DATA_STRUC: Set technical fields (not relevant for check of changes)
Can be used to define the technical fields that shall not be used to check whether data changed or not (example: date of latest change).

You can use method ALTERNATIVE_HEADER_CUST to modify the use of an alternative contract header for master data and business transactions, for example:

  • To use your own subscreen.
  • To partly deactivate the usage of the alternative header for master data. For more information, see SAP Note 2622569.
  • To fully or partly deactivate the usage of the alternative header for business transactions. For more information, see SAP Note 2620456.

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:

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.

Enter a short text for the implementation in the Short text for implementation field.

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.

Save your entries, and assign the implementation to a development class.

Place the cursor on the method, and double-click to enter method processing.

Enter the code for the implementation between the statements method <Interface name> ~ and endmethod.

Save and implement your code. Return to the Edit Implementation screen.

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.

Choose Activate

The code you stored in the method will be run when the application program is executed.






PERFORM Short Reference   General Material Data  
This documentation is copyright by SAP AG.

Length: 3164 Date: 20240523 Time: 172030     sap01-206 ( 50 ms )