I_RDPSlsDocCompletePartner
I_RDPSlsDocCompletePartner is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (vbpa) and exposes 14 fields with key fields SDDocument, SDDocumentItem, PartnerFunction. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| vbpa | vbpa | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_PartnerFunction | _PartnerFunction | $projection.PartnerFunction = _PartnerFunction.PartnerFunction |
| [0..1] | I_ContactPerson | _ContactPerson | $projection.ContactPerson = _ContactPerson.ContactPerson |
| [0..1] | I_Address_2 | _Address | $projection.AddressID = _Address.AddressID and $projection.AddressPersonID = _Address.AddressPersonID and _Address.AddressRepresentationCode is initial |
| [0..1] | I_BusPartAddress | _BusinessPartnerAddress | $projection.ReferenceBusinessPartner = _BusinessPartnerAddress.BusinessPartner and $projection.AddressID = _BusinessPartnerAddress.AddressID and $projection.SDDocPartnerAddressRefType = 'H' |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.status | #DEPRECATED | view | |
| VDM.lifecycle.successor | P_SustSlsDocCompletePartner | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | RDPSLSDOCCOMPPAR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.dataMaintenance | #DISPLAY_ONLY | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SDDocument | vbpa | vbeln | SD Sched. Agmt |
| KEY | SDDocumentItem | vbpa | posnr | WBS Element |
| KEY | PartnerFunction | |||
| Customer | vbpa | kunnr | Stock customer | |
| Supplier | vbpa | lifnr | Vendor 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. | |
| _PartnerFunction | _PartnerFunction | |||
| _ContactPerson | _ContactPerson | |||
| _Address | _Address | |||
| _BusinessPartnerAddress | _BusinessPartnerAddress |
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 I_RDPSlsDocCompletePartner.
-- 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 I_RDPSlsDocCompletePartner AS
SELECT
vbpa.vbeln AS SDDocument,
vbpa.posnr AS SDDocumentItem,
cast(vbpa.parvw as parvw_unv) AS PartnerFunction,
vbpa.kunnr AS Customer,
vbpa.lifnr AS Supplier,
vbpa.parnr AS ContactPerson,
vbpa.assigned_bp AS ReferenceBusinessPartner,
vbpa.adrnr AS AddressID,
vbpa.adrnp AS AddressPersonID,
vbpa.adrda AS SDDocPartnerAddressRefType
FROM vbpa
LEFT OUTER JOIN I_PartnerFunction AS _PartnerFunction ON PartnerFunction = _PartnerFunction.PartnerFunction -- association [0..1]
LEFT OUTER JOIN I_ContactPerson AS _ContactPerson ON ContactPerson = _ContactPerson.ContactPerson -- association [0..1]
LEFT OUTER JOIN I_Address_2 AS _Address ON AddressID = _Address.AddressID AND AddressPersonID = _Address.AddressPersonID AND _Address.AddressRepresentationCode is initial -- association [0..1]
LEFT OUTER JOIN I_BusPartAddress AS _BusinessPartnerAddress ON ReferenceBusinessPartner = _BusinessPartnerAddress.BusinessPartner AND AddressID = _BusinessPartnerAddress.AddressID AND SDDocPartnerAddressRefType = 'H' -- association [0..1]
;
Learn More
- S/4HANA CDS View Deprecation: What You Need to Know
- 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
- 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