Ansicht
Dokumentation

COM_PRODUCT_ENHNC02 - Influence External Number Assignment

COM_PRODUCT_ENHNC02 - Influence External Number Assignment

rdisp/max_wprun_time - Maximum work process run time   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

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.

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.






BAL_S_LOG - Application Log: Log header data   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 1746 Date: 20240523 Time: 164701     sap01-206 ( 31 ms )