P_DaGdsCmplRqRsltMotMain

DDL: P_DAGDSCMPLRQRSLTMOTMAIN Type: view_entity CONSUMPTION

P_DaGdsCmplRqRsltMotMain is a Consumption CDS View in SAP S/4HANA. It reads from 2 data sources (P_DaGdsCmplRqRsltMotRank, P_DaGdsCmplRqRsltMotRankIdMax) and exposes 6 fields with key field CmplRqRsltUUID. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
P_DaGdsCmplRqRsltMotRank P_DaGdsCmplRqRsltMotRank inner
P_DaGdsCmplRqRsltMotRankIdMax P_DaGdsCmplRqRsltMotRankIdMax from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_CmplRqRsltDaGdsMoOfTr _CmplRqRsltDaGdsMoOfTr $projection.CmplRqRsltDngrsGdsModeOfTrUUID = _CmplRqRsltDaGdsMoOfTr.CmplRqRsltDngrsGdsModeOfTrUUID
[1..1] I_CmplRqRslt _CmplRqRslt $projection.CmplRqRsltUUID = _CmplRqRslt.CmplRqRsltUUID

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #CONSUMPTION view
VDM.private true view
Metadata.ignorePropagatedAnnotations true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY CmplRqRsltUUID P_DaGdsCmplRqRsltMotRank CmplRqRsltUUID SDS Assessment
DngrsGoodsModeOfTransportRank P_DaGdsCmplRqRsltMotRank DngrsGoodsModeOfTransportRank
DngrsGoodsModeOfTransport P_DaGdsCmplRqRsltMotRank DngrsGoodsModeOfTransport Mode of Transport
CmplRqRsltDngrsGdsModeOfTrUUID P_DaGdsCmplRqRsltMotRank CmplRqRsltDngrsGdsModeOfTrUUID NodeID
_CmplRqRsltDaGdsMoOfTr _CmplRqRsltDaGdsMoOfTr
_CmplRqRslt _CmplRqRslt

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_DaGdsCmplRqRsltMotMain.
-- 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.

CREATE VIEW P_DaGdsCmplRqRsltMotMain AS
SELECT
  P_DaGdsCmplRqRsltMotRank.CmplRqRsltUUID AS CmplRqRsltUUID,
  P_DaGdsCmplRqRsltMotRank.DngrsGoodsModeOfTransportRank AS DngrsGoodsModeOfTransportRank,
  P_DaGdsCmplRqRsltMotRank.DngrsGoodsModeOfTransport AS DngrsGoodsModeOfTransport,
  P_DaGdsCmplRqRsltMotRank.CmplRqRsltDngrsGdsModeOfTrUUID AS CmplRqRsltDngrsGdsModeOfTrUUID
FROM P_DaGdsCmplRqRsltMotRankIdMax
INNER JOIN P_DaGdsCmplRqRsltMotRank ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CmplRqRsltDaGdsMoOfTr AS _CmplRqRsltDaGdsMoOfTr ON CmplRqRsltDngrsGdsModeOfTrUUID = _CmplRqRsltDaGdsMoOfTr.CmplRqRsltDngrsGdsModeOfTrUUID  -- association [1..1]
LEFT OUTER JOIN I_CmplRqRslt AS _CmplRqRslt ON CmplRqRsltUUID = _CmplRqRslt.CmplRqRsltUUID  -- association [1..1]
;