R_SettlmtDocItemPartnerDraft
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)
| Source | Alias | Join Type |
|---|---|---|
| wlf_d_sdocpait_d | SettlementDocumentItemPartner | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA