SAP ABAP IMG Activity SQ00PROT_05 (BAdi: Define User Logging)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-QUE (Application Component) SAP Query
     SQUE (Package) Application Development R/3 SAP Query
IMG Activity
ID SQ00PROT_05 BAdi: Define User Logging  
Transaction Code S_BJA_09000018  
Created on 20000118    
Customizing Attributes SQ00PROT_05   BAdi: Define User Logging 
Customizing Activity SQ00PROT_05   BAdi: Define User Logging 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name AQ_QUERY_PROT    

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

Requirements

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.

Activities

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.

  2. In the field Short text on implementation in this screen, enter a short text for the implementation.
  3. 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.

  4. Save your entries and make the assignment to a development class.
  5. Position the cursor on the method AQ_PROT and branch to method editing with a double-click.
  6. Between the commands method IF_EX_AQ_QUERY_PROT~QUERY_PROT and endmethod, enter the code you want for implementation.
  7. Save and activate your code. Navigate back to the screen Change Implementation.
  8. 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.

  9. Choose activate.

    The code that you saved in the method will now run when you choose execute.

Further notes

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).

Business Attributes
ASAP Roadmap ID 153   Design enhancements 
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  20000118 
SAP Release Created in 46C