C_PurchaseReqnDelivAdd
Purchase Reqn Delivery Address C View
C_PurchaseReqnDelivAdd is a Consumption CDS View that provides data about "Purchase Reqn Delivery Address C View" in SAP S/4HANA. It reads from 1 data source (T_PurchaseReqnDeliveryAdd) and exposes 64 fields with key fields PurchaseRequisitionItem, PurchaseRequisition. It has 5 associations to related views. Part of development package ODATA_MM_PUR_REQ_MAINTAIN_PROF.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| T_PurchaseReqnDeliveryAdd | Document | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_PurchaseReqnItem | _PurchaseReqnItem | _PurchaseReqnItem.PurchaseRequisition = $projection.PurchaseRequisition and _PurchaseReqnItem.PurchaseRequisitionItem = $projection.PurchaseRequisitionItem |
| [1..1] | C_PurchaseReqnHeader | _PurchaseReqn | _PurchaseReqn.PurchaseRequisition = $projection.PurchaseRequisition |
| [0..1] | C_MM_CountryValueHelp | _CountryValueHelp | _CountryValueHelp.Country = $projection.Country |
| [0..1] | C_MM_RegionValueHelp | _RegionValueHelp | _RegionValueHelp.Region = $projection.Region and _RegionValueHelp.Country = $projection.Country |
| [0..1] | C_PurchaseReqnAddressTypeVH | _AddressTypeVH | _AddressTypeVH.AddressType = $projection.AddressType |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPURREQNDELIVADD | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Purchase Reqn Delivery Address C View | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| UI.headerInfo.typeName | Delivery Address | view | |
| UI.headerInfo.typeNamePlural | Delivery Address | view | |
| UI.headerInfo.title.value | PurchaseRequisitionItem | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view |
Fields (64)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseRequisitionItem | T_PurchaseReqnDeliveryAdd | PurchaseRequisitionItem | Requisn. item |
| KEY | PurchaseRequisition | T_PurchaseReqnDeliveryAdd | PurchaseRequisition | Requisition |
| AddressID | T_PurchaseReqnDeliveryAdd | AddressID | Ship-to address | |
| AddressIDForEdit | T_PurchaseReqnDeliveryAdd | AddressIDForEdit | Address Number | |
| AddressType | T_PurchaseReqnDeliveryAdd | AddressType | Address Type | |
| AddressTypeDesc | _AddressTypeVH | AddressTypeDesc | Short Description | |
| Plant | T_PurchaseReqnDeliveryAdd | Plant | Valuation Area | |
| StorageLocation | T_PurchaseReqnDeliveryAdd | StorageLocation | StorageLocation | |
| ManualDeliveryAddressID | T_PurchaseReqnDeliveryAdd | ManualDeliveryAddressID | Address Number | |
| ItemDeliveryAddressID | T_PurchaseReqnDeliveryAdd | ItemDeliveryAddressID | Address Number | |
| CareOfName | T_PurchaseReqnDeliveryAdd | CareOfName | c/o | |
| AdditionalStreetSuffixName | T_PurchaseReqnDeliveryAdd | AdditionalStreetSuffixName | Street 5 | |
| CorrespondenceLanguage | T_PurchaseReqnDeliveryAdd | CorrespondenceLanguage | Language | |
| PrfrdCommMediumType | T_PurchaseReqnDeliveryAdd | PrfrdCommMediumType | Comm. Method | |
| POBox | T_PurchaseReqnDeliveryAdd | POBox | PO Box | |
| POBoxIsWithoutNumber | T_PurchaseReqnDeliveryAdd | POBoxIsWithoutNumber | PO Box w/o No. | |
| POBoxPostalCode | T_PurchaseReqnDeliveryAdd | POBoxPostalCode | PO Box Postal Code | |
| POBoxLobbyName | T_PurchaseReqnDeliveryAdd | POBoxLobbyName | PO Box Lobby | |
| POBoxDeviatingCityName | T_PurchaseReqnDeliveryAdd | POBoxDeviatingCityName | PO Box City | |
| POBoxDeviatingRegion | T_PurchaseReqnDeliveryAdd | POBoxDeviatingRegion | PO Region | |
| POBoxDeviatingCountry | T_PurchaseReqnDeliveryAdd | POBoxDeviatingCountry | PO Box C/R | |
| DeliveryServiceTypeCode | T_PurchaseReqnDeliveryAdd | DeliveryServiceTypeCode | Delvry Serv Type | |
| DeliveryServiceNumber | T_PurchaseReqnDeliveryAdd | DeliveryServiceNumber | Delivery Service No. | |
| AddressTimeZone | T_PurchaseReqnDeliveryAdd | AddressTimeZone | Time Zone | |
| FullName | T_PurchaseReqnDeliveryAdd | FullName | Name | |
| CityName | T_PurchaseReqnDeliveryAdd | CityName | Name | |
| District | T_PurchaseReqnDeliveryAdd | District | District Court | |
| CityCode | T_PurchaseReqnDeliveryAdd | CityCode | IATA: City | |
| HomeCityName | T_PurchaseReqnDeliveryAdd | HomeCityName | Different City | |
| PostalCode | T_PurchaseReqnDeliveryAdd | PostalCode | Postal Code | |
| CompanyPostalCode | T_PurchaseReqnDeliveryAdd | CompanyPostalCode | Company Post Cd | |
| StreetName | T_PurchaseReqnDeliveryAdd | StreetName | Text | |
| StreetPrefixName | T_PurchaseReqnDeliveryAdd | StreetPrefixName | Street 2 | |
| AdditionalStreetPrefixName | T_PurchaseReqnDeliveryAdd | AdditionalStreetPrefixName | Street 3 | |
| StreetSuffixName | T_PurchaseReqnDeliveryAdd | StreetSuffixName | Street 4 | |
| HouseNumber | T_PurchaseReqnDeliveryAdd | HouseNumber | House Number | |
| HouseNumberSupplementText | T_PurchaseReqnDeliveryAdd | HouseNumberSupplementText | Supplement | |
| Building | T_PurchaseReqnDeliveryAdd | Building | Building code | |
| Floor | T_PurchaseReqnDeliveryAdd | Floor | Floor | |
| RoomNumber | T_PurchaseReqnDeliveryAdd | RoomNumber | Room Number | |
| Country | T_PurchaseReqnDeliveryAdd | Country | Venue: Ctry/Reg | |
| Region | T_PurchaseReqnDeliveryAdd | Region | Venue Region | |
| County | T_PurchaseReqnDeliveryAdd | County | Wyoming County | |
| FormOfAddress | T_PurchaseReqnDeliveryAdd | FormOfAddress | Title Key | |
| BusinessPartnerName1 | T_PurchaseReqnDeliveryAdd | BusinessPartnerName1 | Recipient Name 1 | |
| BusinessPartnerName2 | T_PurchaseReqnDeliveryAdd | BusinessPartnerName2 | Recipient Name 2 | |
| Nation | T_PurchaseReqnDeliveryAdd | Nation | Country/Region | |
| PhoneNumber | T_PurchaseReqnDeliveryAdd | PhoneNumber | Telephone no. | |
| FaxNumber | T_PurchaseReqnDeliveryAdd | FaxNumber | Fax Number | |
| SearchTerm1 | T_PurchaseReqnDeliveryAdd | SearchTerm1 | Search Term 1 | |
| StreetSearch | T_PurchaseReqnDeliveryAdd | StreetSearch | ||
| CitySearch | T_PurchaseReqnDeliveryAdd | CitySearch | ||
| BusinessPartnerName3 | T_PurchaseReqnDeliveryAdd | BusinessPartnerName3 | Recipient Name 3 | |
| BusinessPartnerName4 | T_PurchaseReqnDeliveryAdd | BusinessPartnerName4 | Recipient Name 4 | |
| TaxJurisdiction | T_PurchaseReqnDeliveryAdd | TaxJurisdiction | Tax Jurisdiction | |
| TransportZone | T_PurchaseReqnDeliveryAdd | TransportZone | Transport Zone | |
| Person | T_PurchaseReqnDeliveryAdd | Person | Person/ Farm/ Field | |
| PlantText | T_PurchaseReqnDeliveryAdd | PlantText | Plant Name | |
| _FormOfAddress | T_PurchaseReqnDeliveryAdd | _FormOfAddress | ||
| _Region | T_PurchaseReqnDeliveryAdd | _Region | ||
| _CountryValueHelp | _CountryValueHelp | |||
| _RegionValueHelp | _RegionValueHelp | |||
| _PurchaseReqnItem | _PurchaseReqnItem | |||
| _PurchaseReqn | _PurchaseReqn |
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_PurchaseReqnDelivAdd.
-- 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: CPURREQNDELIVADD
CREATE VIEW C_PurchaseReqnDelivAdd AS
SELECT
Document.PurchaseRequisitionItem AS PurchaseRequisitionItem,
Document.PurchaseRequisition AS PurchaseRequisition,
Document.AddressID AS AddressID,
Document.AddressIDForEdit AS AddressIDForEdit,
Document.AddressType AS AddressType,
_AddressTypeVH.AddressTypeDesc AS AddressTypeDesc,
Document.Plant AS Plant,
Document.StorageLocation AS StorageLocation,
Document.ManualDeliveryAddressID AS ManualDeliveryAddressID,
Document.ItemDeliveryAddressID AS ItemDeliveryAddressID,
Document.CareOfName AS CareOfName,
Document.AdditionalStreetSuffixName AS AdditionalStreetSuffixName,
Document.CorrespondenceLanguage AS CorrespondenceLanguage,
Document.PrfrdCommMediumType AS PrfrdCommMediumType,
Document.POBox AS POBox,
Document.POBoxIsWithoutNumber AS POBoxIsWithoutNumber,
Document.POBoxPostalCode AS POBoxPostalCode,
Document.POBoxLobbyName AS POBoxLobbyName,
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.BusinessPartnerName1 AS BusinessPartnerName1,
Document.BusinessPartnerName2 AS BusinessPartnerName2,
Document.Nation AS Nation,
Document.PhoneNumber AS PhoneNumber,
Document.FaxNumber AS FaxNumber,
Document.SearchTerm1 AS SearchTerm1,
Document.StreetSearch AS StreetSearch,
Document.CitySearch AS CitySearch,
Document.BusinessPartnerName3 AS BusinessPartnerName3,
Document.BusinessPartnerName4 AS BusinessPartnerName4,
Document.TaxJurisdiction AS TaxJurisdiction,
Document.TransportZone AS TransportZone,
Document.Person AS Person,
Document.PlantText AS PlantText,
Document._FormOfAddress AS _FormOfAddress,
Document._Region AS _Region
FROM T_PurchaseReqnDeliveryAdd AS Document
LEFT OUTER JOIN C_PurchaseReqnItem AS _PurchaseReqnItem ON _PurchaseReqnItem.PurchaseRequisition = PurchaseRequisition AND _PurchaseReqnItem.PurchaseRequisitionItem = PurchaseRequisitionItem -- association [1..1]
LEFT OUTER JOIN C_PurchaseReqnHeader AS _PurchaseReqn ON _PurchaseReqn.PurchaseRequisition = PurchaseRequisition -- association [1..1]
LEFT OUTER JOIN C_MM_CountryValueHelp AS _CountryValueHelp ON _CountryValueHelp.Country = Country -- association [0..1]
LEFT OUTER JOIN C_MM_RegionValueHelp AS _RegionValueHelp ON _RegionValueHelp.Region = Region AND _RegionValueHelp.Country = Country -- association [0..1]
LEFT OUTER JOIN C_PurchaseReqnAddressTypeVH AS _AddressTypeVH ON _AddressTypeVH.AddressType = AddressType -- 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