P_SDDocumentCompletePartners_1
P_SDDocumentCompletePartners_1 is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (vbpa) and exposes 24 fields with key fields SDDocument, SDDocumentItem, PartnerFunction.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| vbpa | vbpa | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | PSDDOCCMPLTPART1 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SDDocument | vbpa | vbeln | SD Sched. Agmt |
| KEY | SDDocumentItem | vbpa | posnr | WBS Element |
| KEY | PartnerFunction | vbpa | parvw | Task Processor |
| Customer | vbpa | kunnr | Stock customer | |
| Supplier | vbpa | lifnr | Vendor no. | |
| Personnel | vbpa | pernr | Personnel no. | |
| ContactPerson | vbpa | parnr | Responsible | |
| ReferenceBusinessPartner | vbpa | assigned_bp | Busn. Partner | |
| AddressID | vbpa | adrnr | Sold-To Address | |
| AddressPersonID | vbpa | adrnp | Person Number | |
| SDDocPartnerAddressRefType | vbpa | adrda | Adress ind. | |
| AddressObjectType | vbpa | addr_type | Address Type | |
| BPAddrDeterminationTransaction | vbpa | addr_operation | Transaction | |
| BPRefAddressIDForDocSpcfcAddr | vbpa | bp_ref_adrnr | BP Ref. Address Num. | |
| PartnerIsOneTimeAccount | vbpa | xcpdk | One-time acct | |
| VATRegistration | vbpa | stceg | VAT Reg. No. | |
| UnloadingPointName | vbpa | ablad | Unloading Point | |
| CountryCode | vbpa | land1 | Trip Ctry/Reg | |
| CustomerHierarchyType | vbpa | hityp | Hierarchy type | |
| CustIsPrcDetnRlvt | vbpa | prfre | Price determin. | |
| CustomerIsRebateRelevant | vbpa | bokre | Rebate | |
| CustomerHierarchyLevel | vbpa | histunr | Hierarchy level | |
| CustomerHierarchyFixedLevel | vbpa | hzuor | Hier.assignment | |
| TransportZone | vbpa | lzone | Zone |
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 P_SDDocumentCompletePartners_1.
-- 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 P_SDDocumentCompletePartners_1 AS
SELECT
vbpa.vbeln AS SDDocument,
vbpa.posnr AS SDDocumentItem,
vbpa.parvw AS PartnerFunction,
vbpa.kunnr AS Customer,
vbpa.lifnr AS Supplier,
vbpa.pernr AS Personnel,
vbpa.parnr AS ContactPerson,
vbpa.assigned_bp AS ReferenceBusinessPartner,
vbpa.adrnr AS AddressID,
vbpa.adrnp AS AddressPersonID,
vbpa.adrda AS SDDocPartnerAddressRefType,
vbpa.addr_type AS AddressObjectType,
vbpa.addr_operation AS BPAddrDeterminationTransaction,
vbpa.bp_ref_adrnr AS BPRefAddressIDForDocSpcfcAddr,
vbpa.xcpdk AS PartnerIsOneTimeAccount,
vbpa.stceg AS VATRegistration,
vbpa.ablad AS UnloadingPointName,
vbpa.land1 AS CountryCode,
vbpa.hityp AS CustomerHierarchyType,
vbpa.prfre AS CustIsPrcDetnRlvt,
vbpa.bokre AS CustomerIsRebateRelevant,
vbpa.histunr AS CustomerHierarchyLevel,
vbpa.hzuor AS CustomerHierarchyFixedLevel,
vbpa.lzone AS TransportZone
FROM vbpa
;
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