R_SettlmtDocPartnerDraft

DDL: R_SETTLMTDOCPARTNERDRAFT Type: view_entity BASIC Package: WLF_BO_TP_SDOC

Settlmt Doc Partner - Draft

R_SettlmtDocPartnerDraft is a Basic CDS View that provides data about "Settlmt Doc Partner - Draft" in SAP S/4HANA. It reads from 1 data source (wlf_d_sdocpah_d) and exposes 29 fields with key fields SettlmtDoc, PartnerFunction, PartnerCounter, DraftUUID. It has 2 associations to related views. Part of development package WLF_BO_TP_SDOC.

Data Sources (1)

SourceAliasJoin Type
wlf_d_sdocpah_d wlf_d_sdocpah_d from

Associations (2)

CardinalityTargetAliasCondition
[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 Partner - Draft view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (29)

KeyFieldSource TableSource FieldDescription
KEY SettlmtDoc settlmtdoc Settlement Doc.
KEY PartnerFunction partnerfunction Partner Functn
KEY PartnerCounter partnercounter Partner counter
KEY DraftUUID draftuuid UUID
ParentDraftUUID parentdraftuuid NodeID
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
_Customer _Customer
_Supplier _Supplier

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_SettlmtDocPartnerDraft.
-- 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_SettlmtDocPartnerDraft AS
SELECT
  SettlmtDoc,
  PartnerFunction,
  PartnerCounter,
  DraftUUID,
  ParentDraftUUID,
  CreatedByUser,
  CreationDate,
  Supplier,
  Customer,
  ContactPerson,
  Personnel,
  AddressID,
  AddressPersonID,
  ReferenceBusinessPartner,
  SettlmtDocPartAddrRefType,
  AddressObjectType,
  BPAddrDeterminationTransaction,
  BPRefAddressIDForDocSpcfcAddr,
  VATRegistration,
  PartnerIsOneTimeAccount,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  HasActiveEntity,
  DraftFieldChanges
FROM wlf_d_sdocpah_d
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]
;