P_EBASO_OrderPlanCost1
Event-Based Analyze Summarization Object - Order Plan Cost
P_EBASO_OrderPlanCost1 is a Composite CDS View that provides data about "Event-Based Analyze Summarization Object - Order Plan Cost" in SAP S/4HANA. It reads from 1 data source (I_FinancialPlanningEntryItem) and exposes 45 fields with key fields FinancialPlanningReqTransSqnc, FinancialPlanningDataPacket, FinancialPlanningEntryItem, ControllingValueType. Part of development package ODATA_CO_EB_ANALYZE_SUM_OBJECT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_FinancialPlanningEntryItem | I_FinancialPlanningEntryItem | from |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_FromFiscalYearPeriod | fis_jahrper | |
| P_ToFiscalYearPeriod | fis_jahrper | |
| P_Ledger | fins_ledger |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (45)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FinancialPlanningReqTransSqnc | FinancialPlanningReqTransSqnc | Request TSN | |
| KEY | FinancialPlanningDataPacket | FinancialPlanningDataPacket | Data packet number | |
| KEY | FinancialPlanningEntryItem | FinancialPlanningEntryItem | Object GUID | |
| KEY | ControllingValueType | |||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| Plant | Plant | Valuation Area | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| PlanningCategory | PlanningCategory | Plan Category | ||
| CostElement | General Ledger | |||
| BusinessTransactionCategory | BusinessTransactionCategory | Business Transaction Category | ||
| ControllingDebitCreditCode | ControllingDebitCreditCode | Dr/Cr ind. CO | ||
| OrderID | OrderID | Order ID | ||
| AccountAssignmentType | AccountAssignmentType | Sndr AcctAssgmt Type | ||
| PartnerAccountAssignmentType | PartnerAccountAssignmentType | Partner Account Assignment Type | ||
| PartnerCostCenter | PartnerCostCenter | Sender Cost Ctr | ||
| PartnerCostCtrActivityType | PartnerCostCtrActivityType | Partner Cost Center Activity Type | ||
| PartnerOrder | PartnerOrder_2 | |||
| UnitOfMeasure | CostSourceUnit | Valuation UoM | ||
| Material | Material | Vehicle Model | ||
| IsLotSizeIndependent | IsLotSizeIndependent | LotSzIndep.Ind. | ||
| CostOriginGroup | CostOriginGroup | Origin Group | ||
| OriginCostCenter | OriginCostCenter | OrigCCtr | ||
| OriginCostCtrActivityType | OriginCostCtrActivityType | OrigAct. | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| GlobalCurrency | GlobalCurrency | GM Billing Element: Global Currency | ||
| FreeDefinedCurrency1 | FreeDefinedCurrency1 | Freely Defined Currency 1 | ||
| FreeDefinedCurrency2 | FreeDefinedCurrency2 | Freely Defined Currency 2 | ||
| FreeDefinedCurrency3 | FreeDefinedCurrency3 | Freely Defined Currency 3 | ||
| FreeDefinedCurrency4 | FreeDefinedCurrency4 | Freely Defined Currency 4 | ||
| FreeDefinedCurrency5 | FreeDefinedCurrency5 | Freely Defined Currency 5 | ||
| FreeDefinedCurrency6 | FreeDefinedCurrency6 | Freely Defined Currency 6 | ||
| FreeDefinedCurrency7 | FreeDefinedCurrency7 | Freely Defined Currency 7 | ||
| FreeDefinedCurrency8 | FreeDefinedCurrency8 | Freely Defined Currency 8 | ||
| AmountInCompanyCodeCurrency | Local Crcy Amt | |||
| AmountInGlobalCurrency | Amount in Global Currency | |||
| AmountInFreeDefinedCurrency1 | Amount in Freely Defined Currency 1 | |||
| AmountInFreeDefinedCurrency2 | Amount in Freely Defined Currency 2 | |||
| AmountInFreeDefinedCurrency3 | Amount in Freely Defined Currency 3 | |||
| AmountInFreeDefinedCurrency4 | Amount in Freely Defined Currency 4 | |||
| AmountInFreeDefinedCurrency5 | Amount in Freely Defined Currency 5 | |||
| AmountInFreeDefinedCurrency6 | Amount in Freely Defined Currency 6 | |||
| AmountInFreeDefinedCurrency7 | Amount in Freely Defined Currency 7 | |||
| AmountInFreeDefinedCurrency8 | Amount in Freely Defined Currency 8 | |||
| FixedAmountInGlobalCrcy | Fixed Amnt in GC | |||
| Quantity | ValuationQuantity | Val. quantity |
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_EBASO_OrderPlanCost1.
-- 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_FromFiscalYearPeriod : fis_jahrper, P_ToFiscalYearPeriod : fis_jahrper, P_Ledger : fins_ledger
CREATE VIEW P_EBASO_OrderPlanCost1 AS
SELECT
FinancialPlanningReqTransSqnc,
FinancialPlanningDataPacket,
FinancialPlanningEntryItem,
'01' AS ControllingValueType,
CompanyCode,
Plant,
ControllingArea,
PlanningCategory,
cast(GLAccount as fis_saknr) AS CostElement,
BusinessTransactionCategory,
ControllingDebitCreditCode,
OrderID,
AccountAssignmentType,
PartnerAccountAssignmentType,
PartnerCostCenter,
PartnerCostCtrActivityType,
PartnerOrder_2 AS PartnerOrder,
CostSourceUnit AS UnitOfMeasure,
Material,
IsLotSizeIndependent,
CostOriginGroup,
OriginCostCenter,
OriginCostCtrActivityType,
CompanyCodeCurrency,
GlobalCurrency,
FreeDefinedCurrency1,
FreeDefinedCurrency2,
FreeDefinedCurrency3,
FreeDefinedCurrency4,
FreeDefinedCurrency5,
FreeDefinedCurrency6,
FreeDefinedCurrency7,
FreeDefinedCurrency8,
cast(AmountInCompanyCodeCurrency as abap.dec(23, 2)) AS AmountInCompanyCodeCurrency,
cast(AmountInGlobalCurrency as abap.dec(23, 2)) AS AmountInGlobalCurrency,
cast(AmountInFreeDefinedCurrency1 as abap.dec(23, 2)) AS AmountInFreeDefinedCurrency1,
cast(AmountInFreeDefinedCurrency2 as abap.dec(23, 2)) AS AmountInFreeDefinedCurrency2,
cast(AmountInFreeDefinedCurrency3 as abap.dec(23, 2)) AS AmountInFreeDefinedCurrency3,
cast(AmountInFreeDefinedCurrency4 as abap.dec(23, 2)) AS AmountInFreeDefinedCurrency4,
cast(AmountInFreeDefinedCurrency5 as abap.dec(23, 2)) AS AmountInFreeDefinedCurrency5,
cast(AmountInFreeDefinedCurrency6 as abap.dec(23, 2)) AS AmountInFreeDefinedCurrency6,
cast(AmountInFreeDefinedCurrency7 as abap.dec(23, 2)) AS AmountInFreeDefinedCurrency7,
cast(AmountInFreeDefinedCurrency8 as abap.dec(23, 2)) AS AmountInFreeDefinedCurrency8,
cast(FixedAmountInGlobalCrcy as abap.dec(23, 2)) AS FixedAmountInGlobalCrcy,
ValuationQuantity AS Quantity
FROM I_FinancialPlanningEntryItem
;
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