R_SettlmtDocPartnerDraft
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)
| Source | Alias | Join Type |
|---|---|---|
| wlf_d_sdocpah_d | wlf_d_sdocpah_d | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
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