C_PurCtrItemAddress
Contract Item Address Information
C_PurCtrItemAddress is a Consumption CDS View that provides data about "Contract Item Address Information" in SAP S/4HANA. It reads from 1 data source (I_PurCtrAddressWD) and exposes 55 fields with key fields PurchaseContract, PurchaseContractItem. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PurCtrAddressWD | Document | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_ContractMaintainItem | _PurchaseContractItemWD | _PurchaseContractItemWD.PurchaseContractItem = $projection.PurchaseContractItem and _PurchaseContractItemWD.PurchaseContract = $projection.PurchaseContract |
| [1..1] | C_ContractMaintain | _PurchaseContractWD | $projection.PurchaseContract = _PurchaseContractWD.PurchaseContract |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPURCTRITMADDR | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Contract Item Address Information | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| Search.searchable | true | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view |
Fields (55)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseContract | I_PurCtrAddressWD | PurchaseContract | Purchasing Doc. |
| KEY | PurchaseContractItem | I_PurCtrAddressWD | PurchaseContractItem | Item |
| AddressID | I_PurCtrAddressWD | AddressID | Ship-to address | |
| PurchaseContractItemForEdit | I_PurCtrAddressWD | PurchaseContractItemForEdit | Item | |
| AddressIDForEdit | I_PurCtrAddressWD | AddressIDForEdit | Address Number | |
| PurchaseContractForEdit | I_PurCtrAddressWD | PurchaseContractForEdit | Purchase Contract | |
| Plant | I_PurCtrAddressWD | Plant | Valuation Area | |
| CareOfName | I_PurCtrAddressWD | CareOfName | c/o | |
| AdditionalStreetSuffixName | I_PurCtrAddressWD | AdditionalStreetSuffixName | Street 5 | |
| CorrespondenceLanguage | I_PurCtrAddressWD | CorrespondenceLanguage | Language | |
| PrfrdCommMediumType | I_PurCtrAddressWD | PrfrdCommMediumType | Comm. Method | |
| POBox | I_PurCtrAddressWD | POBox | P.O. Box | |
| POBoxLobbyName | I_PurCtrAddressWD | POBoxLobbyName | P.O.Box Lobby | |
| POBoxIsWithoutNumber | I_PurCtrAddressWD | POBoxIsWithoutNumber | PO Box w/o No. | |
| POBoxPostalCode | I_PurCtrAddressWD | POBoxPostalCode | PO Box Postal Code | |
| POBoxDeviatingCityName | I_PurCtrAddressWD | POBoxDeviatingCityName | PO Box City | |
| POBoxDeviatingRegion | I_PurCtrAddressWD | POBoxDeviatingRegion | PO Region | |
| POBoxDeviatingCountry | I_PurCtrAddressWD | POBoxDeviatingCountry | PO Box C/R | |
| DeliveryServiceTypeCode | I_PurCtrAddressWD | DeliveryServiceTypeCode | Delvry Serv Type | |
| DeliveryServiceNumber | I_PurCtrAddressWD | DeliveryServiceNumber | Delivery Service No. | |
| AddressTimeZone | I_PurCtrAddressWD | AddressTimeZone | Time Zone | |
| FullName | I_PurCtrAddressWD | FullName | Name | |
| CityName | I_PurCtrAddressWD | CityName | Name | |
| District | I_PurCtrAddressWD | District | District Court | |
| CityCode | I_PurCtrAddressWD | CityCode | IATA: City | |
| HomeCityName | I_PurCtrAddressWD | HomeCityName | Different City | |
| PostalCode | I_PurCtrAddressWD | PostalCode | Postal Code | |
| CompanyPostalCode | I_PurCtrAddressWD | CompanyPostalCode | Company Post Cd | |
| StreetName | I_PurCtrAddressWD | StreetName | Text | |
| StreetPrefixName | I_PurCtrAddressWD | StreetPrefixName | Street 2 | |
| AdditionalStreetPrefixName | I_PurCtrAddressWD | AdditionalStreetPrefixName | Street 3 | |
| StreetSuffixName | I_PurCtrAddressWD | StreetSuffixName | Street 4 | |
| HouseNumber | I_PurCtrAddressWD | HouseNumber | House Number | |
| HouseNumberSupplementText | I_PurCtrAddressWD | HouseNumberSupplementText | Supplement | |
| Building | I_PurCtrAddressWD | Building | Building code | |
| Floor | I_PurCtrAddressWD | Floor | Floor | |
| RoomNumber | I_PurCtrAddressWD | RoomNumber | Room Number | |
| Country | I_PurCtrAddressWD | Country | Venue: Ctry/Reg | |
| Region | I_PurCtrAddressWD | Region | Venue Region | |
| County | I_PurCtrAddressWD | County | Wyoming County | |
| FormOfAddress | I_PurCtrAddressWD | FormOfAddress | Title Key | |
| ConsigneeName3 | I_PurCtrAddressWD | ConsigneeName3 | Name 3 | |
| ConsigneeName4 | I_PurCtrAddressWD | ConsigneeName4 | Name 4 | |
| TaxJurisdiction | I_PurCtrAddressWD | TaxJurisdiction | Tax Jurisdiction | |
| TransportZone | I_PurCtrAddressWD | TransportZone | Transport Zone | |
| PhoneNumber | I_PurCtrAddressWD | PhoneNumber | Telephone no. | |
| MobilePhoneNumber | I_PurCtrAddressWD | MobilePhoneNumber | Telephone | |
| FaxNumber | I_PurCtrAddressWD | FaxNumber | Fax Number | |
| EmailAddress | I_PurCtrAddressWD | EmailAddress | E-Mail Address | |
| _Country | _Country | |||
| _LanguageText | _LanguageText | |||
| _Region | _Region | |||
| _TimeZone | _TimeZone | |||
| _PurchaseContractItemWD | _PurchaseContractItemWD | |||
| _PurchaseContractWD | _PurchaseContractWD |
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_PurCtrItemAddress.
-- 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: CPURCTRITMADDR
CREATE VIEW C_PurCtrItemAddress AS
SELECT
Document.PurchaseContract AS PurchaseContract,
Document.PurchaseContractItem AS PurchaseContractItem,
Document.AddressID AS AddressID,
Document.PurchaseContractItemForEdit AS PurchaseContractItemForEdit,
Document.AddressIDForEdit AS AddressIDForEdit,
Document.PurchaseContractForEdit AS PurchaseContractForEdit,
Document.Plant AS Plant,
Document.CareOfName AS CareOfName,
Document.AdditionalStreetSuffixName AS AdditionalStreetSuffixName,
Document.CorrespondenceLanguage AS CorrespondenceLanguage,
Document.PrfrdCommMediumType AS PrfrdCommMediumType,
Document.POBox AS POBox,
Document.POBoxLobbyName AS POBoxLobbyName,
Document.POBoxIsWithoutNumber AS POBoxIsWithoutNumber,
Document.POBoxPostalCode AS POBoxPostalCode,
Document.POBoxDeviatingCityName AS POBoxDeviatingCityName,
Document.POBoxDeviatingRegion AS POBoxDeviatingRegion,
Document.POBoxDeviatingCountry AS POBoxDeviatingCountry,
Document.DeliveryServiceTypeCode AS DeliveryServiceTypeCode,
Document.DeliveryServiceNumber AS DeliveryServiceNumber,
Document.AddressTimeZone AS AddressTimeZone,
Document.FullName AS FullName,
Document.CityName AS CityName,
Document.District AS District,
Document.CityCode AS CityCode,
Document.HomeCityName AS HomeCityName,
Document.PostalCode AS PostalCode,
Document.CompanyPostalCode AS CompanyPostalCode,
Document.StreetName AS StreetName,
Document.StreetPrefixName AS StreetPrefixName,
Document.AdditionalStreetPrefixName AS AdditionalStreetPrefixName,
Document.StreetSuffixName AS StreetSuffixName,
Document.HouseNumber AS HouseNumber,
Document.HouseNumberSupplementText AS HouseNumberSupplementText,
Document.Building AS Building,
Document.Floor AS Floor,
Document.RoomNumber AS RoomNumber,
Document.Country AS Country,
Document.Region AS Region,
Document.County AS County,
Document.FormOfAddress AS FormOfAddress,
Document.ConsigneeName3 AS ConsigneeName3,
Document.ConsigneeName4 AS ConsigneeName4,
Document.TaxJurisdiction AS TaxJurisdiction,
Document.TransportZone AS TransportZone,
Document.PhoneNumber AS PhoneNumber,
Document.MobilePhoneNumber AS MobilePhoneNumber,
Document.FaxNumber AS FaxNumber,
Document.EmailAddress AS EmailAddress
FROM I_PurCtrAddressWD AS Document
LEFT OUTER JOIN C_ContractMaintainItem AS _PurchaseContractItemWD ON _PurchaseContractItemWD.PurchaseContractItem = PurchaseContractItem AND _PurchaseContractItemWD.PurchaseContract = PurchaseContract -- association [1..1]
LEFT OUTER JOIN C_ContractMaintain AS _PurchaseContractWD ON PurchaseContract = _PurchaseContractWD.PurchaseContract -- association [1..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