SEPMRA_I_PurOrdDeliveryAddress

DDL: SEPMRA_I_PURORDDELIVERYADDRESS Type: view

Purchase Order Delivery Address

SEPMRA_I_PurOrdDeliveryAddress is a CDS View that provides data about "Purchase Order Delivery Address" in SAP S/4HANA. It reads from 4 data sources (SEPMRA_I_Address, SEPMRA_I_EmployeeOrgAssigment, SEPMRA_I_OrganizationalUnit, SEPMRA_I_PurchaseOrderWD) and exposes 14 fields with key field PurchaseOrder.

Data Sources (4)

SourceAliasJoin Type
SEPMRA_I_Address Address left_outer
SEPMRA_I_EmployeeOrgAssigment EmployeeOrgAssignment left_outer
SEPMRA_I_OrganizationalUnit OrganizationalUnit left_outer
SEPMRA_I_PurchaseOrderWD PO from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName SEPMRAIPODELVADD view
AbapCatalog.compiler.compareFilter true view
ClientHandling.type #CLIENT_DEPENDENT view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Purchase Order Delivery Address view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder SEPMRA_I_PurchaseOrderWD PurchaseOrder Purchasing Document
CityName SEPMRA_I_Address CityName Name
PostalCode SEPMRA_I_Address PostalCode Postal Code
StreetName SEPMRA_I_Address StreetName Text
HouseNumber SEPMRA_I_Address HouseNumber House Number
Country SEPMRA_I_Address Country Venue: Ctry/Reg
AddressValidityStartDate SEPMRA_I_Address AddressValidityStartDate
AddressValidityEndDate SEPMRA_I_Address AddressValidityEndDate
Latitude SEPMRA_I_Address Latitude Latitude
Longitude SEPMRA_I_Address Longitude Longitude
FormattedAddress SEPMRA_I_Address FormattedAddress
AddressType SEPMRA_I_Address AddressType Address Type
_Country SEPMRA_I_Address _Country
_Type SEPMRA_I_Address _Type

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 SEPMRA_I_PurOrdDeliveryAddress.
-- 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 SEPMRA_I_PurOrdDeliveryAddress AS
SELECT
  PO.PurchaseOrder AS PurchaseOrder,
  Address.CityName AS CityName,
  Address.PostalCode AS PostalCode,
  Address.StreetName AS StreetName,
  Address.HouseNumber AS HouseNumber,
  Address.Country AS Country,
  Address.AddressValidityStartDate AS AddressValidityStartDate,
  Address.AddressValidityEndDate AS AddressValidityEndDate,
  Address.Latitude AS Latitude,
  Address.Longitude AS Longitude,
  Address.FormattedAddress AS FormattedAddress,
  Address.AddressType AS AddressType,
  Address._Country AS _Country,
  Address._Type AS _Type
FROM SEPMRA_I_PurchaseOrderWD AS PO
LEFT OUTER JOIN SEPMRA_I_EmployeeOrgAssigment AS EmployeeOrgAssignment ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN SEPMRA_I_OrganizationalUnit AS OrganizationalUnit ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN SEPMRA_I_Address AS Address ON /* join condition not captured in parsed metadata */
;