P_GEN_MESSAGE_DETAIL

DDL: P_GEN_MESSAGE_DETAIL SQL: PGLOGMDETAIL Type: view BASIC

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)

SourceAliasJoin Type
fincs_log_item01 item01 left_outer
fincs_log_messag msg from

Annotations (12)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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 */
;