R_SrcgProjItmDeliveryAddressTP
Delivery Address for Item in SrcPrj - TP
R_SrcgProjItmDeliveryAddressTP is a Transactional CDS View that provides data about "Delivery Address for Item in SrcPrj - TP" in SAP S/4HANA. It reads from 1 data source (R_SrcgProjItmDeliveryAddress) and exposes 41 fields with key field SrcgProjAddressUUID. It has 4 associations to related views. Part of development package RAP_MM_PUR_SRCGPROJ.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_SrcgProjItmDeliveryAddress | R_SrcgProjItmDeliveryAddress | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_SourcingProjectTP | _SourcingProject | $projection.SourcingProjectUUID = _SourcingProject.SourcingProjectUUID |
| [0..1] | I_Address_2 | _Address | $projection.SrcgProjAddressID = _Address.AddressID and _Address.AddressPersonID = '' and _Address.AddressRepresentationCode = '' |
| [0..*] | I_SrcgProjSourcingOriginText | _SrcgProjSourcingOriginText | $projection.SourcingOrigin = _SrcgProjSourcingOriginText.SourcingOrigin |
| [0..*] | I_SrcgProjSourcingScenarioText | _SrcgProjSourcingScenarioText | $projection.SourcingScenario = _SrcgProjSourcingScenarioText.SourcingScenario |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.representativeKey | SrcgProjAddressUUID | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| EndUserText.label | Delivery Address for Item in SrcPrj - TP | view |
Fields (41)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SrcgProjAddressUUID | SrcgProjAddressUUID | Delivery Address UUID | |
| SrcgProjAddressID | SrcgProjAddressID | Address Number in Sourcing Project | ||
| AddressID | _Address | AddressID | Ship-to address | |
| SourcingProjectUUID | SourcingProjectUUID | Sourcing Project UUID | ||
| SourcingProjectItemUUID | SourcingProjectItemUUID | Item UUID | ||
| SourcingOrigin | SourcingOrigin | Sourcing Origin | ||
| SourcingScenario | SourcingScenario | Integration Scenario | ||
| FullName | ||||
| HouseNumber | _Address | HouseNumber | House Number | |
| StreetName | _Address | StreetName | Text | |
| CityName | _Address | CityName | Name | |
| Region | _Address | Region | Venue Region | |
| PostalCode | _Address | PostalCode | Postal Code | |
| Country | ||||
| County | _Address | SecondaryRegionName | County | |
| District | _Address | DistrictName | District | |
| SecondaryRegionName | _Address | SecondaryRegionName | County | |
| DistrictName | _Address | DistrictName | District | |
| Building | _Address | Building | Building code | |
| RoomNumber | _Address | RoomNumber | Room Number | |
| Floor | _Address | Floor | Floor | |
| PhoneNumber | ||||
| EmailAddress | ||||
| FaxNumber | ||||
| POBox | _Address | POBox | PO Box | |
| POBoxPostalCode | _Address | POBoxPostalCode | PO Box Postal Code | |
| FormOfAddress | _Address | FormOfAddress | Title Key | |
| AddressType | ||||
| AddressOwnerObjectID | ||||
| AddressIsChangedManually | ||||
| ActiveAddressIsManual | ActiveAddressIsManual | Address is Manual | ||
| AddressOwnerTableName | ||||
| AddressOwnerFieldName | ||||
| ReferenceAddressID | ||||
| ReferenceObjectID | ||||
| ReferenceAddressType | ||||
| _Address | _Address | |||
| _SourcingProject | _SourcingProject | |||
| _SourcingProjectItem | _SourcingProjectItem | |||
| _SrcgProjSourcingOriginText | _SrcgProjSourcingOriginText | |||
| _SrcgProjSourcingScenarioText | _SrcgProjSourcingScenarioText |
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 R_SrcgProjItmDeliveryAddressTP.
-- 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 R_SrcgProjItmDeliveryAddressTP AS
SELECT
SrcgProjAddressUUID,
SrcgProjAddressID,
_Address.AddressID AS AddressID,
SourcingProjectUUID,
SourcingProjectItemUUID,
SourcingOrigin,
SourcingScenario,
cast( _Address.AddresseeFullName as caaddr_fullname preserving type ) AS FullName,
_Address.HouseNumber AS HouseNumber,
_Address.StreetName AS StreetName,
_Address.CityName AS CityName,
_Address.Region AS Region,
_Address.PostalCode AS PostalCode,
cast( _Address.Country as caaddr_country preserving type ) AS Country,
_Address.SecondaryRegionName AS County,
_Address.DistrictName AS District,
_Address.SecondaryRegionName AS SecondaryRegionName,
_Address.DistrictName AS DistrictName,
_Address.Building AS Building,
_Address.RoomNumber AS RoomNumber,
_Address.Floor AS Floor,
cast ( _Address._CurrentDfltLandlinePhoneNmbr.PhoneAreaCodeSubscriberNumber as caaddr_phonenr preserving type ) AS PhoneNumber,
cast ( _Address._CurrentDfltEmailAddress.EmailAddress as caaddr_smtpadr preserving type ) AS EmailAddress,
cast ( _Address._CurrentDfltFaxNumber.FaxAreaCodeSubscriberNumber as telfx ) AS FaxNumber,
_Address.POBox AS POBox,
_Address.POBoxPostalCode AS POBoxPostalCode,
_Address.FormOfAddress AS FormOfAddress,
cast( '' as bu_adrkind ) AS AddressType,
cast( '' as vdm_addressownerobjectid ) AS AddressOwnerObjectID,
cast( '' as boolean ) AS AddressIsChangedManually,
ActiveAddressIsManual,
cast( '' as ad_appltab ) AS AddressOwnerTableName,
cast( '' as ad_applfld ) AS AddressOwnerFieldName,
cast( '' as vdm_referenceaddressid ) AS ReferenceAddressID,
cast( '' as vdm_referenceobjectid ) AS ReferenceObjectID,
cast( '' as vdm_referenceaddresstype ) AS ReferenceAddressType
FROM R_SrcgProjItmDeliveryAddress
LEFT OUTER JOIN R_SourcingProjectTP AS _SourcingProject ON SourcingProjectUUID = _SourcingProject.SourcingProjectUUID -- association [1..1]
LEFT OUTER JOIN I_Address_2 AS _Address ON SrcgProjAddressID = _Address.AddressID AND _Address.AddressPersonID = '' AND _Address.AddressRepresentationCode = '' -- association [0..1]
LEFT OUTER JOIN I_SrcgProjSourcingOriginText AS _SrcgProjSourcingOriginText ON SourcingOrigin = _SrcgProjSourcingOriginText.SourcingOrigin -- association [0..*]
LEFT OUTER JOIN I_SrcgProjSourcingScenarioText AS _SrcgProjSourcingScenarioText ON SourcingScenario = _SrcgProjSourcingScenarioText.SourcingScenario -- association [0..*]
;
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