P_RTPC_PCC_OrderBasic

DDL: P_RTPC_PCC_ORDERBASIC Type: view_entity COMPOSITE

P_RTPC_PCC_OrderBasic is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_ProductCostCtrlgOrder) and exposes 12 fields with key field OrderID.

Data Sources (1)

SourceAliasJoin Type
I_ProductCostCtrlgOrder I_ProductCostCtrlgOrder from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY OrderID OrderID Order ID
OrderDescription OrderDescription
ControllingObject ObjectInternalID Object number
OrderType OrderType Order Type
OrderCategory OrderCategory Order Category
ControllingArea ControllingArea Controlling Area
CompanyCode CompanyCode Receiver Company Code
Plant Plant Valuation Area
ProfitCenter ProfitCenter Profit Center
EventBasedPostingMethod EventBasedPostingMethod Event-Based Posting
Material _RepresentativeOrderItem Material Vehicle Model
FiscalYearVariant _CompanyCode FiscalYearVariant FY Variant

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_RTPC_PCC_OrderBasic.
-- 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.

CREATE VIEW P_RTPC_PCC_OrderBasic AS
SELECT
  OrderID,
  OrderDescription,
  ObjectInternalID AS ControllingObject,
  OrderType,
  OrderCategory,
  ControllingArea,
  CompanyCode,
  Plant,
  ProfitCenter,
  EventBasedPostingMethod,
  _RepresentativeOrderItem.Material AS Material,
  _CompanyCode.FiscalYearVariant AS FiscalYearVariant
FROM I_ProductCostCtrlgOrder
;