SAP ABAP IMG Activity PRODUCT_GTIN_CONVERT (Define Conversion Rules for GTIN)
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 PRODUCT_GTIN_CONVERT Define Conversion Rules for GTIN  
Transaction Code S_AEC_66000568   (empty) 
Created on 20010326    
Customizing Attributes PRODUCT_GTIN_CONVERT   Define Conversion Rules for GTIN 
Customizing Activity PRODUCT_GTIN_CONVERT   Define Conversion Rules for GTIN 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name PRODUCT_GTIN_CONVERT    

This enhancement can be used to define conversion rules if you want to use a different input/output format (external format) to the database format (internal format) of the GTIN (Global Trade Item Number).

This enhancement has two methods:

  • GTIN_CONVERT_TO_IO_FORMAT is used to convert the internal format of the GTIN to the external format.
  • GTIN_CONVERT_TO_DB_FORMAT is used to convert the external format of the GTIN to the internal format.

When converting the GTIN to the internal format, you must make sure that the GTIN is 14 digits long and contains only digits.

Example

This enhancement can be implemented in such a way that:

  • No leading zeros need to be entered when a GTIN is entered
  • GTINs with 11 or 12 relevant digits are always output as a 13-digit number

Requirements

Standard settings

Recommendation

Activities

Further notes

This enhancement contains example code which does the following:

  • A GTIN entered is automatically padded with leading zeros
  • A GTIN is output with 13 digits if the first digit is a zero

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 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG PRODUCT_GTIN_CONVERT 0 A4C0000261 Central Part of Product Master 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20030228 
SAP Release Created in 30A