I_PrftCtrToProdCostCtrlgOrder
Assgmt PrftCtr to Prod Cost Ctrlg Order
I_PrftCtrToProdCostCtrlgOrder is a Basic CDS View (Dimension) that provides data about "Assgmt PrftCtr to Prod Cost Ctrlg Order" in SAP S/4HANA. It reads from 1 data source (finoc_rt_ord) and exposes 22 fields with key fields OrderID, ValidityStartDate. It has 8 associations to related views. Part of development package FINS_ORGL_CHANGE_RUNTIME.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| finoc_rt_ord | finoc_rt_ord | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | I_ProductCostCtrlgOrder | _ProductCostCtrlgOrder | $projection.OrderID = _ProductCostCtrlgOrder.OrderID |
| [1] | I_OrglChangeReassignmentStatus | _OrglChgReassignmentStatus | $projection.OrglChangeReassignmentStatus = _OrglChgReassignmentStatus.OrglChangeReassignmentStatus |
| [0..1] | I_ProfitCtrDerivationSrceType | _ProfitCtrDerivationSrceType | $projection.ProfitCenterDerivationSrceType = _ProfitCtrDerivationSrceType.ProfitCenterDerivationSrceType |
| [0..1] | I_OrganizationalChange | _OrglChange | $projection.OrganizationalChange = _OrglChange.OrganizationalChange |
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [1] | I_ControllingArea | _ControllingArea | $projection.ControllingArea = _ControllingArea.ControllingArea |
| [0..1] | I_ProfitCenter | _ProfitCtr | $projection.ControllingArea = _ProfitCtr.ControllingArea and $projection.ProfitCenter = _ProfitCtr.ProfitCenter and $projection.ValidityStartDate >= _ProfitCtr.ValidityStartDate and $projection.ValidityStartDate <= _ProfitCtr.ValidityEndDate |
| [0..1] | I_ProfitCenter | _ProfitCenterBeforeOrglChange | $projection.ControllingArea = _ProfitCenterBeforeOrglChange.ControllingArea and $projection.ProfitCenterBeforeOrglChange = _ProfitCenterBeforeOrglChange.ProfitCenter and $projection.ValidityStartDate >= _ProfitCenterBeforeOrglChange.ValidityStartDate and $projection.ValidityStartDate <= _ProfitCenterBeforeOrglChange.ValidityEndDate |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFINOCRTPCCO | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Assgmt PrftCtr to Prod Cost Ctrlg Order | view | |
| VDM.viewType | #BASIC | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.representativeKey | OrderID | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Analytics.internalName | #LOCAL | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| Metadata.allowExtensions | true | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OrderID | aufnr | SettlementOrder | |
| KEY | ValidityStartDate | valid_from | Validity Start Time | |
| ValidityEndDate | valid_to | Validity End Time | ||
| ControllingArea | kokrs | Org. Value | ||
| CompanyCode | bukrs | Value | ||
| ProfitCenterBeforeOrglChange | prctr_old | Old Profit Center | ||
| ProfitCenter | prctr | Profit Centers | ||
| OrganizationalChange | orgl_change | Organizational Change | ||
| OrglChangeReassignmentStatus | reassgmt_status | Status | ||
| ProfitCenterDerivationSrceType | prctr_drvtn_source_type | Profit Center Source | ||
| OrderCategory | autyp | Order category | ||
| SourceProduct | srce_matnr | Source Product | ||
| SourcePlant | srce_werks | Source Plant | ||
| SourceCostCenter | srce_kostl | Source Cost Center | ||
| _OrglChgReassignmentStatus | _OrglChgReassignmentStatus | |||
| _ProfitCtrDerivationSrceType | _ProfitCtrDerivationSrceType | |||
| _OrglChange | _OrglChange | |||
| _CompanyCode | _CompanyCode | |||
| _ControllingArea | _ControllingArea | |||
| _ProfitCtr | _ProfitCtr | |||
| _ProfitCenterBeforeOrglChange | _ProfitCenterBeforeOrglChange | |||
| _ProductCostCtrlgOrder | _ProductCostCtrlgOrder |
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_PrftCtrToProdCostCtrlgOrder.
-- 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: IFINOCRTPCCO
CREATE VIEW I_PrftCtrToProdCostCtrlgOrder AS
SELECT
aufnr AS OrderID,
valid_from AS ValidityStartDate,
valid_to AS ValidityEndDate,
kokrs AS ControllingArea,
bukrs AS CompanyCode,
prctr_old AS ProfitCenterBeforeOrglChange,
prctr AS ProfitCenter,
orgl_change AS OrganizationalChange,
reassgmt_status AS OrglChangeReassignmentStatus,
prctr_drvtn_source_type AS ProfitCenterDerivationSrceType,
autyp AS OrderCategory,
srce_matnr AS SourceProduct,
srce_werks AS SourcePlant,
srce_kostl AS SourceCostCenter
FROM finoc_rt_ord
LEFT OUTER JOIN I_ProductCostCtrlgOrder AS _ProductCostCtrlgOrder ON OrderID = _ProductCostCtrlgOrder.OrderID -- association [1]
LEFT OUTER JOIN I_OrglChangeReassignmentStatus AS _OrglChgReassignmentStatus ON OrglChangeReassignmentStatus = _OrglChgReassignmentStatus.OrglChangeReassignmentStatus -- association [1]
LEFT OUTER JOIN I_ProfitCtrDerivationSrceType AS _ProfitCtrDerivationSrceType ON ProfitCenterDerivationSrceType = _ProfitCtrDerivationSrceType.ProfitCenterDerivationSrceType -- association [0..1]
LEFT OUTER JOIN I_OrganizationalChange AS _OrglChange ON OrganizationalChange = _OrglChange.OrganizationalChange -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea -- association [1]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCtr ON ControllingArea = _ProfitCtr.ControllingArea AND ProfitCenter = _ProfitCtr.ProfitCenter AND ValidityStartDate >= _ProfitCtr.ValidityStartDate AND ValidityStartDate <= _ProfitCtr.ValidityEndDate -- association [0..1]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCenterBeforeOrglChange ON ControllingArea = _ProfitCenterBeforeOrglChange.ControllingArea AND ProfitCenterBeforeOrglChange = _ProfitCenterBeforeOrglChange.ProfitCenter AND ValidityStartDate >= _ProfitCenterBeforeOrglChange.ValidityStartDate AND ValidityStartDate <= _ProfitCenterBeforeOrglChange.ValidityEndDate -- 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