Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

/IAM/BADI_MATERIAL_C - BAdI: Access to Business Object 'Material'

/IAM/BADI_MATERIAL_C - BAdI: Access to Business Object 'Material'

CL_GUI_FRONTEND_SERVICES - Frontend Services   General Data in Customer Master  
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 a material.

An abstract definition of the material (component IAMMAT) 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, MAT_ERP. The BOL calls the genIL component (IAMMAT), which in turn calls the category-dependent BAdI implementation. Depending on the object category (for example, MAT_ERP), the system accesses a concrete data model of the material. 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.

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

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

  • MAT_ERP: Material Master of ERP
  • Implementation: /IAM/ACCESS_ERP_MATERIAL
  • MAT_NW: Product - Material
  • Implementation: /IAM/ACCESS_NW_MATERIAL

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

The delivered BAdI implementation also provides the capability to search for a material in the configured system via SAP HANA Search.

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 material (MAT) under Object Type to allow access to the material from the application. If there is none, create an entry and proceed as follows:
  • Assign the new object category to the relevant object type (MAT).

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

General Data in Customer Master   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 2937 Date: 20211202 Time: 005538     sap01-206 ( 48 ms )