Ansicht
Dokumentation
EHFND_PMC_CCIDEFP - BAdI: Assignment of Default Purposes
ABAP Short Reference General Material DataThis documentation is copyright by SAP AG.
This Business Add-In (BAdI) is used in the Product Compliance component. You can use this BAdI to define the default purposes that are to be assigned to an unpackaged product or raw material.
This BAdI is called within a BOPF determination in the following cases:
- during the creation of an unpackaged product or raw material
- during the addition or change of a market or application that is assigned to an unpackaged product. When a market or application is deleted or removed, the BAdI is not called.
- when changing the roles of an existing unpackaged product or raw material
The BAdI definition is active in the standard system. It contains the following method:
- Define Default Purposes (DEFINE_DEFAULT_PURPOSES):
This method defines the active purposes that are to be assigned to the unpackaged product or raw material.
- Import Parameters
IT_CCI: CCIsfor which default purposes shall be defined
IT_CCI_KEY: Keys of created CCIs
IT_APPLICATION: Applications of CCIs
IT_MARKET_REQUEST: Market Information of CCIs
IT_ROLE_CHANGE: Role changes of CCIs
- Changing Parameters
CT_PURPOSE_DEFAULT: Default purposes that shall be assigned to CCIs
The Assign Default Purpose (BADI_EHFND_CCI_DEFAULT_PURPOSE) BAdI implementation is delivered with the standard system.
When you implement this BAdI, add new implementations to the Assign Default Purposes (BADI_EHFND_CCI_DEFAULT_PURPOSE) BAdI.
The BAdI is delivered with an example implementation in the Class for BAdI Implementation BADI_EHFND_CCI_DEFAULT_PURPOSE (CL_BADI_EHFND_CCI_DFLT_PURPOSE) class that finds all active purposes that have names using the following patterns:
- For unpackaged products: "*product*default*", for example, "Product DefaultCompliance Profile"
- For raw materials: "*raw*material*default*"
BAL_S_LOG - Application Log: Log header data BAL Application Log Documentation
This documentation is copyright by SAP AG.
Length: 2559 Date: 20240523 Time: 161326 sap01-206 ( 31 ms )