C_PPS_PurOrdDocTotalOptional

DDL: C_PPS_PURORDDOCTOTALOPTIONAL Type: view_entity CONSUMPTION

PPS Purchase Order Document Total Optnl

C_PPS_PurOrdDocTotalOptional is a Consumption CDS View that provides data about "PPS Purchase Order Document Total Optnl" in SAP S/4HANA. It reads from 1 data source (I_PPS_PurOrdDocTotOptnlC) and exposes 8 fields with key fields PurchaseOrder, PPSDocTotOptionalKeyFigure.

Data Sources (1)

SourceAliasJoin Type
I_PPS_PurOrdDocTotOptnlC I_PPS_PurOrdDocTotOptnlC projection

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label PPS Purchase Order Document Total Optnl view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
Feature SW:PPS_NG_DOC_TOTAL view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder Purchasing Document
KEY PPSDocTotOptionalKeyFigure Lower Value
PPSDocTotOptionalKeyFigureText Short Description
DocumentCurrency Document Currency
PPSDocTotOptionalKeyFigCritlty PPSDocTotOptionalKeyFigCritlty
PPSDocTotalOptionalAmount PPSDocTotalOptionalAmount Optional Amount
Plant Plant Valuation Area
_PurchaseOrder _PurchaseOrder

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 C_PPS_PurOrdDocTotalOptional.
-- 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 C_PPS_PurOrdDocTotalOptional AS
SELECT
  cast( PurchaseOrder as vdm_purchaseorder preserving type ) AS PurchaseOrder,
  cast( PPSDocTotOptionalKeyFigure as pps_e_doc_tot_opt_key_fig preserving type ) AS PPSDocTotOptionalKeyFigure,
  cast( PPSDocTotOptionalKeyFigureText as pps_e_doc_tot_opt_key_fig_text preserving type ) AS PPSDocTotOptionalKeyFigureText,
  cast( DocumentCurrency as waers preserving type ) AS DocumentCurrency,
  PPSDocTotOptionalKeyFigCritlty,
  PPSDocTotalOptionalAmount,
  Plant
FROM I_PPS_PurOrdDocTotOptnlC
;