R_SalesOrderRequestPartnerTP

DDL: R_SALESORDERREQUESTPARTNERTP Type: view_entity TRANSACTIONAL

SOR Partner Trans. Processing

R_SalesOrderRequestPartnerTP is a Transactional CDS View that provides data about "SOR Partner Trans. Processing" in SAP S/4HANA. It reads from 1 data source (I_SalesOrderRequestPartner) and exposes 11 fields with key fields SalesOrderRequest, PartnerFunction. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_SalesOrderRequestPartner I_SalesOrderRequestPartner from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Address_2 _DfltAddrRprstn $projection.AddressID = _DfltAddrRprstn.AddressID and $projection.AddressPersonID = _DfltAddrRprstn.AddressPersonID and _DfltAddrRprstn.AddressRepresentationCode is initial

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label SOR Partner Trans. Processing view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY SalesOrderRequest SalesOrderRequest Sales Order Request
KEY PartnerFunction PartnerFunction Partner Functn
Customer Customer Sold-to Party
ContactPerson ContactPerson Contact Person Key
AddressID AddressID Ship-to address
AddressPersonID AddressPersonID Person Number
SDDocPartnerAddressRefType SDDocPartnerAddressRefType Adress ind.
BPRefAddressIDForDocSpcfcAddr BPRefAddressIDForDocSpcfcAddr BP Ref. Address Num.
AddressObjectType AddressObjectType Address Type
_SalesOrderRequest _SalesOrderRequest
_DfltAddrRprstn _DfltAddrRprstn

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 R_SalesOrderRequestPartnerTP.
-- 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 R_SalesOrderRequestPartnerTP AS
SELECT
  SalesOrderRequest,
  PartnerFunction,
  Customer,
  ContactPerson,
  AddressID,
  AddressPersonID,
  SDDocPartnerAddressRefType,
  BPRefAddressIDForDocSpcfcAddr,
  AddressObjectType
FROM I_SalesOrderRequestPartner
LEFT OUTER JOIN I_Address_2 AS _DfltAddrRprstn ON AddressID = _DfltAddrRprstn.AddressID AND AddressPersonID = _DfltAddrRprstn.AddressPersonID AND _DfltAddrRprstn.AddressRepresentationCode is initial  -- association [0..1]
;