C_ChmlCmplncMktCvrgVH

DDL: C_CHMLCMPLNCMKTCVRGVH Type: view CONSUMPTION

Value Help for Coverage with Filter

C_ChmlCmplncMktCvrgVH is a Consumption CDS View that provides data about "Value Help for Coverage with Filter" in SAP S/4HANA. It reads from 2 data sources (I_ChmlCmplncMktCvrg, I_ChmlCmplncMktCvrgDraft) and exposes 10 fields with key field ChmlCmplncMktCvrgUUID. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_ChmlCmplncMktCvrg I_ChmlCmplncMktCvrg from
I_ChmlCmplncMktCvrgDraft I_ChmlCmplncMktCvrgDraft union

Parameters (2)

NameTypeDefault
P_ChmlCmplncInfoUUID sysuuid_x
P_Country ehfnd_country_id

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_ChmlCmplncMktCvrgStsVH _CvrgStsSalesVH _CvrgStsSalesVH.ChmlCmplncCvrgStatus = $projection.ChmlCmplncSalesAllwd
[1..1] I_ChmlCmplncInfo _ChmlCmplncInfo _ChmlCmplncInfo.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID

Annotations (19)

NameValueLevelField
EndUserText.label Value Help for Coverage with Filter view
AbapCatalog.sqlViewName CCCMKTCVRGVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey ChmlCmplncMktCvrgUUID view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.createEnabled true view
UI.headerInfo.typeName Specific Marketability view
UI.headerInfo.typeNamePlural Countries/Regions view
Search.searchable true view
Consumption.ranked true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncMktCvrgUUID ChmlCmplncMktCvrgUUID Marketability Coverage
ChmlCmplncInfoUUID
ChmlCmplncSalesAllwd ChmlCmplncSalesAllwd Sell In
ChmlCmplncSalesAllwdName _CvrgStsSalesVH ChmlCmplncCvrgStatusName
_CvrgStsSalesVH _CvrgStsSalesVH
ChmlCmplncInfoUUID
ChmlCmplncSalesAllwd ChmlCmplncSalesAllwd Sell In
ChmlCmplncSalesAllwdName _CvrgStsSalesVH ChmlCmplncCvrgStatusName
_CvrgStsSalesVH _CvrgStsSalesVH
_ChmlCmplncInfo _ChmlCmplncInfo

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_ChmlCmplncMktCvrgVH.
-- 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.
-- Parameters: P_ChmlCmplncInfoUUID : sysuuid_x, P_Country : ehfnd_country_id

CREATE VIEW C_ChmlCmplncMktCvrgVH AS
SELECT
  ChmlCmplncMktCvrgUUID,
  $parameters.P_ChmlCmplncInfoUUID AS ChmlCmplncInfoUUID,
  ChmlCmplncSalesAllwd,
  _CvrgStsSalesVH.ChmlCmplncCvrgStatusName AS ChmlCmplncSalesAllwdName
FROM I_ChmlCmplncMktCvrg
LEFT OUTER JOIN I_ChmlCmplncMktCvrgStsVH AS _CvrgStsSalesVH ON _CvrgStsSalesVH.ChmlCmplncCvrgStatus = ChmlCmplncSalesAllwd  -- association [0..1]
LEFT OUTER JOIN I_ChmlCmplncInfo AS _ChmlCmplncInfo ON _ChmlCmplncInfo.ChmlCmplncInfoUUID = ChmlCmplncInfoUUID  -- association [1..1]
-- UNION with additional select branch(es): I_ChmlCmplncMktCvrgDraft
;