R_PPS_PurContrDelivAddressTP
Purchase Contract Address
R_PPS_PurContrDelivAddressTP is a Transactional CDS View that provides data about "Purchase Contract Address" in SAP S/4HANA. It reads from 1 data source (I_PurCtrAddress) and exposes 50 fields with key fields PurchaseContract, PurchaseContractItem, AddressID.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PurCtrAddress | I_PurCtrAddress | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Purchase Contract Address | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (50)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseContract | PurchaseContract | ||
| KEY | PurchaseContractItem | PurchaseContractItem | ||
| KEY | AddressID | AddressID | ||
| Plant | Plant | |||
| CareOfName | CareOfName | |||
| AdditionalStreetSuffixName | AdditionalStreetSuffixName | |||
| CorrespondenceLanguage | CorrespondenceLanguage | |||
| PrfrdCommMediumType | PrfrdCommMediumType | |||
| POBox | POBox | |||
| POBoxIsWithoutNumber | POBoxIsWithoutNumber | |||
| POBoxPostalCode | POBoxPostalCode | |||
| POBoxLobbyName | POBoxLobbyName | |||
| POBoxDeviatingCityName | POBoxDeviatingCityName | |||
| POBoxDeviatingRegion | POBoxDeviatingRegion | |||
| POBoxDeviatingCountry | POBoxDeviatingCountry | |||
| DeliveryServiceTypeCode | DeliveryServiceTypeCode | |||
| DeliveryServiceNumber | DeliveryServiceNumber | |||
| AddressTimeZone | AddressTimeZone | |||
| FullName | FullName | |||
| CityName | CityName | |||
| DistrictName | District | |||
| ProcmtHubCityCode | CityCode | |||
| HomeCityName | HomeCityName | |||
| PostalCode | PostalCode | |||
| CompanyPostalCode | CompanyPostalCode | |||
| StreetName | StreetName | |||
| StreetPrefixName | StreetPrefixName | |||
| AdditionalStreetPrefixName | AdditionalStreetPrefixName | |||
| StreetSuffixName | StreetSuffixName | |||
| HouseNumber | HouseNumber | |||
| HouseNumberSupplementText | HouseNumberSupplementText | |||
| Building | Building | |||
| Floor | Floor | |||
| RoomNumber | RoomNumber | |||
| Country | Country | |||
| Region | Region | |||
| PurContrCountyText | County | |||
| FormOfAddress | FormOfAddress | |||
| ConsigneeName3 | ConsigneeName3 | |||
| ConsigneeName4 | ConsigneeName4 | |||
| TaxJurisdiction | TaxJurisdiction | |||
| TransportZone | TransportZone | |||
| PhoneNumber | PhoneNumber | |||
| MobilePhoneNumber | MobilePhoneNumber | |||
| AddressFaxNumber | FaxNumber | |||
| EmailAddress | EmailAddress | |||
| LastChangeDateTime | _PurchaseContract | LastChangeDateTime | ||
| PPSFieldChangeIndicatorBinary | ||||
| _PurchaseContract | _PurchaseContract | |||
| _PurchaseContractItem | _PurchaseContractItem |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #REQUIRED
@EndUserText.label: 'Purchase Contract Address'
@VDM.viewType: #TRANSACTIONAL
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@ObjectModel.semanticKey: [ 'PurchaseContract','PurchaseContractItem' ]
@ObjectModel.usageType:{
serviceQuality: #D,
sizeCategory: #XL,
dataClass: #MIXED
}
@Metadata.ignorePropagatedAnnotations: true
//BoC @JIRA-KEY:S4PPS-4885
define view entity R_PPS_PurContrDelivAddressTP
as select from I_PurCtrAddress
association to parent R_PPS_PurchaseContractItemTP as _PurchaseContractItem on _PurchaseContractItem.PurchaseContractItem = $projection.PurchaseContractItem
and _PurchaseContractItem.PurchaseContract = $projection.PurchaseContract
association to R_PPS_PurchaseContractTP as _PurchaseContract on _PurchaseContract.PurchaseContract = $projection.PurchaseContract
// association [1..1] to P_PPS_PurContrControlFlag as _ControlFlag on $projection.PurchaseContract = _ControlFlag.Purchasecontract
// and $projection.PurchaseContractItem = _ControlFlag.Purchasecontractitem
{
@ObjectModel.foreignKey.association: '_PurchaseContract'
key PurchaseContract,
@ObjectModel.foreignKey.association: '_PurchaseContractItem'
key PurchaseContractItem,
key AddressID,
Plant,
CareOfName,
AdditionalStreetSuffixName,
CorrespondenceLanguage,
PrfrdCommMediumType,
POBox,
POBoxIsWithoutNumber,
POBoxPostalCode,
POBoxLobbyName,
POBoxDeviatingCityName,
POBoxDeviatingRegion,
POBoxDeviatingCountry,
DeliveryServiceTypeCode,
DeliveryServiceNumber,
AddressTimeZone,
FullName,
CityName,
District as DistrictName,
CityCode as ProcmtHubCityCode,
HomeCityName,
PostalCode,
CompanyPostalCode,
StreetName,
StreetPrefixName,
AdditionalStreetPrefixName,
StreetSuffixName,
HouseNumber,
HouseNumberSupplementText,
Building,
Floor,
RoomNumber,
Country,
Region,
County as PurContrCountyText,
FormOfAddress,
ConsigneeName3,
ConsigneeName4,
TaxJurisdiction,
TransportZone,
PhoneNumber,
MobilePhoneNumber,
FaxNumber as AddressFaxNumber,
EmailAddress,
@Semantics.systemDateTime.lastChangedAt: true
_PurchaseContract.LastChangeDateTime as LastChangeDateTime,
// _ControlFlag.Control as ControlFlags,
// cast ( hextobin( '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' ) as pps_e_control_flag preserving type )
// as ControlFlags,
// cast ( hextobin( '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' ) as pps_e_control_flag preserving type ) as PPSFieldChangeIndicatorBinary,
cast ( hextobin( _PurchaseContract.PPSFieldChangeIndicatorString ) as pps_e_control_flag preserving type ) as PPSFieldChangeIndicatorBinary,
/* Associations */
_PurchaseContract,
_PurchaseContractItem
}
//EoC @JIRA-KEY:S4PPS-4885
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PURCTRADDRESS",
"R_PPS_PURCHASECONTRACTTP"
],
"ASSOCIATED":
[
"R_PPS_PURCHASECONTRACTITEMTP",
"R_PPS_PURCHASECONTRACTTP"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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