R_CFinRpldSalesDocumentPartner
CFin Replicated Sales Document Partner
R_CFinRpldSalesDocumentPartner is a Basic CDS View that provides data about "CFin Replicated Sales Document Partner" in SAP S/4HANA. It reads from 1 data source (cfin_av_so_part) and exposes 14 fields with key field CFinRpldSalesDocPartnerUUID. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| cfin_av_so_part | cfin_av_so_part | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_CFinReplicatedSalesDocument | _CFinReplicatedSalesDocument | $projection.CFinRpldSalesDocumentUUID = _CFinReplicatedSalesDocument.CFinRpldSalesDocumentUUID |
| [1..1] | I_LogicalSystem | _LogicalSystem | $projection.SourceSystemLogicalSystem = _LogicalSystem.LogicalSystem |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | CFin Replicated Sales Document Partner | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CFinRpldSalesDocPartnerUUID | av_dbkey | DB Key | |
| CFinRpldSlsDocPrtnParentUUID | av_parentkey | Parent Key | ||
| CFinRpldSalesDocumentUUID | av_rootkey | Root Key | ||
| SourceSystemLogicalSystem | fins_logsys | Logical system | ||
| CFinReplicatedSalesDocument | SD Sched. Agmt | |||
| CFinRpldSalesDocumentItem | WBS Element | |||
| PartnerFunction | Task Processor | |||
| Customer | kunnr | Stock customer | ||
| AddressID | adrnr | Sold-To Address | ||
| PartnerIsOneTimeAccount | xcpdk | One-time acct | ||
| TaxNumber1 | stcd1 | Tax Number 1 | ||
| TaxNumber3 | stcd3 | Tax Number 3 | ||
| _CFinReplicatedSalesDocument | _CFinReplicatedSalesDocument | |||
| _LogicalSystem | _LogicalSystem |
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_CFinRpldSalesDocumentPartner.
-- 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_CFinRpldSalesDocumentPartner AS
SELECT
av_dbkey AS CFinRpldSalesDocPartnerUUID,
av_parentkey AS CFinRpldSlsDocPrtnParentUUID,
av_rootkey AS CFinRpldSalesDocumentUUID,
fins_logsys AS SourceSystemLogicalSystem,
cast( vbeln as fins_cfin_av_rpld_sls_doc preserving type ) AS CFinReplicatedSalesDocument,
cast( posnr as fins_cfin_av_rpld_sls_doc_item preserving type ) AS CFinRpldSalesDocumentItem,
cast(parvw as parvw_unv preserving type ) AS PartnerFunction,
kunnr AS Customer,
adrnr AS AddressID,
xcpdk AS PartnerIsOneTimeAccount,
stcd1 AS TaxNumber1,
stcd3 AS TaxNumber3
FROM cfin_av_so_part
LEFT OUTER JOIN R_CFinReplicatedSalesDocument AS _CFinReplicatedSalesDocument ON CFinRpldSalesDocumentUUID = _CFinReplicatedSalesDocument.CFinRpldSalesDocumentUUID -- association [1..1]
LEFT OUTER JOIN I_LogicalSystem AS _LogicalSystem ON SourceSystemLogicalSystem = _LogicalSystem.LogicalSystem -- association [1..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