I_JITOutbCallCompGrpDocRef

DDL: I_JITOUTBCALLCOMPGRPDOCREF Type: view_entity BASIC

Document reference for Component Group

I_JITOutbCallCompGrpDocRef is a Basic CDS View that provides data about "Document reference for Component Group" in SAP S/4HANA. It reads from 2 data sources (njit_call_d_dref, I_JustInTimeOutboundCall) and exposes 18 fields with key field JITDocRefUUID. It has 4 associations to related views.

Data Sources (2)

SourceAliasJoin Type
njit_call_d_dref _JITOutbCallCompGrpDocRef from
I_JustInTimeOutboundCall _JustInTimeOutboundCall inner

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_JITOutbCallDelivDocRef _JITOutbCallDelivDocRef ( $projection.BusinessTransactionDocument = _JITOutbCallDelivDocRef.DeliveryDocument and $projection.BusinessTransactionDocItem = _JITOutbCallDelivDocRef.DeliveryDocumentItem )
[0..1] I_HandlingUnitHeader _HandlingUnitHeader $projection.BusinessTransactionDocument = _HandlingUnitHeader.SourceHandlingUnitUUID and $projection.BusinessTransactionDocType = 'X'
[0..1] I_JITBusTransDocType _JITBusTransDocType $projection.BusinessTransactionDocType = _JITBusTransDocType.BusinessTransactionDocType
[0..1] I_JustInTimeOutboundCall _JITOutboundCallHeader $projection.JITHeaderUUID = _JITOutboundCallHeader.JITHeaderUUID

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Document reference for Component Group view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY JITDocRefUUID njit_call_d_dref db_key UUID
JITHeaderUUID njit_call_d_dref root_key UUID
JITCallCompGrpUUID njit_call_d_dref parent_key UUID
InternalJITCallNumber njit_call_d_dref int_call_num JIT Call Number
JITCallItemNumber njit_call_d_dref call_item_num Call Item Number
BusinessTransactionDocType njit_call_d_dref btd_type_code BTD Type Code
BusinessTransactionDocument njit_call_d_dref btd_id External FA
BusinessTransactionDocItem njit_call_d_dref btd_item_id BTD Item ID
BusinessTransactionDocStatus njit_call_d_dref btd_status BTD Status
JITRefBizTransacDocTypeCode njit_call_d_dref ref_btd_type_code
JITRefBizTransacDoc njit_call_d_dref ref_btd_id
JITRefBizTransacDocItm njit_call_d_dref ref_btd_item_id
LogicalSystemID njit_call_d_dref logsys Source system
LastChangeDateTime njit_call_d_dref lchg_date_time Time Stamp
_JITOutbCallDelivDocRef _JITOutbCallDelivDocRef
_JITBusTransDocType _JITBusTransDocType
_HandlingUnitHeader _HandlingUnitHeader
_JITOutboundCallHeader _JITOutboundCallHeader

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_JITOutbCallCompGrpDocRef.
-- 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_JITOutbCallCompGrpDocRef AS
SELECT
  _JITOutbCallCompGrpDocRef.db_key AS JITDocRefUUID,
  _JITOutbCallCompGrpDocRef.root_key AS JITHeaderUUID,
  _JITOutbCallCompGrpDocRef.parent_key AS JITCallCompGrpUUID,
  _JITOutbCallCompGrpDocRef.int_call_num AS InternalJITCallNumber,
  _JITOutbCallCompGrpDocRef.call_item_num AS JITCallItemNumber,
  _JITOutbCallCompGrpDocRef.btd_type_code AS BusinessTransactionDocType,
  _JITOutbCallCompGrpDocRef.btd_id AS BusinessTransactionDocument,
  _JITOutbCallCompGrpDocRef.btd_item_id AS BusinessTransactionDocItem,
  _JITOutbCallCompGrpDocRef.btd_status AS BusinessTransactionDocStatus,
  _JITOutbCallCompGrpDocRef.ref_btd_type_code AS JITRefBizTransacDocTypeCode,
  _JITOutbCallCompGrpDocRef.ref_btd_id AS JITRefBizTransacDoc,
  _JITOutbCallCompGrpDocRef.ref_btd_item_id AS JITRefBizTransacDocItm,
  _JITOutbCallCompGrpDocRef.logsys AS LogicalSystemID,
  _JITOutbCallCompGrpDocRef.lchg_date_time AS LastChangeDateTime
FROM njit_call_d_dref AS _JITOutbCallCompGrpDocRef
INNER JOIN I_JustInTimeOutboundCall AS _JustInTimeOutboundCall ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_JITOutbCallDelivDocRef AS _JITOutbCallDelivDocRef ON ( BusinessTransactionDocument = _JITOutbCallDelivDocRef.DeliveryDocument AND BusinessTransactionDocItem = _JITOutbCallDelivDocRef.DeliveryDocumentItem )  -- association [0..1]
LEFT OUTER JOIN I_HandlingUnitHeader AS _HandlingUnitHeader ON BusinessTransactionDocument = _HandlingUnitHeader.SourceHandlingUnitUUID AND BusinessTransactionDocType = 'X'  -- association [0..1]
LEFT OUTER JOIN I_JITBusTransDocType AS _JITBusTransDocType ON BusinessTransactionDocType = _JITBusTransDocType.BusinessTransactionDocType  -- association [0..1]
LEFT OUTER JOIN I_JustInTimeOutboundCall AS _JITOutboundCallHeader ON JITHeaderUUID = _JITOutboundCallHeader.JITHeaderUUID  -- association [0..1]
;