I_JITPckgGrpHandlingUnitRef

DDL: I_JITPCKGGRPHANDLINGUNITREF Type: view_entity COMPOSITE

Composite view for JIT Pckg Group HU Ref

I_JITPckgGrpHandlingUnitRef is a Composite CDS View that provides data about "Composite view for JIT Pckg Group HU Ref" in SAP S/4HANA. It reads from 1 data source (I_JITPckgGrpDocRefBasic) and exposes 8 fields with key field JITDocRefUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_JITPckgGrpDocRefBasic I_JITPckgGrpDocRefBasic from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_JITHandlingUnitHeader _HandlingUnitHeaderCombined $projection.BusinessTransactionDocument = _HandlingUnitHeaderCombined.HandlingUnitExternalID and $projection.BusinessTransactionDocType = 'X'
[1..1] I_JITBusTransDocType _JITBusTransDocType $projection.BusinessTransactionDocType = _JITBusTransDocType.BusinessTransactionDocType

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label Composite view for JIT Pckg Group HU Ref view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #COMPOSITE view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY JITDocRefUUID JITDocRefUUID NodeID
JITPckgGrpUUID JITPckgGrpUUID NodeID
BusinessTransactionDocType BusinessTransactionDocType BTD Type Code
BusinessTransactionDocument BusinessTransactionDocument BTD ID
HandlingUnitExternalID BTD ID
_HandlingUnitHeaderCombined _HandlingUnitHeaderCombined
_JITPckgGrpHeader _JITPckgGrpHeader
_JITBusTransDocType _JITBusTransDocType

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_JITPckgGrpHandlingUnitRef.
-- 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_JITPckgGrpHandlingUnitRef AS
SELECT
  JITDocRefUUID,
  JITPckgGrpUUID,
  BusinessTransactionDocType,
  BusinessTransactionDocument,
  cast (BusinessTransactionDocument as exidv) AS HandlingUnitExternalID
FROM I_JITPckgGrpDocRefBasic
LEFT OUTER JOIN I_JITHandlingUnitHeader AS _HandlingUnitHeaderCombined ON BusinessTransactionDocument = _HandlingUnitHeaderCombined.HandlingUnitExternalID AND BusinessTransactionDocType = 'X'  -- association [0..1]
LEFT OUTER JOIN I_JITBusTransDocType AS _JITBusTransDocType ON BusinessTransactionDocType = _JITBusTransDocType.BusinessTransactionDocType  -- association [1..1]
;