SAP ABAP IMG Activity COM_PRODUCT_ENHNC02 (Influence External Number Assignment)
Hierarchy
SAP_ABA (Software Component) Cross-Application Component
   AP-MD-PRO (Application Component) Central Part of Product Master
     COM_PRODUCT_CUST (Package) Product Master Customizing - General
IMG Activity
ID COM_PRODUCT_ENHNC02 Influence External Number Assignment  
Transaction Code S_A2C_40000031   (empty) 
Created on 20000809    
Customizing Attributes COM_PRODUCT_ENHNC02   Influence External Number Assignment 
Customizing Activity COM_PRODUCT_ENHNC02   Influence External Number Assignment 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name PRODUCT_ID_INPUT_EXT    

This enhancement is used to change a product ID that was entered when the product was created, or to implement customer-defined checks on this ID.

If this enhancement has been implemented actively, it is called each time a product ID is entered when a product is being created.

Example

This enhancement allows you to:

  • Add a check digit to the product ID
  • Check that the product ID does not already exist in an external SAP System or MDC System

Specifics in CRM

Example code has been implemented for this enhancement.

This checks that the product ID specified does not yet exist in the SAP System derived from the CRM default destination specified in the Middleware settings. This CRM default destination must be maintained as an R/3 connection using transaction SM59.

Technically the process is as follows:

  1. The system reads the CRM default destination.
  2. From this destination, it determines the relevant logical system.
  3. On the basis of this logical system and the input parameter for the product type, the product ID is converted to the corresponding material number of the SAP System.
  4. The system checks whether this material number has already been assigned in the SAP System. If this is the case, an error message to this effect is issued.

The BAPI BAPI_MATERIAL_EXISTENCECHECK is used for the existence check. For SAP R/3 Releases prior to 4.0, the BAPI BAPI_MATERIAL_GET_DETAIL must be used instead.

Requirements

Standard settings

Recommendation

Activities

Further notes

Business Attributes
ASAP Roadmap ID 153   Design enhancements 
Mandatory / Optional 3   Nonrequired 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  20030228 
SAP Release Created in 20C