C_JITCustHeaderTP

DDL: C_JITCUSTHEADERTP Type: view_entity CONSUMPTION Package: NJIT_APP_CUSTOMER

Consumption for JIT Customer

C_JITCustHeaderTP is a Consumption CDS View that provides data about "Consumption for JIT Customer" in SAP S/4HANA. It reads from 1 data source (I_JITCustHeaderTP) and exposes 44 fields with key field CustomerUUID. It has 10 associations to related views. Part of development package NJIT_APP_CUSTOMER.

Data Sources (1)

SourceAliasJoin Type
I_JITCustHeaderTP I_JITCustHeaderTP from

Associations (10)

CardinalityTargetAliasCondition
[0..*] C_JITCustSupplyAreaTP _JITCustSupplyAreaTP $projection.CustomerUUID = _JITCustSupplyAreaTP.CustomerUUID
[0..*] C_JITCustExternalStatusTP _JITCustExternalStatusTP $projection.CustomerUUID = _JITCustExternalStatusTP.CustomerUUID
[0..*] C_JITCustReferenceTypeTP _JITCustReferenceTypeTP $projection.CustomerUUID = _JITCustReferenceTypeTP.CustomerUUID
[0..1] C_JITCustomerValueHelp _JITCustomerValueHelp $projection.CustomerUUID = _JITCustomerValueHelp.CustomerUUID
[0..*] C_JITCustPartFunc _JITCustomerPartnerFunction $projection.CustomerUUID = _JITCustomerPartnerFunction.BusinessPartnerUUID and $projection.Customer = _JITCustomerPartnerFunction.Customer
[0..*] C_JITCustContactPersonTP _JITContactPerson $projection.CustomerUUID = _JITContactPerson.CustomerUUID
[0..1] C_JITDelivHdrSplitCriteriaVH _JITSplitCriteriaValueHelp $projection.JITDeliveryHdrSplitCriterion = _JITSplitCriteriaValueHelp.JITDeliverySplitCriteria
[0..1] C_JITDelivHdrSplitForPckgVH _JITSplitCriteriaForPckgVH $projection.JITDeliveryHdrSplitCriterion = _JITSplitCriteriaForPckgVH.JITDeliverySplitCriteria
[0..1] I_UserDescription _CreatedByUserDescription $projection.CreatedByUser = _CreatedByUserDescription.UserID
[0..1] I_UserDescription _LastChangedByUserDescription $projection.LastChangedByUser = _LastChangedByUserDescription.UserID

Annotations (18)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Consumption for JIT Customer view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.createEnabled true view
ObjectModel.draftEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.compositionRoot true view
ObjectModel.transactionalProcessingDelegated true view
UI.headerInfo.typeName Just-In-Time Customer view
UI.headerInfo.typeNamePlural Customers view
UI.headerInfo.title.value ShipToParty view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.description.value BusinessPartnerName view
Search.searchable true view
VDM.viewType #CONSUMPTION view

Fields (44)

KeyFieldSource TableSource FieldDescription
KEY CustomerUUID CustomerUUID NodeID
ShipToParty ShipToParty Ship-To Party (obsolete)
Customer ShipToParty Ship-To Party (obsolete)
BusinessPartnerName _Customer CustomerName Name of Customer
CountryName
CityName _Customer CityName Name
JITCustomerAddress JITCustomerAddress char120
BusinessPartner _Customer Customer Sold-to Party
JITCustomerStatus JITCustomerStatus Customer Status
JITCustomerStatusText
IsJITRelevant IsJITRelevant JIT-Relevant
AddressTimeZone
IsBusinessPurposeCompleted _Customer IsBusinessPurposeCompleted Purpose Completed
AuthorizationGroup _Customer AuthorizationGroup AuthorizGroup
CreatedByUser CreatedByUser User Name
CreatedByUserDescription _CreatedByUserDescription UserDescription Full Name
CreationDateTime CreationDateTime Timestamp
LastChangedByUserDescription _LastChangedByUserDescription UserDescription Full Name
LastChangedByUser LastChangedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
JITContactPerson JITContactPerson
DaysForIntJITNumberGeneration DaysForIntJITNumberGeneration Extl JIT Num. Usage
JITLifeCycleStatusCriticality JITLifeCycleStatusCriticality
JITDeliveryHdrSplitCriterion JITDeliveryHdrSplitCriterion Split Deli. Document
JITDeliveryItemSplitCriterion JITDeliveryItemSplitCriterion Split Criteria
JITDelivHdrSpltCritrnForPckg JITDelivHdrSpltCritrnForPckg Split Deli. Document
JITSequenceNumberProfileID JITSequenceNumberProfileID Profile
JITDelivConfIsUsed JITDelivConfIsUsed Delivery confirmatn
JITDelivConfForReorder JITDelivConfForReorder Reorder
_JITCustSupplyAreaTP _JITCustSupplyAreaTP
_JITCustExternalStatusTP _JITCustExternalStatusTP
_JITCustReferenceTypeTP _JITCustReferenceTypeTP
_JITCustomerPartnerFunction _JITCustomerPartnerFunction
_JITCustomerValueHelp _JITCustomerValueHelp
_CustomerToBusinessPartner _CustomerToBusinessPartner
_Customer _Customer
_JITContactPerson _JITContactPerson
_JITSplitCriteriaValueHelp _JITSplitCriteriaValueHelp
_JITSplitCriteriaForPckgVH _JITSplitCriteriaForPckgVH
_JITDelivConfIsUsed _JITDelivConfIsUsed
_JITDelivConfForReorder _JITDelivConfForReorder
_JITCustSupplyAreaInfo _JITCustSupplyAreaInfo
_CreatedByUserDescription _CreatedByUserDescription
_LastChangedByUserDescription _LastChangedByUserDescription

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 C_JITCustHeaderTP.
-- 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 C_JITCustHeaderTP AS
SELECT
  CustomerUUID,
  ShipToParty,
  ShipToParty AS Customer,
  _Customer.CustomerName AS BusinessPartnerName,
  _Customer._AddressRepresentation._Country._Text[1: Language=$session.system_language].CountryName AS CountryName,
  _Customer.CityName AS CityName,
  JITCustomerAddress,
  _Customer.Customer AS BusinessPartner,
  JITCustomerStatus,
  _JITCustomerStatus._Text[1: Language=$session.system_language].JITCustomerStatusText AS JITCustomerStatusText,
  IsJITRelevant,
  _Customer._AddressRepresentation.AddressTimeZone AS AddressTimeZone,
  _Customer.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  _Customer.AuthorizationGroup AS AuthorizationGroup,
  CreatedByUser,
  _CreatedByUserDescription.UserDescription AS CreatedByUserDescription,
  CreationDateTime,
  _LastChangedByUserDescription.UserDescription AS LastChangedByUserDescription,
  LastChangedByUser,
  LastChangeDateTime,
  JITContactPerson,
  DaysForIntJITNumberGeneration,
  JITLifeCycleStatusCriticality,
  JITDeliveryHdrSplitCriterion,
  JITDeliveryItemSplitCriterion,
  JITDelivHdrSpltCritrnForPckg,
  JITSequenceNumberProfileID,
  JITDelivConfIsUsed,
  JITDelivConfForReorder
FROM I_JITCustHeaderTP
LEFT OUTER JOIN C_JITCustSupplyAreaTP AS _JITCustSupplyAreaTP ON CustomerUUID = _JITCustSupplyAreaTP.CustomerUUID  -- association [0..*]
LEFT OUTER JOIN C_JITCustExternalStatusTP AS _JITCustExternalStatusTP ON CustomerUUID = _JITCustExternalStatusTP.CustomerUUID  -- association [0..*]
LEFT OUTER JOIN C_JITCustReferenceTypeTP AS _JITCustReferenceTypeTP ON CustomerUUID = _JITCustReferenceTypeTP.CustomerUUID  -- association [0..*]
LEFT OUTER JOIN C_JITCustomerValueHelp AS _JITCustomerValueHelp ON CustomerUUID = _JITCustomerValueHelp.CustomerUUID  -- association [0..1]
LEFT OUTER JOIN C_JITCustPartFunc AS _JITCustomerPartnerFunction ON CustomerUUID = _JITCustomerPartnerFunction.BusinessPartnerUUID AND Customer = _JITCustomerPartnerFunction.Customer  -- association [0..*]
LEFT OUTER JOIN C_JITCustContactPersonTP AS _JITContactPerson ON CustomerUUID = _JITContactPerson.CustomerUUID  -- association [0..*]
LEFT OUTER JOIN C_JITDelivHdrSplitCriteriaVH AS _JITSplitCriteriaValueHelp ON JITDeliveryHdrSplitCriterion = _JITSplitCriteriaValueHelp.JITDeliverySplitCriteria  -- association [0..1]
LEFT OUTER JOIN C_JITDelivHdrSplitForPckgVH AS _JITSplitCriteriaForPckgVH ON JITDeliveryHdrSplitCriterion = _JITSplitCriteriaForPckgVH.JITDeliverySplitCriteria  -- association [0..1]
LEFT OUTER JOIN I_UserDescription AS _CreatedByUserDescription ON CreatedByUser = _CreatedByUserDescription.UserID  -- association [0..1]
LEFT OUTER JOIN I_UserDescription AS _LastChangedByUserDescription ON LastChangedByUser = _LastChangedByUserDescription.UserID  -- association [0..1]
;