COMT_PR_UNIT_S SAP (Units of Measure for Product (Without Product GUID)) Structure details
Description: Units of Measure for Product (Without Product GUID)
Related tables to COMT_PR_UNIT_S
Access table COMT_PR_UNIT_S
Structure field list including key, data, relationships and ABAP select examples
COMT_PR_UNIT_S is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Units of Measure for Product (Without Product GUID)" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_COMT_PR_UNIT_S TYPE COMT_PR_UNIT_S.
The COMT_PR_UNIT_S table consists of various fields, each holding specific information or linking keys about Units of Measure for Product (Without Product GUID) data available in SAP. These include NUMERATOR (Numerator for Conversion to the Base Unit of Measure), DENOMINATOR (Denominator for Conversion to the Base Unit of Measure), EXPONENT10 (Base 10 Exponent for Conversion to the Base Unit of Measure), GROSS_WEIGHT (Gross Weight).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP COMT_PR_UNIT_S structure fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
UNIT | Units of Measure of Product | COMT_UNIT | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
NUMERATOR | Numerator for Conversion to the Base Unit of Measure | COMT_NUMERATOR | INT4 | 10 | INT4 | ||||
DENOMINATOR | Denominator for Conversion to the Base Unit of Measure | COMT_DENOMINATOR | INT4 | 10 | INT4 | ||||
EXPONENT10 | Base 10 Exponent for Conversion to the Base Unit of Measure | COMT_EXPONENT10 | INT2 | 5 | EXP10 | ||||
GROSS_WEIGHT | Gross Weight | COMT_GROSS_WEIGHT | QUAN | 13(3) | MENG13 | ||||
NET_WEIGHT | Net Weight | COMT_NET_WEIGHT | QUAN | 13(3) | MENG13 | ||||
WEIGHT_UNIT | Weight Unit | COMT_WEIGHT_UNIT | UNIT | 3 | T006 | CUNIT | MEINS | ||
VOLUME | Volume Occupied by the Product per Volume Unit | COMT_VOLUME | QUAN | 13(3) | MENG13 | ||||
VOLUME_UNIT | Unit for the Volume of a Product | COMT_VOLUME_UNIT | UNIT | 3 | T006 | CUNIT | MEINS | ||
LENGTH | Length of the Product or of the Packaging of the Product | COMT_LENGTH | QUAN | 13(3) | MENG13 | ||||
WIDTH | Width of the Product or of the Packaging of the Product | COMT_WIDTH | QUAN | 13(3) | MENG13 | ||||
HEIGHT | Height of the Product or of the Packaging of the Product | COMT_HEIGHT | QUAN | 13(3) | MENG13 | ||||
UNIT_OF_DIM | Unit in Which Length/Width/Height Is Measured | COMT_UNIT_OF_DIMENSION | UNIT | 3 | T006 | CUNIT | MEINS | ||
IS_BASE_UNIT | Base Unit of Measure | COMT_BASE_UNIT | CHAR | 1 | COMT_BASE_UNIT | ||||
COMM_PR_UNIT | Dummy function in length 1 | DUMMY | CHAR | 1 | DUMMY | ||||
VALID_FROM | Valid From (Time Stamp) | COMT_VALID_FROM | DEC | 15 | TSTPS | BCOS_TSTMP | |||
VALID_TO | Valid To (Time Stamp) | COMT_VALID_TO | DEC | 15 | TSTPS | BCOS_TSTMP | |||
UPNAME | Name of the User Who Last Changed the Set | COMT_UPNAME | CHAR | 12 | UNAME | ||||
HISTEX | History Exists | COMT_HISTEX | CHAR | 1 | COM_BOOLEAN | ||||
LOGSYS | Original System | COMT_LOGSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | COM_LOGSYS | COM_PRODUCT_LOGSYS |
Key field | Non-key field |
How do I retrieve data from SAP structure COMT_PR_UNIT_S using ABAP code?
As COMT_PR_UNIT_S is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on COMT_PR_UNIT_S as there is no data to select.How to access SAP table COMT_PR_UNIT_S
Within an ECC or HANA version of SAP you can also view further information about COMT_PR_UNIT_S and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects