Ansicht
Dokumentation

/IAM/BADI_DOCUMENT_C - BAdI: Access to Business Object 'Document'

/IAM/BADI_DOCUMENT_C - BAdI: Access to Business Object 'Document'

PERFORM Short Reference   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
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 document.

An abstract definition of the document (component IAMDOC) was defined using the genIL-Model editor (transaction GENIL_MODEL_EDITOR). This decouples the Issue and Activity Engine component from a specific data model.

The system accesses the business object layer (BOL) by specifying the object category, for example, DOC_ERP. The BOL calls the genIL component(IAMDOC), which in turn calls the category-dependent BAdI implementation. Depending on the object category (for example, DOC_ERP), the system accesses a concrete data model of the document. 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 document (object type DOC) in your client using the Customizing activity Define Object Categories .

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

  • DOC_ERP: Document in ERP
  • Implementation: /IAM/ACCESS_DOCUMENT_ERP

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

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






Fill RESBD Structure from EBP Component Structure   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 2582 Date: 20240425 Time: 181335     sap01-206 ( 45 ms )