SEPMRA_C_SalesOrderParty

DDL: SEPMRA_C_SALESORDERPARTY Type: view

Party

SEPMRA_C_SalesOrderParty is a CDS View that provides data about "Party" in SAP S/4HANA. It reads from 1 data source (SEPMRA_I_CustomerParty) and exposes 11 fields with key field Party. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
SEPMRA_I_CustomerParty Party from

Associations (1)

CardinalityTargetAliasCondition
[0..1] SEPMRA_C_SalesOrderCustomer _Customer _Customer.Customer = $projection.Customer

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName SEPMRACSOPARTY view
AbapCatalog.compiler.compareFilter true view
ClientHandling.type #CLIENT_DEPENDENT view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Party view
UI.headerInfo.typeName Party view
UI.headerInfo.typeNamePlural Parties view
UI.headerInfo.typeImageUrl sap-icon: title: { value: view
UI.headerInfo.description.value PartyName view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY Party Party Param.type
PartyName PartyName
StreetName _Address StreetName Text
HouseNumber _Address HouseNumber House Number
PostalCode _Address PostalCode Postal Code
CityName _Address CityName Name
Country _Address Country Venue: Ctry/Reg
CountryName
Address _Address FormattedAddress
Customer Customer Sold-to Party
_Customer _Customer

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_C_SalesOrderParty.
-- 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_C_SalesOrderParty AS
SELECT
  Party,
  PartyName,
  _Address.StreetName AS StreetName,
  _Address.HouseNumber AS HouseNumber,
  _Address.PostalCode AS PostalCode,
  _Address.CityName AS CityName,
  _Address.Country AS Country,
  _Address._Country._Text[1: Language = $session.system_language].CountryName AS CountryName,
  _Address.FormattedAddress AS Address,
  Customer
FROM SEPMRA_I_CustomerParty AS Party
LEFT OUTER JOIN SEPMRA_C_SalesOrderCustomer AS _Customer ON _Customer.Customer = Customer  -- association [0..1]
;