SAP ABAP IMG Activity COM_PRODUCT_IDTYPE (Define ID Types)
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_IDTYPE Define ID Types  
Transaction Code S_A4C_68000109   (empty) 
Created on 20020806    
Customizing Attributes COM_PRODUCT_IDTYPE   Define ID Types 
Customizing Activity COM_PRODUCT_IDTYPE   Define ID Types 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name COM_PRODUCT_IDTYPE    

Use

In this activity, you can display the ID types delivered by SAP and create and maintain your own ID types. Two modes are available:

  • Generation mode

    Allows you to automatically generate ID types that are based on one single attribute of a set type not designated for multiple use nor with additional key fields.
    Note that for automatic generation to work attributes must be used with the data type character string or integer. However, if you really need to use another data type, do not generate the alternative ID type automatically but create the implementation manually.

  • Expert mode

    Allows you to freely define all parameters of the alternative IDs. Fields you wish to use can be taken from any tables. However, it is not possible to generate methods. You have to implement these yourself on the basis of the fields and tables you have selected.

You can also specify that an ID type is unique. This has the following effects:

  • When a product is assigned a value for an ID type designated as unique, no other product can be assigned the same value.
  • When a unique ID type is used to search for a product, the hit list contains only one value, provided you did not search with an asterisk (for example, ISBN = 1-4546*).

Requirements

Standard settings

Activities

Generation mode:

  1. Enter the name of the ID type, select Generate Automatically, and choose Create.
  2. Enter an ID type description, the name of the class, and the field and table of the set type, and choose Generate ID Type.

    The following are then generated automatically so that the ID type can be used in product maintenance:

    • The class with the search methods
    • A function group with function modules and screens

      If you would like to implement additional methods, you can implement these directly in the class.

      ID types generated on the basis of set types can be transported to another system. To do this, choose ID Type -> Transport from the initial screen of the Customizing activity.
      Note
      To do this however, the relevant set type must also have been transported to the target system.

Example

Business Attributes
ASAP Roadmap ID 201   Make global settings 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG COM_PRODUCT_IDTYPE 0 A4C0000261 Central Part of Product Master 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
COMC_PR_ALTID T - Individual transaction object COMC_PR_ALTID  
History
Last changed by/on SAP  20030228 
SAP Release Created in 400