SAP ABAP IMG Activity SIMG GM_MASTERBAPI (BAdI: Grant Master BAPIs)
Hierarchy
EA-PS (Software Component) SAP Enterprise Extension Public Services
   PSM-GM-GTE (Application Component) Grantee Management
     GMBASIS_E (Package) Grants management (basis)
IMG Activity
ID SIMG GM_MASTERBAPI BAdI: Grant Master BAPIs  
Transaction Code S_ALN_01002064   (empty) 
Created on 20030327    
Customizing Attributes SIMG GM_MASTERBAPI   BAdI: Grant Master BAPIs 
Customizing Activity SIMG GM_MASTERBAPI   BAdI: Grant Master BAPIs 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BAPI_0035    

Note: The settings affected here are exclusively reserved for the use of Grants Management

Title

Business Add-In: Customer Enhancement for Grant Master BAPIs

Use

With this Business Add-In (BAdI), you can define customer enhancements related to the business object Grant (BUS0035).

It can only be implemented for Grant Master BAPIs.

The methods of this BAdI are called during the processing of the business object methods.

Standard settings

SAP does not deliver any implementations of this BAdI. Therefore in the standard release the BAdI is not active.

Activities

If you want to handle customer-specific fields for entry documents, you must first define the corresponding customer include (CI_GMGR).

To implement this BAdI, apply the following steps:

  1. After you call up the IMG activity, a dialog box appears, where you can enter a name for the implementation.
  2. 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:
  3. 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.

  4. Enter a short text for the implementation in the Short text for implementation field.
  5. 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.

  6. Save your entries, and assign the implementation to a development class.
  7. Place the cursor on the method, and double-click to enter method processing.
  8. Enter the code for the implementation between the statements method <Interface name> ~ <Name of method> and endmethod.
  9. Save and implement your code. Return to the Edit Implementation screen.
  10. 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.

  11. Choose Activate

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

Example

Activate your BAdI implementation.

Requirements

Recommendation

Only use character-like fields in the structure.

Further notes

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
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  20030327 
SAP Release Created in 200