P_RealTimeMfgOrderToBePostKPI1
P_RealTimeMfgOrderToBePostKPI1 is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_LedgerCompanyCodeCrcyRoles, P_RealTimeMfgOrder) and exposes 29 fields with key fields Ledger, OrderID.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_LedgerCompanyCodeCrcyRoles | _CrcyRoles | inner |
| P_RealTimeMfgOrder | P_RealTimeMfgOrder | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_FiscalPeriodStartDate | budat | |
| P_FiscalPeriodEndDate | budat |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PRTMOTBPKPI1 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AbapCatalog.preserveKey | true | view |
Fields (29)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| LedgerName | ||||
| ProfitCenter | ProfitCenter | Profit Center | ||
| ResultsAnalysisKey | ResultsAnalysisKey | |||
| LogHandle | LogHandle | LogsHandle | ||
| CompanyCodeCurrency | ||||
| GlobalCurrency | ||||
| FreeDefinedCurrency1 | ||||
| FreeDefinedCurrency2 | ||||
| FreeDefinedCurrency3 | ||||
| FreeDefinedCurrency4 | ||||
| FreeDefinedCurrency5 | ||||
| FreeDefinedCurrency6 | ||||
| FreeDefinedCurrency7 | ||||
| FreeDefinedCurrency8 | ||||
| KEY | Ledger | _Ledger | Ledger | Ledger |
| KEY | OrderID | _Ord | OrderID | Order ID |
| OrderDescription | _Ord | OrderDescription | ||
| ControllingObject | _Ord | ControllingObject | Object number | |
| OrderType | _Ord | OrderType | Order Type | |
| OrderCategory | _Ord | OrderCategory | Order Category | |
| ControllingArea | _Ord | ControllingArea | Controlling Area | |
| CompanyCode | _Ord | CompanyCode | Receiver Company Code | |
| Material | _Ord | Material | Vehicle Model | |
| Plant | _Ord | Plant | Valuation Area | |
| StatusCode | _Ord | StatusCode | Statuscode | |
| SimulationStatus | _OrderLog | SimulationStatus | ||
| LogNumber | _OrderLog | LogNumber | UUID | |
| LogMessageText | _OrderLog | LogMessageText | ||
| EventBasedProdnCostWlLogType | _OrderLog | EventBasedProdnCostWlLogType |
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 P_RealTimeMfgOrderToBePostKPI1.
-- 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: PRTMOTBPKPI1
-- Parameters: P_FiscalPeriodStartDate : budat, P_FiscalPeriodEndDate : budat
CREATE VIEW P_RealTimeMfgOrderToBePostKPI1 AS
SELECT
_Ledger._Text[1: Language = $session.system_language].LedgerName AS LedgerName,
ProfitCenter,
ResultsAnalysisKey,
LogHandle,
_CrcyRoles._CoCodeCurrencyRoleCurrency.Currency AS CompanyCodeCurrency,
_CrcyRoles._GlobalCurrencyRoleCurrency.Currency AS GlobalCurrency,
_CrcyRoles._FreeDfndCrcyRole1Currency.Currency AS FreeDefinedCurrency1,
_CrcyRoles._FreeDfndCrcyRole2Currency.Currency AS FreeDefinedCurrency2,
_CrcyRoles._FreeDfndCrcyRole3Currency.Currency AS FreeDefinedCurrency3,
_CrcyRoles._FreeDfndCrcyRole4Currency.Currency AS FreeDefinedCurrency4,
_CrcyRoles._FreeDfndCrcyRole5Currency.Currency AS FreeDefinedCurrency5,
_CrcyRoles._FreeDfndCrcyRole6Currency.Currency AS FreeDefinedCurrency6,
_CrcyRoles._FreeDfndCrcyRole7Currency.Currency AS FreeDefinedCurrency7,
_CrcyRoles._FreeDfndCrcyRole8Currency.Currency AS FreeDefinedCurrency8,
_Ledger.Ledger AS Ledger,
_Ord.OrderID AS OrderID,
_Ord.OrderDescription AS OrderDescription,
_Ord.ControllingObject AS ControllingObject,
_Ord.OrderType AS OrderType,
_Ord.OrderCategory AS OrderCategory,
_Ord.ControllingArea AS ControllingArea,
_Ord.CompanyCode AS CompanyCode,
_Ord.Material AS Material,
_Ord.Plant AS Plant,
_Ord.StatusCode AS StatusCode,
_OrderLog.SimulationStatus AS SimulationStatus,
_OrderLog.LogNumber AS LogNumber,
_OrderLog.LogMessageText AS LogMessageText,
_OrderLog.EventBasedProdnCostWlLogType AS EventBasedProdnCostWlLogType
FROM P_RealTimeMfgOrder
INNER JOIN I_LedgerCompanyCodeCrcyRoles AS _CrcyRoles ON /* join condition not captured in parsed metadata */
;
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