R_CFinRpldPurgDocAcctAssgmt
CFin Rpld Purg Doc Account Assignment
R_CFinRpldPurgDocAcctAssgmt is a Basic CDS View that provides data about "CFin Rpld Purg Doc Account Assignment" in SAP S/4HANA. It reads from 1 data source (cfin_av_po_acc) and exposes 48 fields with key field CFinRpldPurgDocAcctAssgmtUUID. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| cfin_av_po_acc | cfin_av_po_acc | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_CFinRpldPurchasingDocItem | _CFinRpldPurchasingDocItem | $projection.CFinRpldPurchasingDocItemUUID = _CFinRpldPurchasingDocItem.CFinRpldPurchasingDocItemUUID |
| [0..1] | I_UnitOfMeasure | _OrderQuantityUnit | $projection.OrderQuantityUnit = _OrderQuantityUnit.UnitOfMeasure |
| [0..1] | I_Currency | _DocumentCurrency | $projection.DocumentCurrency = _DocumentCurrency.Currency |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | CFin Rpld Purg Doc Account Assignment | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (48)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CFinRpldPurgDocAcctAssgmtUUID | db_key | UUID | |
| CFinRpldPurchasingDocUUID | root_key | UUID | ||
| CFinRpldPurchasingDocItemUUID | parent_key | UUID | ||
| SourceSystemLogicalSystem | fins_logsys | Logical system | ||
| CFinRpldPurchasingDocument | Source PurchDoc | |||
| CFinRpldPurchasingDocumentItem | Item pur. doc. | |||
| CFinRpldPurgDocAcctAssgmt | Account Assgmt No. | |||
| IsDeleted | loekz | Status | ||
| Quantity | menge | WarrCountValue | ||
| MultipleAcctAssgmtDistrPercent | vproz | Distribution | ||
| PurgDocNetAmount | netwr | Value | ||
| GLAccount | sakto | G/L Account | ||
| BusinessArea | gsber | Business Area | ||
| CostCenter | kostl | Substitute CC | ||
| CFinReplicatedSalesDocument | vbeln | SD Sched. Agmt | ||
| CFinRpldSalesDocumentItem | vbelp | Schd. Agmt Item | ||
| CFinRpldSalesDocScheduleLine | veten | Schedule Line | ||
| MasterFixedAsset | anln1 | Asset | ||
| FixedAsset | anln2 | Sub-number | ||
| OrderID | aufnr | SettlementOrder | ||
| ControllingArea | kokrs | Org. Value | ||
| WBSElementInternalID | WBS Element | |||
| ProjectNetwork | nplnr | Network | ||
| ProjectNetworkInternalID | aufpl | TaskList No.Ops | ||
| REInternalFinNumber | Real Estate Key | |||
| NetworkActivityInternalID | aplzl | Plan No.f.Oper. | ||
| CommitmentItemShortID | Commitment item | |||
| FundsCenter | fistl | Funds Center | ||
| Fund | geber | Fund | ||
| FunctionalArea | fkber | Functional Area | ||
| SettlementReferenceDate | dabrz | Reference date | ||
| NonDeductibleInputTaxAmount | navnw | Non-deductible | ||
| CostCtrActivityType | lstar | Activity Type | ||
| GrantID | grant_nbr | Receiver Grant | ||
| BudgetPeriod | budget_pd | Rec BudPer | ||
| QuantityAsFloatValue | menge_f | Qty (FP Number) | ||
| PubSecSplitBatchNumberID | fm_split_batch | Dist.Batch No. | ||
| USFedGovernmentUUID | fmfgus_key | US Govt | ||
| GoodsRecepientName | wempf | Recipient | ||
| CreationDate | aedat | Obsolete | ||
| ProfitCenter | prctr | Profit Centers | ||
| ProfitabilitySegment | paobjnr | Profit. segment | ||
| OperatingConcern | erkrs | Operating concern | ||
| OrderQuantityUnit | _CFinRpldPurchasingDocItem | OrderQuantityUnit | Sales Unit | |
| DocumentCurrency | _CFinRpldPurchasingDocItem | DocumentCurrency | Document Currency | |
| _CFinRpldPurchasingDocItem | _CFinRpldPurchasingDocItem | |||
| _OrderQuantityUnit | _OrderQuantityUnit | |||
| _DocumentCurrency | _DocumentCurrency |
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_CFinRpldPurgDocAcctAssgmt.
-- 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_CFinRpldPurgDocAcctAssgmt AS
SELECT
db_key AS CFinRpldPurgDocAcctAssgmtUUID,
root_key AS CFinRpldPurchasingDocUUID,
parent_key AS CFinRpldPurchasingDocItemUUID,
fins_logsys AS SourceSystemLogicalSystem,
cast( ebeln as fins_cfin_av_purchasing_doc preserving type ) AS CFinRpldPurchasingDocument,
cast( ebelp as fins_cfin_av_purg_document_itm preserving type ) AS CFinRpldPurchasingDocumentItem,
cast( zekkn as fins_cfin_av_purg_doc_acctasgt preserving type ) AS CFinRpldPurgDocAcctAssgmt,
loekz AS IsDeleted,
menge AS Quantity,
vproz AS MultipleAcctAssgmtDistrPercent,
netwr AS PurgDocNetAmount,
sakto AS GLAccount,
gsber AS BusinessArea,
kostl AS CostCenter,
vbeln AS CFinReplicatedSalesDocument,
vbelp AS CFinRpldSalesDocumentItem,
veten AS CFinRpldSalesDocScheduleLine,
anln1 AS MasterFixedAsset,
anln2 AS FixedAsset,
aufnr AS OrderID,
kokrs AS ControllingArea,
cast( ps_psp_pnr as ps_s4_pspnr preserving type ) AS WBSElementInternalID,
nplnr AS ProjectNetwork,
aufpl AS ProjectNetworkInternalID,
cast( imkey as recaimkeyfi preserving type ) AS REInternalFinNumber,
aplzl AS NetworkActivityInternalID,
cast( fipos as bbp_bapi_fipos preserving type) AS CommitmentItemShortID,
fistl AS FundsCenter,
geber AS Fund,
fkber AS FunctionalArea,
dabrz AS SettlementReferenceDate,
navnw AS NonDeductibleInputTaxAmount,
lstar AS CostCtrActivityType,
grant_nbr AS GrantID,
budget_pd AS BudgetPeriod,
menge_f AS QuantityAsFloatValue,
fm_split_batch AS PubSecSplitBatchNumberID,
fmfgus_key AS USFedGovernmentUUID,
wempf AS GoodsRecepientName,
aedat AS CreationDate,
prctr AS ProfitCenter,
paobjnr AS ProfitabilitySegment,
erkrs AS OperatingConcern,
_CFinRpldPurchasingDocItem.OrderQuantityUnit AS OrderQuantityUnit,
_CFinRpldPurchasingDocItem.DocumentCurrency AS DocumentCurrency
FROM cfin_av_po_acc
LEFT OUTER JOIN R_CFinRpldPurchasingDocItem AS _CFinRpldPurchasingDocItem ON CFinRpldPurchasingDocItemUUID = _CFinRpldPurchasingDocItem.CFinRpldPurchasingDocItemUUID -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _OrderQuantityUnit ON OrderQuantityUnit = _OrderQuantityUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_Currency AS _DocumentCurrency ON DocumentCurrency = _DocumentCurrency.Currency -- 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