Ansicht
Dokumentation

SQ00PROT_05 - BAdi: Define User Logging

SQ00PROT_05 - BAdi: Define User Logging

TXBHW - Original Tax Base Amount in Local Currency   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

The Business AddIn is there for implementing a customer-defined log.

Implementing this BAdI would only help if the query logging in the IMG activity "Determine InfoSets for Logging" was activated. That is, if you have defined which query areas and InfoSets are to be logged.

After starting the Customizing activity, you will firstly see a dialog box where you can enter a name for the implementation.

If there are already implementations for this BAdI, a dialog box will appear, displaying the existing implentations. In this box, choose Create and proceed as described in 1.

  1. In the field Implementation in the box, enter a name for the implementation of the BAdI and choose Create.
This will bring you to the initial screen for implementing BAdIs.
  1. In the field Short text on implementation in this screen, enter a short text for the implementation.
  2. Then choose the tabstrip Interface.
The field Name of implemented class is automatically filled in this tabstrip, as a class name is derived from the name of your implementation.
  1. Save your entries and make the assignment to a development class.
  2. Position the cursor on the method AQ_PROT and branch to method editing with a double-click.
  3. Between the commands method IF_EX_AQ_QUERY_PROT~QUERY_PROT and endmethod, enter the code you want for implementation.
  4. Save and activate your code. Navigate back to the screen Change Implementation.
  5. Choose 'save' in the screen Change Implementation.
Please note: It is also possible to first create an implementation for a BAdI, and activate it later. In this case, complete the editing now.
  1. Choose activate.
The code that you saved in the method will now run when you choose execute.

You will find more information on implementing BAdIs in the SAP Library under BC - Changes to the SAP Standard -> Business AddIns (Path: SAP Library -> Basis -> ABAP Workbench -> Changes to the SAP Standard).






Fill RESBD Structure from EBP Component Structure   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2553 Date: 20240523 Time: 180924     sap01-206 ( 40 ms )