I_ProdCmplncLogisticsDocStage

DDL: I_PRODCMPLNCLOGISTICSDOCSTAGE Type: view_entity BASIC

Prod Compliance Logistics Document Stage

I_ProdCmplncLogisticsDocStage is a Basic CDS View that provides data about "Prod Compliance Logistics Document Stage" in SAP S/4HANA. It reads from 1 data source (ehfndd_pcld_stag) and exposes 15 fields with key fields ProdCmplncLogsDocumentUUID, ProdCmplncLogsDocumentStage. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
ehfndd_pcld_stag ehfndd_pcld_stag from

Associations (5)

CardinalityTargetAliasCondition
[0..1] I_Country _DepartureCountry _DepartureCountry.Country = $projection.DepartureCountry
[0..1] I_Country _DestinationCountry _DestinationCountry.Country = $projection.DestinationCountry
[0..1] I_DngrsGoodsModeOfTransport _DngrsGoodsModeOfTransport _DngrsGoodsModeOfTransport.DngrsGoodsModeOfTransport = $projection.DngrsGoodsModeOfTransport
[0..*] I_ProdCmplncLogsDocStageItem _StageItem
[0..*] I_ProdCmplncLogsDocTransitCtry _TransitCountry

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Prod Compliance Logistics Document Stage view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY ProdCmplncLogsDocumentUUID prodcmplnclogsdocumentuuid Logistics Doc. UUID
KEY ProdCmplncLogsDocumentStage prodcmplnclogsdocumentstage
CreationDateTime creationdatetime Timestamp
CreatedByUser createdbyuser User Name
LastChangeDateTime lastchangedatetime Timestamp
LastChangedByUser lastchangedbyuser User Name
DepartureCountry departurecountry Departure Country / Region
DestinationCountry destinationcountry Dest. Ctry/Reg
DngrsGoodsModeOfTransport dngrsgoodsmodeoftransport Mode of Transport
_DepartureCountry _DepartureCountry
_DestinationCountry _DestinationCountry
_DngrsGoodsModeOfTransport _DngrsGoodsModeOfTransport
_StageItem _StageItem
_TransitCountry _TransitCountry
_Document _Document

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_ProdCmplncLogisticsDocStage.
-- 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_ProdCmplncLogisticsDocStage AS
SELECT
  ProdCmplncLogsDocumentUUID,
  ProdCmplncLogsDocumentStage,
  CreationDateTime,
  CreatedByUser,
  LastChangeDateTime,
  LastChangedByUser,
  DepartureCountry,
  DestinationCountry,
  DngrsGoodsModeOfTransport
FROM ehfndd_pcld_stag
LEFT OUTER JOIN I_Country AS _DepartureCountry ON _DepartureCountry.Country = DepartureCountry  -- association [0..1]
LEFT OUTER JOIN I_Country AS _DestinationCountry ON _DestinationCountry.Country = DestinationCountry  -- association [0..1]
LEFT OUTER JOIN I_DngrsGoodsModeOfTransport AS _DngrsGoodsModeOfTransport ON _DngrsGoodsModeOfTransport.DngrsGoodsModeOfTransport = DngrsGoodsModeOfTransport  -- association [0..1]
LEFT OUTER JOIN I_ProdCmplncLogsDocStageItem AS _StageItem ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_ProdCmplncLogsDocTransitCtry AS _TransitCountry ON /* condition not available in parsed metadata */  -- association [0..*]
;