I_PPSDocumentTotalKeyFigure

DDL: I_PPSDOCUMENTTOTALKEYFIGURE Type: view_entity BASIC

Document Total Key Figures

I_PPSDocumentTotalKeyFigure is a Basic CDS View that provides data about "Document Total Key Figures" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field PPSDocTotalKeyFigure. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_PPSDocTotalKeyFigureText _PPSDocTotalKeyFigureText _PPSDocTotalKeyFigureText.PPSDocTotalKeyFigure = $projection.PPSDocTotalKeyFigure and _PPSDocTotalKeyFigureText.Language = $session.system_language

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Document Total Key Figures view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #BASIC view
ObjectModel.representativeKey PPSDocTotalKeyFigure view
Search.searchable true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY PPSDocTotalKeyFigure Lower Value
_PPSDocTotalKeyFigureText _PPSDocTotalKeyFigureText

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 I_PPSDocumentTotalKeyFigure.
-- 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 I_PPSDocumentTotalKeyFigure AS
SELECT
  cast( domvalue_l as pps_e_purord_met_tot_key_fig ) AS PPSDocTotalKeyFigure
FROM dd07l
LEFT OUTER JOIN I_PPSDocTotalKeyFigureText AS _PPSDocTotalKeyFigureText ON _PPSDocTotalKeyFigureText.PPSDocTotalKeyFigure = PPSDocTotalKeyFigure AND _PPSDocTotalKeyFigureText.Language = $session.system_language  -- association [0..1]
;