R_SettlmtDocItemPartnerDraft

DDL: R_SETTLMTDOCITEMPARTNERDRAFT Type: view_entity BASIC

Settlmt Doc Item Partner Draft Query

R_SettlmtDocItemPartnerDraft is a Basic CDS View that provides data about "Settlmt Doc Item Partner Draft Query" in SAP S/4HANA. It reads from 1 data source (wlf_d_sdocpait_d) and exposes 32 fields with key fields SettlmtDoc, SettlmtDocItem, PartnerFunction, PartnerCounter, DraftUUID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
wlf_d_sdocpait_d SettlementDocumentItemPartner from

Associations (3)

CardinalityTargetAliasCondition
[1..1] R_SettlmtDocDraft _SettlmtDoc $projection.SettlmtDoc = _SettlmtDoc.SettlmtDoc and $projection.SettlmtDocDraftUUID = _SettlmtDoc.DraftUUID
[0..1] I_Customer _Customer $projection.Customer = _Customer.Customer
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier

Annotations (7)

NameValueLevelField
EndUserText.label Settlmt Doc Item Partner Draft Query view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (32)

KeyFieldSource TableSource FieldDescription
KEY SettlmtDoc settlmtdoc Settlement Doc.
KEY SettlmtDocItem settlmtdocitem Item
KEY PartnerFunction partnerfunction Partner Functn
KEY PartnerCounter partnercounter Partner counter
KEY DraftUUID draftuuid UUID
ParentDraftUUID parentdraftuuid NodeID
SettlmtDocDraftUUID settlmtdocdraftuuid Draft Document ID
CreatedByUser createdbyuser User Name
CreationDate creationdate Time Stamp
Supplier supplier Supplier
Customer customer Sold-to Party
ContactPerson contactperson Contact Person Key
Personnel personnel Personnel No.
AddressID addressid Ship-to address
AddressPersonID addresspersonid Person Number
ReferenceBusinessPartner referencebusinesspartner Busn. Partner
SettlmtDocPartAddrRefType settlmtdocpartaddrreftype Adress ind.
AddressObjectType addressobjecttype Address Type
BPAddrDeterminationTransaction bpaddrdeterminationtransaction Address Detn
BPRefAddressIDForDocSpcfcAddr bprefaddressidfordocspcfcaddr BP Ref. Address Num.
VATRegistration vatregistration VAT Registration No.
PartnerIsOneTimeAccount partnerisonetimeaccount One-time acct
DraftEntityCreationDateTime draftentitycreationdatetime Draft Created On
DraftEntityLastChangeDateTime draftentitylastchangedatetime Draft Last Changed On
DraftAdministrativeDataUUID draftadministrativedatauuid UUID
DraftEntityOperationCode draftentityoperationcode Draft - Operation Code
HasActiveEntity hasactiveentity TRUE
DraftFieldChanges draftfieldchanges Field Changes
_SettlmtDoc _SettlmtDoc
_SettlmtDocItem _SettlmtDocItem
_Supplier _Supplier
_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 R_SettlmtDocItemPartnerDraft.
-- 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_SettlmtDocItemPartnerDraft AS
SELECT
  SettlmtDoc,
  SettlmtDocItem,
  PartnerFunction,
  PartnerCounter,
  DraftUUID,
  ParentDraftUUID,
  SettlmtDocDraftUUID,
  CreatedByUser,
  CreationDate,
  Supplier,
  Customer,
  ContactPerson,
  Personnel,
  AddressID,
  AddressPersonID,
  ReferenceBusinessPartner,
  SettlmtDocPartAddrRefType,
  AddressObjectType,
  BPAddrDeterminationTransaction,
  BPRefAddressIDForDocSpcfcAddr,
  VATRegistration,
  PartnerIsOneTimeAccount,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  HasActiveEntity,
  DraftFieldChanges
FROM wlf_d_sdocpait_d AS SettlementDocumentItemPartner
LEFT OUTER JOIN R_SettlmtDocDraft AS _SettlmtDoc ON SettlmtDoc = _SettlmtDoc.SettlmtDoc AND SettlmtDocDraftUUID = _SettlmtDoc.DraftUUID  -- association [1..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
;