SAP ABAP IMG Activity COM_PRODUCT_ENHNC01 (Influence Internal 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_ENHNC01 Influence Internal Number Assignment  
Transaction Code S_A2C_40000030   (empty) 
Created on 20000809    
Customizing Attributes COM_PRODUCT_ENHNC01   Influence Internal Number Assignment 
Customizing Activity COM_PRODUCT_ENHNC01   Influence Internal Number Assignment 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name PRODUCT_ID_INPUT_INT    

This enhancement can be used to assign a number internally according to customer-defined rules.

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

Example

This enhancement allows:

  • A free number to be determined from any internal number range interval
  • A number to be extended, for example by adding the product type as a suffix

Specifics in CRM

Example code has been implemented for this enhancement in the class CL_EXM_IM_PRODUCT_ID_INPUT_INT.

This derives a material number by internal number assignment in 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. The 5th to 8th position of the import parameter IV_CATEGORY_ID is taken as the material type.
  3. This material type is used to derive the next free number in the CRM default destination.

    The example code uses the BAPI BAPI_MATERIAL_GETINTNUMBER, which was created in Release 4.0. If you have a Release 3.1 OLTP system, an RFC function module must be created in the customer namespace to be used instead of the BAPI to determine the next free number.

    Note
    The field NUMK1 in the material type table T134 contains the number range interval for internal number assignment. The function module NUMBER_GET_NEXT can be used to derive the next free number from this interval. Only the number range interval and the number range object (MATERIALNR) need to be passed to the function module.

  4. The logical system for the CRM default destination is determined.
  5. On the basis of this destination and the import parameter IV_PRODUCT_TYPE, the 18-character R/3 material number is converted to a 40-character product ID.

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