Ansicht
Dokumentation

/IAM/BADI_GENERALOBJ - BAdI: Access to Business Object 'GeneralObject'

/IAM/BADI_GENERALOBJ - BAdI: Access to Business Object 'GeneralObject'

TXBHW - Original Tax Base Amount in Local Currency   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Issue and Activity Engine component (CA-IAM-ENG). You use this BAdI to implement the access to the object categories External Reference Object (GOJ_NW) and Storage Location in ERP (STL_ERP).

An abstract definition of the External Reference Object component (IAMGOJ) was defined using the genIL-Model Editor (transaction GENIL_MODEL_EDITOR). This decouples the Issue and Activity Enginecomponent from a specific data model.

The system accesses the business object layer (BOL) by specifying the object category, for example, GOJ_NW. The BOL calls the genIL component (IAMGOJ), which in turn calls the category-dependent BAdI implementation. Depending on the object category (for example, GOJ_NW), the system accesses a concrete data model of the External Reference Object. This data model may be located in another source system, such as an ERP or CRM system, or it may be located in the same system.

Unlike in other object categories, there is no persistent data behind the External Reference Object, GOJ_NW. That is because it is designed to be used in a flexible way. Therefore, the only thing the implementation does is to verify the External Reference Object ID (for example, by excluding special characters) and the existence of the related logical system.

When you create your own implementation, you must have created a new object category (key) for the External Reference Object (object type GOJ) in your client using the Customizing activity Define Object Categories.

SAP delivers the following categories along with the corresponding BAdI implementation:

  • GOJ_NW: External Reference Object
  • STL_ERP: Storage Location in ERP
  • Implementation: /IAM/ACCESS_ERP_GENERALOBJECT

For more information about the remote systems, see the implementation documentation on the Enh. Implementation Element tab using the Display Implementation icon.

To create your own implementation, proceed as follows:

  1. Assign the filter values Object Category and Client.
  2. Activate the BAdI implementation.
  3. In the Customizing activity Define Object Access, check if there is an entry for the External Reference Object (GOJ) and the Storage Location (STL) under Object Type to allow access to the External Reference Object from the application. If there is none, create an entry and proceed as follows:
  • Assign the new object category to the relevant object type.

For information about the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

For more information about the BAdI methods, see the interface documentation.






PERFORM Short Reference   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 4156 Date: 20240424 Time: 013206     sap01-206 ( 106 ms )