A_PurchaseOrdSupplierAddr_2

DDL: A_PURCHASEORDSUPPLIERADDR_2 Type: view_entity CONSUMPTION Package: ODATA_MM_PUR_PO_API_2

Supplier Address

A_PurchaseOrdSupplierAddr_2 is a Consumption CDS View that provides data about "Supplier Address" in SAP S/4HANA. It reads from 1 data source (R_PurchaseOrdSupplierAddressTP) and exposes 47 fields with key fields SupplierAddressID, PurchaseOrder. It is exposed through 1 OData service (API_PURCHASEORDER_2). Part of development package ODATA_MM_PUR_PO_API_2.

Data Sources (1)

SourceAliasJoin Type
R_PurchaseOrdSupplierAddressTP R_PurchaseOrdSupplierAddressTP projection

Annotations (10)

NameValueLevelField
EndUserText.label Supplier Address view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view
OData.entityType.name PurchaseOrderSupplierAddress_Type view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
VDM.viewType #CONSUMPTION view

OData Services (1)

ServiceBindingVersionContractRelease
API_PURCHASEORDER_2 API_PURCHASEORDER_2 V4 C2 C1

Fields (47)

KeyFieldSource TableSource FieldDescription
KEY SupplierAddressID SupplierAddressID Address Number
KEY PurchaseOrder PurchaseOrder Purchasing Document
AddressID AddressID Ship-to address
AddressPersonID AddressPersonID Person Number
AddressRepresentationCode AddressRepresentationCode Address Version
CorrespondenceLanguage CorrespondenceLanguage Language
PrfrdCommMediumType PrfrdCommMediumType Comm. Method
AddresseeFullName AddresseeFullName Full Name
OrganizationName1 OrganizationName1 Name
OrganizationName2 OrganizationName2 Name 2
OrganizationName3 OrganizationName3 Name 3
OrganizationName4 OrganizationName4 Name 4
AddressSearchTerm1 AddressSearchTerm1 Search Term 1
AddressSearchTerm2 AddressSearchTerm2 Search Term 2
CityName CityName Name
DistrictName DistrictName District
VillageName VillageName Different City
PostalCode PostalCode Postal Code
CompanyPostalCode CompanyPostalCode Company Post Cd
StreetName StreetName Text
StreetPrefixName1 StreetPrefixName1 Street 2
StreetPrefixName2 StreetPrefixName2 Street 3
StreetSuffixName1 StreetSuffixName1 Street 4
StreetSuffixName2 StreetSuffixName2 Street 5
HouseNumber HouseNumber House Number
HouseNumberSupplementText HouseNumberSupplementText Supplement
Building Building Building code
Floor Floor Floor
RoomNumber RoomNumber Room Number
Country Country Venue: Ctry/Reg
Region Region Venue Region
FormOfAddress FormOfAddress Title Key
TaxJurisdiction TaxJurisdiction Tax Jurisdiction
TransportZone TransportZone Transport Zone
POBox POBox PO Box
POBoxIsWithoutNumber POBoxIsWithoutNumber PO Box w/o No.
POBoxPostalCode POBoxPostalCode PO Box Postal Code
POBoxLobbyName POBoxLobbyName PO Box Lobby
POBoxDeviatingCityName POBoxDeviatingCityName PO Box City
POBoxDeviatingRegion POBoxDeviatingRegion PO Region
POBoxDeviatingCountry POBoxDeviatingCountry PO Box C/R
CareOfName CareOfName c/o
DeliveryServiceTypeCode DeliveryServiceTypeCode Delvry Serv Type
DeliveryServiceNumber DeliveryServiceNumber Delivery Service No.
AddressTimeZone AddressTimeZone Time Zone
EmailAddress EmailAddress E-Mail Address
RegionalStructureCheckStatus RegionalStructureCheckStatus Check Status

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 A_PurchaseOrdSupplierAddr_2.
-- 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 A_PurchaseOrdSupplierAddr_2 AS
SELECT
  SupplierAddressID,
  PurchaseOrder,
  AddressID,
  AddressPersonID,
  AddressRepresentationCode,
  CorrespondenceLanguage,
  PrfrdCommMediumType,
  AddresseeFullName,
  OrganizationName1,
  OrganizationName2,
  OrganizationName3,
  OrganizationName4,
  AddressSearchTerm1,
  AddressSearchTerm2,
  CityName,
  DistrictName,
  VillageName,
  PostalCode,
  CompanyPostalCode,
  StreetName,
  StreetPrefixName1,
  StreetPrefixName2,
  StreetSuffixName1,
  StreetSuffixName2,
  HouseNumber,
  HouseNumberSupplementText,
  Building,
  Floor,
  RoomNumber,
  Country,
  Region,
  FormOfAddress,
  TaxJurisdiction,
  TransportZone,
  POBox,
  POBoxIsWithoutNumber,
  POBoxPostalCode,
  POBoxLobbyName,
  POBoxDeviatingCityName,
  POBoxDeviatingRegion,
  POBoxDeviatingCountry,
  CareOfName,
  DeliveryServiceTypeCode,
  DeliveryServiceNumber,
  AddressTimeZone,
  EmailAddress,
  RegionalStructureCheckStatus
FROM R_PurchaseOrdSupplierAddressTP
;