P_VlogpMaxVersion

DDL: P_VLOGPMAXVERSION SQL: PVLOGPMAX Type: view BASIC

P_VlogpMaxVersion is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (cmm_vlogp) and exposes 3 fields with key field PricingKey.

Data Sources (1)

SourceAliasJoin Type
cmm_vlogp cmm_vlogp from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PVLOGPMAX view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
VDM.private true view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY PricingKey pricing_key Pricing Key
PricingDocumentItem kposn Number
Version

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_VlogpMaxVersion.
-- 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.
-- SQL view name: PVLOGPMAX

CREATE VIEW P_VlogpMaxVersion AS
SELECT
  pricing_key AS PricingKey,
  kposn AS PricingDocumentItem,
  max( version ) AS Version
FROM cmm_vlogp
;