SAP ABAP IMG Activity FRE_MCH_BADI_002 (BAdI: Modify Product ID (e.g. Merch. Categ. ID, Hierarchy-Node ID))
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   CA (Application Component) Cross-Application Components
     WFRE_PI (Package) Connectivity with F&R
IMG Activity
ID FRE_MCH_BADI_002 BAdI: Modify Product ID (e.g. Merch. Categ. ID, Hierarchy-Node ID)  
Transaction Code S_XC0_18000024   (empty) 
Created on 20050808    
Customizing Attributes FRE_BADI   Enhancements Using Business Add-Ins 
Customizing Activity FRE_MCH_BADI_002   BAdI: Modify Merchandise Category ID and MC-Hierarchy-Node ID 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name FRE_MCH_ID_MOD_BADI    

Example

Requirements

Different Objects in SAP R/3 (Articles, Merchandise Categories, Hierarchy Nodes) transmitted to SAP F&R will be created in SAP F&R as one Object (Product). These different Objects in SAP R/3 can have the same ID but will have to be unambiguous in SAP F&R. For this reason Customer can create a Modification free Implementation of this BAdI to assure unambiguousness of the different Objects.

This BAdI is called wherever SAP F&R Product and/or Product Hierarchy Interface is called (except for regular Articles!) and Merchandise Categories will be transmitted as an Attribute (Master Data Interface, Source of Supply Interface, Hierarchy Interface, Order Interface).

Articles will allways be transmitted as they are - there will be no modification of their ID!

Standard settings

Recommendation

Activities

Further notes

Even though Merchandise Categories will be created in SAP F&R as Product with a maximum length of 40 Characters it is not allowed to change the ID of a Merchandise Category so that it has more than nine Characters, because Merchandise Categories are also used in SAP F&R and SAP R/3 as Attribute (Field MATKL) with a maximun length of nine Characters.

This BAdI is allways called from Function Module FRE_PROD_BADI_CALL. In this Function Module after the BAdI call Merchandise Categories will be checked for their maximum length. If a Merchandise Category's ID exceeds its maximum length Exception 'CONVERSION_ERROR' will be thrown.

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
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  20050916 
SAP Release Created in 600