COMC_PR_FORMAT SAP (Data for Converting the Product ID) Table details
Description: Data for Converting the Product ID
Related tables to COMC_PR_FORMAT
Access table COMC_PR_FORMAT
Table field list including key, data, relationships and ABAP select examples
COMC_PR_FORMAT is a standard SAP Table which is used to store Data for Converting the Product ID data and is available within R/3 SAP systems depending on the version and release level.
The COMC_PR_FORMAT table consists of various fields, each holding specific information or linking keys about Data for Converting the Product ID data available in SAP. These include LEXI (Save Product IDs Lexicographically), LENGTH (Maximum Input/Output Length of Product ID), MASK (Template for Converting the Product ID), DISP0 (Display Product ID with Leading Zeros).. 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: C - Customising table, maintenance only by custDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP COMC_PR_FORMAT table 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 |
CLIENT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
LEXI | Save Product IDs Lexicographically | COMT_PRIDLEXI | CHAR | 1 | XFELD | ||||
LENGTH | Maximum Input/Output Length of Product ID | COMT_PRIDLENGTH | INT1 | 3 | INT1 | ||||
MASK | Template for Converting the Product ID | COMT_PRIDMASK | CHAR | 40 | CHAR40 | ||||
DISP0 | Display Product ID with Leading Zeros | COMT_PRIDDISP0 | CHAR | 1 | XFELD | ||||
SAVE0 | Save Numeric Product IDs with Leading Zeros | COMT_PRIDSAVE0 | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP table COMC_PR_FORMAT using ABAP code
The following ABAP code Example will allow you to do a basic selection on COMC_PR_FORMAT to SELECT all data from the tableDATA: WA_COMC_PR_FORMAT TYPE COMC_PR_FORMAT.
SELECT SINGLE *
FROM COMC_PR_FORMAT
INTO CORRESPONDING FIELDS OF WA_COMC_PR_FORMAT
WHERE...
How to access SAP table COMC_PR_FORMAT
Within an ECC or HANA version of SAP you can also view further information about COMC_PR_FORMAT 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