I_JITCustSupplyAreaData

DDL: I_JITCUSTSUPPLYAREADATA Type: view_entity COMPOSITE Package: NJIT_BO_CUSTOMER

Composite View for Customer SA

I_JITCustSupplyAreaData is a Composite CDS View that provides data about "Composite View for Customer SA" in SAP S/4HANA. It reads from 1 data source (I_JITCustomerSupplyArea) and exposes 12 fields with key field SupplyAreaUUID. It has 2 associations to related views. Part of development package NJIT_BO_CUSTOMER.

Data Sources (1)

SourceAliasJoin Type
I_JITCustomerSupplyArea I_JITCustomerSupplyArea from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_JITCustSupplyAreaDescData _JITCustSupplyAreaDescData $projection.SupplyAreaUUID = _JITCustSupplyAreaDescData.SupplyAreaUUID
[1..1] I_JITCustData _JITCustData $projection.CustomerUUID = _JITCustData.CustomerUUID

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Composite View for Customer SA view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #COMPOSITE view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY SupplyAreaUUID SupplyAreaUUID NodeID
CustomerUUID CustomerUUID NodeID
ShipToParty ShipToParty Ship-To Party (obsolete)
CustSupplyArea CustSupplyArea Cust. Supply Area
UnloadingPointName UnloadingPointName Unloading Point Name
CustAssemblyLoc CustAssemblyLoc Assembly Location
SupplyAreaDesc
IsActiveEntity
_JITCustData _JITCustData
_JITCustSupplyAreaDescData _JITCustSupplyAreaDescData
_Customer _Customer
_JITCustomer _JITCustomer

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_JITCustSupplyAreaData.
-- 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_JITCustSupplyAreaData AS
SELECT
  SupplyAreaUUID,
  CustomerUUID,
  ShipToParty,
  CustSupplyArea,
  UnloadingPointName,
  CustAssemblyLoc,
  _JITCustSupplyAreaDescData[1: Language = $session.system_language ].SupplyAreaDesc AS SupplyAreaDesc,
  cast ('X' as sdraft_is_active preserving type ) AS IsActiveEntity
FROM I_JITCustomerSupplyArea
LEFT OUTER JOIN I_JITCustSupplyAreaDescData AS _JITCustSupplyAreaDescData ON SupplyAreaUUID = _JITCustSupplyAreaDescData.SupplyAreaUUID  -- association [0..*]
LEFT OUTER JOIN I_JITCustData AS _JITCustData ON CustomerUUID = _JITCustData.CustomerUUID  -- association [1..1]
;