I_CmRqVsMixedPackggPrvsnCode

DDL: I_CMRQVSMIXEDPACKGGPRVSNCODE Type: view_entity BASIC

Mixed Packing Provision Code

I_CmRqVsMixedPackggPrvsnCode is a Basic CDS View that provides data about "Mixed Packing Provision Code" in SAP S/4HANA. It reads from 1 data source (ehfndd_req_mppc) and exposes 14 fields with key fields CmRqVsMixedPackggPrvsnUUID, CmplRqVersDngrsGdsPrt2ItmUUID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
ehfndd_req_mppc ehfndd_req_mppc from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_CmplRqVers _CmplRqVers $projection.CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID
[1..1] I_CmplRqVersDngrsGdsPart2Item _CmplRqVersDngrsGdsPart2Item $projection.CmplRqVersDngrsGdsPrt2ItmUUID = _CmplRqVersDngrsGdsPart2Item.CmplRqVersDngrsGdsPrt2ItmUUID
[0..*] I_DngrsGdsMxdPcggPvnCdTxt _Text $projection.ComplianceRequirement = _Text.ComplianceRequirement and $projection.DngrsGdsMixedPackggPrvsnCode = _Text.DngrsGdsMixedPackggPrvsnCode

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Mixed Packing Provision Code view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.representativeKey CmRqVsMixedPackggPrvsnUUID view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY CmRqVsMixedPackggPrvsnUUID db_key UUID
KEY CmplRqVersDngrsGdsPrt2ItmUUID parent_key UUID
CmplRqVers bco_id Compliance Requirement
CmRqVsMixedPackggPrvsnCharUUID BCO KEY
CmplRqVersUUID UUID
DngrsGdsMixedPackggPrvsnCode dngrsgdsmixedpackggprvsncode Mixed Packing Provision Code
ComplianceRequirement _CmplRqVers ComplianceRequirement Compliance Requirement
CreatedByUser user_id_cr Created By
CreationDateTime Created On/At
LastChangedByUser user_id_ch Changed By
LastChangeDateTime Changed On/At
_Text _Text
_CmplRqVersDngrsGdsPart2Item _CmplRqVersDngrsGdsPart2Item
_CmplRqVers _CmplRqVers

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 I_CmRqVsMixedPackggPrvsnCode.
-- 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 I_CmRqVsMixedPackggPrvsnCode AS
SELECT
  db_key AS CmRqVsMixedPackggPrvsnUUID,
  parent_key AS CmplRqVersDngrsGdsPrt2ItmUUID,
  bco_id AS CmplRqVers,
  cast ( bco_key as sysuuid_c32 preserving type ) AS CmRqVsMixedPackggPrvsnCharUUID,
  cast ( root_key as ehfnd_crv_uuid preserving type ) AS CmplRqVersUUID,
  DngrsGdsMixedPackggPrvsnCode,
  _CmplRqVers.ComplianceRequirement AS ComplianceRequirement,
  user_id_cr AS CreatedByUser,
  cast(datetime_cr as ehfnd_datetime_cr preserving type) AS CreationDateTime,
  user_id_ch AS LastChangedByUser,
  cast(datetime_ch as ehfnd_datetime_ch preserving type) AS LastChangeDateTime
FROM ehfndd_req_mppc
LEFT OUTER JOIN I_CmplRqVers AS _CmplRqVers ON CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID  -- association [1..1]
LEFT OUTER JOIN I_CmplRqVersDngrsGdsPart2Item AS _CmplRqVersDngrsGdsPart2Item ON CmplRqVersDngrsGdsPrt2ItmUUID = _CmplRqVersDngrsGdsPart2Item.CmplRqVersDngrsGdsPrt2ItmUUID  -- association [1..1]
LEFT OUTER JOIN I_DngrsGdsMxdPcggPvnCdTxt AS _Text ON ComplianceRequirement = _Text.ComplianceRequirement AND DngrsGdsMixedPackggPrvsnCode = _Text.DngrsGdsMixedPackggPrvsnCode  -- association [0..*]
;