C_CFinRpldPurchaseOrder
CFin Rpld Purchase Order
C_CFinRpldPurchaseOrder is a Consumption CDS View that provides data about "CFin Rpld Purchase Order" in SAP S/4HANA. It reads from 1 data source (I_CFinRpldPurchasingDocument) and exposes 38 fields with key fields SenderLogicalSystem, CFinReplicatedPurchaseOrder. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CFinRpldPurchasingDocument | I_CFinRpldPurchasingDocument | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | C_CFinRpldPurchaseOrderItem | _CFinRpldPurchaseOrderItem | _CFinRpldPurchaseOrderItem.SenderLogicalSystem = $projection.SenderLogicalSystem and _CFinRpldPurchaseOrderItem.CFinReplicatedPurchaseOrder = $projection.CFinReplicatedPurchaseOrder |
| [1..*] | C_CFinRpldPurchaseOrderDetails | _CFinRpldPurchaseOrderDetails | _CFinRpldPurchaseOrderDetails.SenderLogicalSystem = $projection.SenderLogicalSystem and _CFinRpldPurchaseOrderDetails.CFinReplicatedPurchaseOrder = $projection.CFinReplicatedPurchaseOrder |
| [0..*] | C_CFinRpldPurOrdAcctAssgmt | _CFinRpldPurOrdAcctAssgmt | _CFinRpldPurOrdAcctAssgmt.SenderLogicalSystem = $projection.SenderLogicalSystem and _CFinRpldPurOrdAcctAssgmt.CFinReplicatedPurchaseOrder = $projection.CFinReplicatedPurchaseOrder |
| [0..1] | C_CFinPurchaseOrderTypeVH | _CFinPurchaseOrderTypeVH | _CFinPurchaseOrderTypeVH.PurchaseOrderType = $projection.PurchasingDocumentType ------------------------------------------------------------------------------------------- -- Text Associations -- ------------------------------------------------------------------------------------------- |
| [0..1] | I_CountryText | _CountryText | _CountryText.Country = $projection.TaxReturnCountry and _CountryText.Language = $session.system_language |
| [1..1] | E_CFinRpldPurchasingDocument | _Extension | $projection.CFinReplicatedPurchaseOrder = _Extension.CFinRpldPurchasingDocument and $projection.SenderLogicalSystem = _Extension.SourceSystemLogicalSystem |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCFINRPOHEADER | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | CFin Rpld Purchase Order | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Metadata.allowExtensions | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.representativeKey | CFinReplicatedPurchaseOrder | view | |
| UI.headerInfo.typeName | Accounting View of Purchase Order | view | |
| UI.headerInfo.title.value | CFinReplicatedPurchaseOrder | view | |
| UI.headerInfo.description.value | PurchasingDocumentTypeName | view | |
| Consumption.valueHelpDefault.fetchValues | #AUTOMATICALLY_WHEN_DISPLAYED | view |
Fields (38)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SenderLogicalSystem | SenderLogicalSystem | Sender Logical System | |
| KEY | CFinReplicatedPurchaseOrder | Purchasing Doc. | ||
| PurchasingDocumentOrderDate | PurchasingDocumentOrderDate | PO Date | ||
| PurchasingDocumentType | PurchasingDocumentType | RFQ Type | ||
| CreationDate | CreationDate | Time Stamp | ||
| CreatedByUser | CreatedByUser | User Name | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| ValidityStartDate | ValidityStartDate | Validity Start Date | ||
| ValidityEndDate | ValidityEndDate | ValidTo | ||
| PurchasingDocumentVersion | PurchasingDocumentVersion | Purchase Order Version Number | ||
| IsEndOfPurposeBlocked | IsEndOfPurposeBlocked | Business Purpose Completed | ||
| ReleaseIsNotCompleted | ReleaseIsNotCompleted | Subject to Release | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| ExchangeRate | ExchangeRate | Exchange rate | ||
| TaxReturnCountry | TaxReturnCountry | Reporting Country/Region | ||
| SupplyingPlant | SupplyingPlant | Supplying Plant | ||
| Supplier | Supplier | Supplier | ||
| InvoicingParty | InvoicingParty | Supplier | ||
| PurchasingCompletenessStatus | PurchasingCompletenessStatus | Purchase Order Not Complete | ||
| PurchasingDocumentDeletionCode | PurchasingDocumentDeletionCode | Deletion Indicator | ||
| PurchasingDocumentIsAged | PurchasingDocumentIsAged | Purchase Order Aged | ||
| PurchasingDocumentTypeName | ||||
| LogicalSystemName | ||||
| _CFinRpldPurchaseOrderItem | _CFinRpldPurchaseOrderItem | |||
| _CFinRpldPurchaseOrderDetails | _CFinRpldPurchaseOrderDetails | |||
| _CFinRpldPurOrdAcctAssgmt | _CFinRpldPurOrdAcctAssgmt | |||
| _CFinPurchaseOrderTypeVH | _CFinPurchaseOrderTypeVH | |||
| _CompanyCode | _CompanyCode | |||
| _PurchasingGroup | _PurchasingGroup | |||
| _DocumentCurrency | _DocumentCurrency | |||
| _Supplier | _Supplier | |||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _InvoicingParty | _InvoicingParty | |||
| _CountryText | _CountryText | |||
| _SupplyingPlant | _SupplyingPlant | |||
| _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 C_CFinRpldPurchaseOrder.
-- 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.
-- SQL view name: CCFINRPOHEADER
CREATE VIEW C_CFinRpldPurchaseOrder AS
SELECT
SenderLogicalSystem,
cast( CFinRpldPurchasingDocument as fins_cfin_av_rpld_purord preserving type ) AS CFinReplicatedPurchaseOrder,
PurchasingDocumentOrderDate,
PurchasingDocumentType,
CreationDate,
CreatedByUser,
CompanyCode,
ValidityStartDate,
ValidityEndDate,
PurchasingDocumentVersion,
IsEndOfPurposeBlocked,
ReleaseIsNotCompleted,
PurchasingOrganization,
PurchasingGroup,
DocumentCurrency,
ExchangeRate,
TaxReturnCountry,
SupplyingPlant,
Supplier,
InvoicingParty,
PurchasingCompletenessStatus,
PurchasingDocumentDeletionCode,
PurchasingDocumentIsAged,
_PurchasingDocumentType._Text[1: Language = $session.system_language].PurchasingDocumentTypeName AS PurchasingDocumentTypeName,
_LogicalSystem._Text[1: Language = $session.system_language].LogicalSystemName AS LogicalSystemName
FROM I_CFinRpldPurchasingDocument
LEFT OUTER JOIN C_CFinRpldPurchaseOrderItem AS _CFinRpldPurchaseOrderItem ON _CFinRpldPurchaseOrderItem.SenderLogicalSystem = SenderLogicalSystem AND _CFinRpldPurchaseOrderItem.CFinReplicatedPurchaseOrder = CFinReplicatedPurchaseOrder -- association [1..*]
LEFT OUTER JOIN C_CFinRpldPurchaseOrderDetails AS _CFinRpldPurchaseOrderDetails ON _CFinRpldPurchaseOrderDetails.SenderLogicalSystem = SenderLogicalSystem AND _CFinRpldPurchaseOrderDetails.CFinReplicatedPurchaseOrder = CFinReplicatedPurchaseOrder -- association [1..*]
LEFT OUTER JOIN C_CFinRpldPurOrdAcctAssgmt AS _CFinRpldPurOrdAcctAssgmt ON _CFinRpldPurOrdAcctAssgmt.SenderLogicalSystem = SenderLogicalSystem AND _CFinRpldPurOrdAcctAssgmt.CFinReplicatedPurchaseOrder = CFinReplicatedPurchaseOrder -- association [0..*]
LEFT OUTER JOIN C_CFinPurchaseOrderTypeVH AS _CFinPurchaseOrderTypeVH ON _CFinPurchaseOrderTypeVH.PurchaseOrderType = PurchasingDocumentType -- association [0..1]
LEFT OUTER JOIN I_CountryText AS _CountryText ON _CountryText.Country = TaxReturnCountry AND _CountryText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN E_CFinRpldPurchasingDocument AS _Extension ON CFinReplicatedPurchaseOrder = _Extension.CFinRpldPurchasingDocument AND SenderLogicalSystem = _Extension.SourceSystemLogicalSystem -- 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