CPET_LOG_MSG SAP (CPE - Structure for Log Messages in Documents) Structure details
Description: CPE - Structure for Log Messages in Documents
Structure field list including key, data, relationships and ABAP select examples
CPET_LOG_MSG 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 "CPE - Structure for Log Messages in Documents" 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_CPET_LOG_MSG TYPE CPET_LOG_MSG.
The CPET_LOG_MSG table consists of various fields, each holding specific information or linking keys about CPE - Structure for Log Messages in Documents data available in SAP. These include PRIORITY (CPE - Priority of Log Entry), MSGTY (Message Type), MSGID (Message Class), MSGNO (Message Number).. 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: Cannot Be Enhanced
SAP CPET_LOG_MSG 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 |
PRIORITY | CPE - Priority of Log Entry | CPET_LOG_PRIORITY | NUMC | 1 | CPE_LOG_PRIORITY | ||||
MSGTY | Message Type | SYMSGTY | CHAR | 1 | SYCHAR01 | ||||
MSGID | Message Class | SYMSGID | CHAR | 20 | Assigned to domain | ARBGB | |||
MSGNO | Message Number | SYMSGNO | NUMC | 3 | SYMSGNO | ||||
MSGV1 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MSGV2 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MSGV3 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MSGV4 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
PROG_CLASS | CPE - Log: Program | CPET_LOG_PROGRAM | CHAR | 50 | CHAR50 | ||||
FUNCTION | CPE - Log: Function | CPET_LOG_FUNCTION | CHAR | 50 | CHAR50 | ||||
GUID_TYPE | CPE - GUID Type | CPET_GUID_TYPE | CHAR | 1 | CPE_GUID_TYPE | ||||
GUID | CPE - Object GUID | CPET_GUID | RAW | 16 | SYSUUID | ||||
COND_TYPE | CPE: Condition Type for Commodity Pricing | CPET_COND_TYPE | CHAR | 4 | Assigned to domain | KSCHL | CPE_COND_TYPE | ||
CPE_MODULE | CPE - Module of the Commodity Pricing Engine | CPET_MODULE | CHAR | 2 | CPE_MODULE | ||||
SUBMODULE | CPE Log - Submodule | CPET_LOG_SUBMODULE | CHAR | 2 | CHAR2 | CPE_SUBMODULE | |||
STEP | CPE Log - Step | CPET_LOG_STEP | CHAR | 4 | CHAR4 | ||||
LOG_NUMBER | CPE Log - Number | CPET_LOG_NUMBER | NUMC | 3 | NUMC3 | ||||
TERMNO | CPE Term - Number in Formula | CPET_TERMNO | NUMC | 5 | NUMC5 | ||||
COUNTER | CPE Log - Counter | CPET_LOG_COUNTER | NUMC | 4 | NUMC4 | ||||
LOGICAL_KEY | CPE Log - Logical Key for Messages | CPET_LOG_LOGICAL_KEY | CHAR | 27 | CHAR27 | ||||
OUT_IN | CPE Log - Output or Input | CPET_LOG_OUT_IN | CHAR | 1 | CHAR1 | ||||
SORTNO | CPE Log - Number for Sorting | CPET_LOG_SORTNO | NUMC | 6 | NUMC6 |
Key field | Non-key field |
How do I retrieve data from SAP structure CPET_LOG_MSG using ABAP code?
As CPET_LOG_MSG 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 CPET_LOG_MSG as there is no data to select.How to access SAP table CPET_LOG_MSG
Within an ECC or HANA version of SAP you can also view further information about CPET_LOG_MSG 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