I_DeliveryPartnerAddress
Delivery Partner Address
I_DeliveryPartnerAddress is a Composite CDS View that provides data about "Delivery Partner Address" in SAP S/4HANA. It reads from 1 data source (I_SDDocumentCompletePartners) and exposes 52 fields with key fields DeliveryDocument, PartnerFunction. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SDDocumentCompletePartners | I_SDDocumentCompletePartners | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_DeliveryDocument | _DeliveryDocument | _DeliveryDocument.DeliveryDocument = I_SDDocumentCompletePartners.SDDocument |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IDLVPARTNERADDR | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Delivery Partner Address | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (52)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DeliveryDocument | I_SDDocumentCompletePartners | SDDocument | |
| KEY | PartnerFunction | I_SDDocumentCompletePartners | PartnerFunction | |
| AddressID | AddressID | |||
| FormOfAddress | _DfltAddrRprstn | FormOfAddress | ||
| BusinessPartnerName1 | _DfltAddrRprstn | OrganizationName1 | ||
| BusinessPartnerName2 | _DfltAddrRprstn | OrganizationName2 | ||
| BusinessPartnerName3 | _DfltAddrRprstn | OrganizationName3 | ||
| BusinessPartnerName4 | _DfltAddrRprstn | OrganizationName4 | ||
| PersonFamilyName | _DfltAddrRprstn | PersonFamilyName | ||
| PersonGivenName | _DfltAddrRprstn | PersonGivenName | ||
| Building | _DfltAddrRprstn | Building | ||
| Floor | _DfltAddrRprstn | Floor | ||
| RoomNumber | _DfltAddrRprstn | RoomNumber | ||
| CareOfName | _DfltAddrRprstn | CareOfName | ||
| StreetPrefixName | _DfltAddrRprstn | StreetPrefixName1 | ||
| AdditionalStreetPrefixName | _DfltAddrRprstn | StreetPrefixName2 | ||
| StreetName | _DfltAddrRprstn | StreetName | ||
| HouseNumber | _DfltAddrRprstn | HouseNumber | ||
| HouseNumberSupplementText | _DfltAddrRprstn | HouseNumberSupplementText | ||
| StreetSuffixName | _DfltAddrRprstn | StreetSuffixName1 | ||
| AdditionalStreetSuffixName | _DfltAddrRprstn | StreetSuffixName2 | ||
| District | _DfltAddrRprstn | DistrictName | ||
| HomeCityName | _DfltAddrRprstn | VillageName | ||
| PostalCode | _DfltAddrRprstn | PostalCode | ||
| CityName | _DfltAddrRprstn | CityName | ||
| County | _DfltAddrRprstn | SecondaryRegionName | ||
| Country | _DfltAddrRprstn | Country | ||
| Region | _DfltAddrRprstn | Region | ||
| AddressTimeZone | _DfltAddrRprstn | AddressTimeZone | ||
| TaxJurisdiction | _DfltAddrRprstn | TaxJurisdiction | ||
| TransportZone | _DfltAddrRprstn | TransportZone | ||
| POBox | _DfltAddrRprstn | POBox | ||
| POBoxIsWithoutNumber | _DfltAddrRprstn | POBoxIsWithoutNumber | ||
| DeliveryServiceTypeCode | _DfltAddrRprstn | DeliveryServiceTypeCode | ||
| DeliveryServiceNumber | _DfltAddrRprstn | DeliveryServiceNumber | ||
| POBoxLobbyName | _DfltAddrRprstn | POBoxLobbyName | ||
| POBoxPostalCode | _DfltAddrRprstn | POBoxPostalCode | ||
| POBoxDeviatingCityName | _DfltAddrRprstn | POBoxDeviatingCityName | ||
| POBoxDeviatingCountry | _DfltAddrRprstn | POBoxDeviatingCountry | ||
| POBoxDeviatingRegion | _DfltAddrRprstn | POBoxDeviatingRegion | ||
| CompanyPostalCode | _DfltAddrRprstn | CompanyPostalCode | ||
| AddressPostBoxUnusable | _DfltAddrRprstn | POBoxAddrNonDeliverableReason | ||
| CorrespondenceLanguage | _DfltAddrRprstn | CorrespondenceLanguage | ||
| PhoneNumber | ||||
| PhoneNumberExtension | ||||
| MobilePhoneNumber | ||||
| FaxNumber | ||||
| FaxNumberExtension | ||||
| EmailAddress | ||||
| PrfrdCommMediumType | _DfltAddrRprstn | PrfrdCommMediumType | ||
| _PartnerFunction | _PartnerFunction | |||
| _DeliveryDocument | _DeliveryDocument |
@AbapCatalog: {
sqlViewName: 'IDLVPARTNERADDR',
preserveKey: true,
compiler.compareFilter: true
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Delivery Partner Address'
@AccessControl: {
authorizationCheck: #CHECK,
personalData.blocking: #BLOCKED_DATA_EXCLUDED
}
@VDM.viewType: #COMPOSITE
@ObjectModel: {
usageType.dataClass: #TRANSACTIONAL,
usageType.serviceQuality: #C,
usageType.sizeCategory: #L
}
define view I_DeliveryPartnerAddress as select from I_SDDocumentCompletePartners
association [0..1] to I_DeliveryDocument as _DeliveryDocument on _DeliveryDocument.DeliveryDocument = I_SDDocumentCompletePartners.SDDocument
{
key I_SDDocumentCompletePartners.SDDocument as DeliveryDocument,
key I_SDDocumentCompletePartners.PartnerFunction,
AddressID,
///////////////////
// Section: Name //
///////////////////
// Title
_DfltAddrRprstn.FormOfAddress,
//Name for organisation
_DfltAddrRprstn.OrganizationName1 as BusinessPartnerName1,
_DfltAddrRprstn.OrganizationName2 as BusinessPartnerName2,
_DfltAddrRprstn.OrganizationName3 as BusinessPartnerName3,
_DfltAddrRprstn.OrganizationName4 as BusinessPartnerName4,
//Name for person
_DfltAddrRprstn.PersonFamilyName,
_DfltAddrRprstn.PersonGivenName,
/////////////////////////////
// Section: Street Address //
/////////////////////////////
// Buildling Code ... Room ... Floor
_DfltAddrRprstn.Building,
_DfltAddrRprstn.Floor,
_DfltAddrRprstn.RoomNumber,
// c/o
_DfltAddrRprstn.CareOfName,
// Street 2
_DfltAddrRprstn.StreetPrefixName1 as StreetPrefixName,
// Street 3
_DfltAddrRprstn.StreetPrefixName2 as AdditionalStreetPrefixName,
// Street ... House Number ... Suppl.
_DfltAddrRprstn.StreetName,
_DfltAddrRprstn.HouseNumber,
_DfltAddrRprstn.HouseNumberSupplementText,
// Street 4
_DfltAddrRprstn.StreetSuffixName1 as StreetSuffixName,
// Street 5
_DfltAddrRprstn.StreetSuffixName2 as AdditionalStreetSuffixName,
// District
_DfltAddrRprstn.DistrictName as District,
// Home City
_DfltAddrRprstn.VillageName as HomeCityName,
// Postal Code ... City
_DfltAddrRprstn.PostalCode,
_DfltAddrRprstn.CityName,
// County
_DfltAddrRprstn.SecondaryRegionName as County,
// Township
// ???
// Country
_DfltAddrRprstn.Country,
// Region
_DfltAddrRprstn.Region,
// Time Zone ... Tax Juris.
_DfltAddrRprstn.AddressTimeZone,
_DfltAddrRprstn.TaxJurisdiction,
// Transportation Zone
_DfltAddrRprstn.TransportZone,
// Structure Group
// ???
// Undeliverable
// ???
/////////////////////////////
// Section: PO Box Address //
/////////////////////////////
// PO Box ... PO box w/o no.
_DfltAddrRprstn.POBox,
_DfltAddrRprstn.POBoxIsWithoutNumber,
// Dlvry Serv/Dlvry No
_DfltAddrRprstn.DeliveryServiceTypeCode,
_DfltAddrRprstn.DeliveryServiceNumber,
// PO Box Lobby
_DfltAddrRprstn.POBoxLobbyName,
// Postal code ... Other City
_DfltAddrRprstn.POBoxPostalCode,
_DfltAddrRprstn.POBoxDeviatingCityName,
// Other Country ... Other Region
_DfltAddrRprstn.POBoxDeviatingCountry,
_DfltAddrRprstn.POBoxDeviatingRegion,
// Company Postal Code
_DfltAddrRprstn.CompanyPostalCode,
// Undeliverable
_DfltAddrRprstn.POBoxAddrNonDeliverableReason as AddressPostBoxUnusable,
////////////////////////////
// Section: Communication //
////////////////////////////
_DfltAddrRprstn.CorrespondenceLanguage,
// Telephone ... Extension
_DfltAddrRprstn._CurrentDfltLandlinePhoneNmbr.PhoneAreaCodeSubscriberNumber as PhoneNumber,
_DfltAddrRprstn._CurrentDfltLandlinePhoneNmbr.PhoneExtensionNumber as PhoneNumberExtension,
// Cell Phone
_DfltAddrRprstn._CurrentDfltMobilePhoneNumber.PhoneAreaCodeSubscriberNumber as MobilePhoneNumber,
// Fax ... Extension
_DfltAddrRprstn._CurrentDfltFaxNumber.FaxAreaCodeSubscriberNumber as FaxNumber,
_DfltAddrRprstn._CurrentDfltFaxNumber.FaxExtensionNumber as FaxNumberExtension,
// E-Mail
_DfltAddrRprstn._CurrentDfltEmailAddress.EmailAddress,
// Standard Method
_DfltAddrRprstn.PrfrdCommMediumType,
// Data line
// ???
// Telebox
// ???
// Comments
// ???
/////////////////////////////////
// Section: Further Attributes //
/////////////////////////////////
// Unload.Point
// ???
// VAT RegNo
// ???
_PartnerFunction,
_DeliveryDocument
}
where I_SDDocumentCompletePartners.SDDocumentItem is initial and (
_DeliveryDocument.SDDocumentCategory = 'J' or
_DeliveryDocument.SDDocumentCategory = '7' or
_DeliveryDocument.SDDocumentCategory = 'T' );
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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