I_CmmdtyPricingTermGrouping

DDL: I_CMMDTYPRICINGTERMGROUPING SQL: ITERMGROUPING Type: view BASIC

CPE Term Grouping of Terms

I_CmmdtyPricingTermGrouping is a Basic CDS View that provides data about "CPE Term Grouping of Terms" in SAP S/4HANA. It reads from 1 data source (cpec_termgrp) and exposes 7 fields with key fields OriginSystem, PricingConditionFormulaKey, ConditionType, PricingConditionTerm, PrcgCndnGrpTrmValdtyStrtDteTme.

Data Sources (1)

SourceAliasJoin Type
cpec_termgrp cpec_termgrp from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ITERMGROUPING view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label CPE Term Grouping of Terms view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY OriginSystem logsys Source system
KEY PricingConditionFormulaKey formid Modules
KEY ConditionType cond_type Demurrage rate
KEY PricingConditionTerm termno Term Number
KEY PrcgCndnGrpTrmValdtyStrtDteTme Vers.Valid To
PricingConditionTermKey termid Term Key
PricingConditionTermGroup termgroup Term Group

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_CmmdtyPricingTermGrouping.
-- 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: ITERMGROUPING

CREATE VIEW I_CmmdtyPricingTermGrouping AS
SELECT
  logsys AS OriginSystem,
  formid AS PricingConditionFormulaKey,
  cond_type AS ConditionType,
  termno AS PricingConditionTerm,
  cast( validto as cpet_validfrom_cds preserving type ) AS PrcgCndnGrpTrmValdtyStrtDteTme,
  termid AS PricingConditionTermKey,
  termgroup AS PricingConditionTermGroup
FROM cpec_termgrp
;