C_CntrlPurContrHdrDistrAddrTP
C-View for Deliv. Addr. in Central Contract Header Distrib.
C_CntrlPurContrHdrDistrAddrTP is a Consumption CDS View that provides data about "C-View for Deliv. Addr. in Central Contract Header Distrib." in SAP S/4HANA. It reads from 1 data source (I_CntrlPurContrHdrDistrAddrTP) and exposes 26 fields with key fields CentralPurchaseContract, DistributionKey. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CntrlPurContrHdrDistrAddrTP | I_CntrlPurContrHdrDistrAddrTP | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_CentralPurchaseContractTP | _CentralPurchaseContractTP | _CentralPurchaseContractTP.CentralPurchaseContract = $projection.CentralPurchaseContract |
| [1..1] | C_CntrlPurContrHdrDistrTP | _CntrlPurContrHdrDistrTP | _CntrlPurContrHdrDistrTP.CentralPurchaseContract = $projection.CentralPurchaseContract and _CntrlPurContrHdrDistrTP.DistributionKey = $projection.DistributionKey |
| [0..1] | I_Country | _Country | $projection.Country = _Country.Country |
| [0..1] | I_Region | _Region | $projection.Region = _Region.Region and $projection.Country = _Region.Country |
| [1..1] | I_TimeZone | _TimeZone | _TimeZone.TimeZoneID = $projection.AddressTimeZone |
| [0..1] | I_LanguageText | _LanguageText | _LanguageText.Language = $projection.CorrespondenceLanguage and _LanguageText.LanguageCode = $projection.CorrespondenceLanguage |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCPCHDISTRADDRTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| EndUserText.label | C-View for Deliv. Addr. in Central Contract Header Distrib. | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CentralPurchaseContract | CentralPurchaseContract | Purchasing Doc. | |
| KEY | DistributionKey | DistributionKey | Distr. Number | |
| CentralPurchaseContractItem | CentralPurchaseContractItem | Item in Central Purchase Contract | ||
| ManualDeliveryAddressID | ManualDeliveryAddressID | Address Number | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| Plant | Plant | Valuation Area | ||
| FullName | FullName | Name | ||
| StreetName | StreetName | Text | ||
| HouseNumber | HouseNumber | House Number | ||
| CorrespondenceLanguage | CorrespondenceLanguage | Language | ||
| POBox | POBox | PO Box | ||
| POBoxPostalCode | POBoxPostalCode | PO Box Postal Code | ||
| AddressTimeZone | AddressTimeZone | Time Zone | ||
| CityName | CityName | Name | ||
| PostalCode | PostalCode | Postal Code | ||
| CompanyPostalCode | CompanyPostalCode | Company Post Cd | ||
| Country | Country | Venue: Ctry/Reg | ||
| Region | Region | Venue Region | ||
| PhoneNumber | PhoneNumber | Telephone no. | ||
| FaxNumber | FaxNumber | Fax Number | ||
| _CentralPurchaseContractTP | _CentralPurchaseContractTP | |||
| _CntrlPurContrHdrDistrTP | _CntrlPurContrHdrDistrTP | |||
| _Country | _Country | |||
| _LanguageText | _LanguageText | |||
| _Region | _Region | |||
| _TimeZone | _TimeZone |
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_CntrlPurContrHdrDistrAddrTP.
-- 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: CCPCHDISTRADDRTP
CREATE VIEW C_CntrlPurContrHdrDistrAddrTP AS
SELECT
CentralPurchaseContract,
DistributionKey,
CentralPurchaseContractItem,
ManualDeliveryAddressID,
CompanyCode,
Plant,
FullName,
StreetName,
HouseNumber,
CorrespondenceLanguage,
POBox,
POBoxPostalCode,
AddressTimeZone,
CityName,
PostalCode,
CompanyPostalCode,
Country,
Region,
PhoneNumber,
FaxNumber
FROM I_CntrlPurContrHdrDistrAddrTP
LEFT OUTER JOIN C_CentralPurchaseContractTP AS _CentralPurchaseContractTP ON _CentralPurchaseContractTP.CentralPurchaseContract = CentralPurchaseContract -- association [1..1]
LEFT OUTER JOIN C_CntrlPurContrHdrDistrTP AS _CntrlPurContrHdrDistrTP ON _CntrlPurContrHdrDistrTP.CentralPurchaseContract = CentralPurchaseContract AND _CntrlPurContrHdrDistrTP.DistributionKey = DistributionKey -- association [1..1]
LEFT OUTER JOIN I_Country AS _Country ON Country = _Country.Country -- association [0..1]
LEFT OUTER JOIN I_Region AS _Region ON Region = _Region.Region AND Country = _Region.Country -- association [0..1]
LEFT OUTER JOIN I_TimeZone AS _TimeZone ON _TimeZone.TimeZoneID = AddressTimeZone -- association [1..1]
LEFT OUTER JOIN I_LanguageText AS _LanguageText ON _LanguageText.Language = CorrespondenceLanguage AND _LanguageText.LanguageCode = CorrespondenceLanguage -- 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