C_JITCustHeaderTP

DDL: C_JITCUSTHEADERTP SQL: CJITCUSTHDRTP1 Type: view CONSUMPTION

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 53 fields with key field CustomerUUID. It has 8 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_JITCustHeaderTP I_JITCustHeaderTP from

Associations (8)

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

Annotations (24)

NameValueLevelField
AbapCatalog.sqlViewName CJITCUSTHDRTP1 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Consumption for JIT Customer view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled 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

Fields (53)

KeyFieldSource TableSource FieldDescription
KEY CustomerUUID CustomerUUID NodeID
ShipToParty ShipToParty Ship-To Party (obsolete)
Customer ShipToParty Ship-To Party (obsolete)
BusinessPartnerName
OrganizationBPName1
CountryName
CityName _Customer CityName Name
JITCustomerAddress JITCustomerAddress char120
BusinessPartner
JITCustomerStatus JITCustomerStatus Customer Status
JITCustomerStatusText
IsJITRelevant IsJITRelevant JIT-Relevant
EmailAddress
NumberOfSupplyAreas _JITCustSupplyAreaInfo NumberOfSupplyAreas
AddressTimeZone
CreatedByUser CreatedByUser User Name
CreatedByUserDescription _CreatedByUser FullName Name
CreatedByUserFirstName _CreatedByUser FirstName First Name
CreatedByUserLastName _CreatedByUser LastName Last Name
CreationDateTime CreationDateTime Timestamp
LastChangedByUserDescription _LastChangedByUser FullName Name
FirstName _LastChangedByUser FirstName First Name
LastName _LastChangedByUser LastName Last Name
LastChangedByUser LastChangedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
JITContactPerson JITContactPerson
DaysForIntJITNumberGeneration DaysForIntJITNumberGeneration Extl JIT Num. Usage
JITLifeCycleStatusCriticality JITLifeCycleStatusCriticality
SummarizedJITCallType SummarizedJITCallType
SequencedJITCallType SequencedJITCallType
JITDeliveryHdrSplitCriterion JITDeliveryHdrSplitCriterion Split Deli. Document
JITDeliverySplitCriteriaDesc _JITSplitCriteriaValueHelp JITDeliverySplitCriteriaDesc
JITDeliveryItemSplitCriterion JITDeliveryItemSplitCriterion Split Criteria
JITDelivHdrSpltCritrnForPckg JITDelivHdrSpltCritrnForPckg Split Deli. Document
JITDeliverySplitForPckgDesc _JITSplitCriteriaForPckgVH JITDeliverySplitForPckgDesc
JITSequenceNumberProfileID JITSequenceNumberProfileID Profile
JITDelivConfIsUsed JITDelivConfIsUsed Delivery confirmatn
JITDelivConfIsUsedText
JITDelivConfForReorder JITDelivConfForReorder Reorder
JITDelivConfForReorderText
_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

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.
-- SQL view name: CJITCUSTHDRTP1

CREATE VIEW C_JITCustHeaderTP AS
SELECT
  CustomerUUID,
  ShipToParty,
  ShipToParty AS Customer,
  _CustomerToBusinessPartner._BusinessPartner.BusinessPartnerName AS BusinessPartnerName,
  _CustomerToBusinessPartner._BusinessPartner.OrganizationBPName1 AS OrganizationBPName1,
  _Customer._StandardAddress._Country._Text[1: Language=$session.system_language].CountryName AS CountryName,
  _Customer.CityName AS CityName,
  JITCustomerAddress,
  _CustomerToBusinessPartner._BusinessPartner.BusinessPartner AS BusinessPartner,
  JITCustomerStatus,
  _JITCustomerStatus._Text[1: Language=$session.system_language].JITCustomerStatusText AS JITCustomerStatusText,
  IsJITRelevant,
  _Customer._StandardAddress._DefaultEmailAddress.EmailAddress AS EmailAddress,
  _JITCustSupplyAreaInfo.NumberOfSupplyAreas AS NumberOfSupplyAreas,
  _Customer._StandardAddress.AddressTimeZone AS AddressTimeZone,
  CreatedByUser,
  _CreatedByUser.FullName AS CreatedByUserDescription,
  _CreatedByUser.FirstName AS CreatedByUserFirstName,
  _CreatedByUser.LastName AS CreatedByUserLastName,
  CreationDateTime,
  _LastChangedByUser.FullName AS LastChangedByUserDescription,
  _LastChangedByUser.FirstName AS FirstName,
  _LastChangedByUser.LastName AS LastName,
  LastChangedByUser,
  LastChangeDateTime,
  JITContactPerson,
  DaysForIntJITNumberGeneration,
  JITLifeCycleStatusCriticality,
  SummarizedJITCallType,
  SequencedJITCallType,
  JITDeliveryHdrSplitCriterion,
  _JITSplitCriteriaValueHelp.JITDeliverySplitCriteriaDesc AS JITDeliverySplitCriteriaDesc,
  JITDeliveryItemSplitCriterion,
  JITDelivHdrSpltCritrnForPckg,
  _JITSplitCriteriaForPckgVH.JITDeliverySplitForPckgDesc AS JITDeliverySplitForPckgDesc,
  JITSequenceNumberProfileID,
  JITDelivConfIsUsed,
  _JITDelivConfIsUsed._Text[1:Language = $session.system_language].JITDelivConfIsUsedText AS JITDelivConfIsUsedText,
  JITDelivConfForReorder,
  _JITDelivConfForReorder._Text[1:Language = $session.system_language].JITDelivConfForReorderText AS JITDelivConfForReorderText
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]
;