P_GEN_MESSAGE_DETAIL
P_GEN_MESSAGE_DETAIL is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (fincs_log_item01, fincs_log_messag) and exposes 13 fields.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| fincs_log_item01 | item01 | left_outer |
| fincs_log_messag | msg | from |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PGLOGMDETAIL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.preserveKey | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| node | fincs_log_item01 | node | Node ID | |
| parentnode | fincs_log_item01 | parentnode | Parent Node | |
| raw_rowid | fincs_log_item01 | raw_rowid | Row Number | |
| entryid | fincs_log_item01 | entryid | Entry ID | |
| cnsldtnunit | fincs_log_item01 | cnsldtnunit | Cons. Unit | |
| msgid | fincs_log_messag | msgid | Message ID | |
| msgty | fincs_log_messag | msgty | Msg.Type (E,I,W..) | |
| msgno | fincs_log_messag | msgno | Message Number | |
| msgv1 | fincs_log_messag | msgv1 | Message variable 1 | |
| msgv2 | fincs_log_messag | msgv2 | Message variable 2 | |
| msgv3 | fincs_log_messag | msgv3 | Message variable 3 | |
| msgv4 | fincs_log_messag | msgv4 | Message variable 4 | |
| messagetext |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view P_GEN_MESSAGE_DETAIL.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: PGLOGMDETAIL
CREATE VIEW P_GEN_MESSAGE_DETAIL AS
SELECT
item01.node AS node,
item01.parentnode AS parentnode,
item01.raw_rowid AS raw_rowid,
item01.entryid AS entryid,
item01.cnsldtnunit AS cnsldtnunit,
msg.msgid AS msgid,
msg.msgty AS msgty,
msg.msgno AS msgno,
msg.msgv1 AS msgv1,
msg.msgv2 AS msgv2,
msg.msgv3 AS msgv3,
msg.msgv4 AS msgv4,
cast( ' ' as bapi_msg ) AS messagetext
FROM fincs_log_messag AS msg
LEFT OUTER JOIN fincs_log_item01 AS item01 ON /* join condition not captured in parsed metadata */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA