SAP ABAP Data Element COMT_ATTR_DATATYPE (Data Type of Attribute)
Hierarchy
SAP_ABA (Software Component) Cross-Application Component
   AP-MD-PRO (Application Component) Central Part of Product Master
     COM_SETTYPE_ATTRIBUTE (Package) Generating Set Types and Attributes
Basic Data
Data Element COMT_ATTR_DATATYPE
Short Description Data Type of Attribute  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type ATTR_DATATYPE    
Data Type CHAR   Character String 
Length 4    
Decimal Places 0    
Output Length 4    
Value Table COMC_ATTRTYPES    
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 AttribType 
Medium 15 Attribute Type 
Long 20 Attribute Type 
Heading 30 Attribute Type 
Documentation

Definition

Defines the type of attribute.

Use

You have the following options:

  • Checkbox

    Checkbox fields are stored as fields of the type ANKR. The system sets the length of the field to 1 and defines the following values automatically:

    • <Space>    No
    • X        Yes

      These values must not be changed.

  • Amount

    Amount fields are stored as fields of the type CURR. When you create an amount field, a currency field is generated for it automatically. No single values or intervals can be defined for this type of attribute.

  • Date

    Date fields are stored as fields of the type DATS. The length of the field is set to 8 automatically. No single values or intervals can be defined for this type of attribute.

  • Decimal number

    Decimal number fields are stored as fields of the type DEC.

    Only whole positive numbers are allowed as fixed values and interval limits for fixed values for this data type.

  • Integer

    Integer fields are stored as fields of the type NUMC.

  • Quantity

    Quantity fields are stored as fields of the type QUAN. When you create a quantity field, a unit of measure field is generated for it automatically. No single values or intervals can be defined for this type of attribute.

  • Unit of measure

    Unit of measure fields are stored as fields of the type UNIT. No single values or intervals can be defined for this type of attribute. Table T006 is normally used for fixed values.

  • Currency

    Currency fields are stored as fields of the type CUKY. No single values or intervals can be defined for this type of attribute. Table TCURC is normally used for fixed values.

  • Character string

    Character string fields are stored as fields of the type CHAR. The maximum length you can enter is 132 characters.

    Only alphanumeric single values are allowed as fixed values for this data type.

  • Time

    Time fields are stored as fields of the type TIMS. The length of the field is set to 6 automatically. No single values or intervals can be defined for this type of attribute.

  • Language

    Language fields are stored as fields of the type LANG. The length of the field is set to 1 automatically. No single values or intervals can be defined for this type of attribute. The table T002 is normally used for fixed values.

Procedure

Examples

Dependencies

History
Last changed by/on SAP  20040312 
SAP Release Created in