C_JITCustHeaderTP
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)
| Source | Alias | Join Type |
|---|---|---|
| I_JITCustHeaderTP | I_JITCustHeaderTP | from |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA