P_EBPC_WIP_F1_1

DDL: P_EBPC_WIP_F1_1 Type: view_entity COMPOSITE Package: ODATA_CO_RT_PRODUCTION_COSTS

Event-Based Order WIP

P_EBPC_WIP_F1_1 is a Composite CDS View that provides data about "Event-Based Order WIP" in SAP S/4HANA. It reads from 1 data source (I_JournalEntryItem) and exposes 6 fields with key fields CompanyCode, OrderID, OrderItem, SubLedgerAcctLineItemType. Part of development package ODATA_CO_RT_PRODUCTION_COSTS.

Data Sources (1)

SourceAliasJoin Type
I_JournalEntryItem I_JournalEntryItem from

Parameters (3)

NameTypeDefault
P_Ledger fins_ledger
P_FromFiscalYearPeriod fins_fyearperiod
P_ToFiscalYearPeriod fins_fyearperiod

Annotations (4)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY OrderID OrderID Order ID
KEY OrderItem OrderItem
KEY SubLedgerAcctLineItemType SubLedgerAcctLineItemType SLALineItemType
DisplayCurrency FreeDefinedCurrency1 Freely Defined Currency 1
AmountInDisplayCurrency Amount in Freely Defined Currency 1

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_EBPC_WIP_F1_1.
-- 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.
-- Parameters: P_Ledger : fins_ledger, P_FromFiscalYearPeriod : fins_fyearperiod, P_ToFiscalYearPeriod : fins_fyearperiod

CREATE VIEW P_EBPC_WIP_F1_1 AS
SELECT
  CompanyCode,
  OrderID,
  OrderItem,
  SubLedgerAcctLineItemType,
  FreeDefinedCurrency1 AS DisplayCurrency,
  sum(cast(AmountInFreeDefinedCurrency1 as abap.dec(23,2))) AS AmountInDisplayCurrency
FROM I_JournalEntryItem
;