I_CCV_DataSource_VH_2

DDL: I_CCV_DATASOURCE_VH_2 Type: view_entity

CCV Datasource VH primary || associated

I_CCV_DataSource_VH_2 is a CDS View that provides data about "CCV Datasource VH primary || associated" in SAP S/4HANA. It reads from 4 data sources (ddheadanno, ddheadanno, ARS_APIS_RELEASED_C1_OR_GROUPS, ddheadanno) and exposes 19 fields with key fields entity_name, state. It has 10 associations to related views.

Data Sources (4)

SourceAliasJoin Type
ddheadanno modelingAssocTargetAnno left_outer
ddheadanno modelingDataSourceAnno left_outer
ARS_APIS_RELEASED_C1_OR_GROUPS rel_c1_grp inner
ddheadanno transactionalProviderAnno left_outer

Associations (10)

CardinalityTargetAliasCondition
[0..1] I_CustomCDSViewSourceOrigin _SourceOrigin _SourceOrigin.SourceOrigin = header.source_origin
[0..1] I_CustomCDSViewObjectStatus _ObjectStatus _ObjectStatus.ObjectStatus = $projection.ObjectStatus
[0..1] Sacm_Public_Dcl_For_Entity _dcl_for_entity _dcl_for_entity.entity = header.entity_name
[0..1] I_CustomCDSViewAccProtection _AccessProtection _AccessProtection.AccessProtection = $projection.access_protection
[0..1] I_CustomCDSViewRework_KeyUpper _Rework _Rework.EntityName = header.ddl_name -- Annotation value 'OBJECTMODEL.DATACATEGORY'
[0..1] ddheadanno _objectmodel_datacategory _objectmodel_datacategory.strucobjn = header.entity_name and _objectmodel_datacategory.name = 'OBJECTMODEL.DATACATEGORY' -- Label text
[0..1] ddddlsrc02bt _label_text_active _label_text_active.ddlname = header.ddl_name and _label_text_active.strucobjn = header.entity_name and _label_text_active.as4local = header.state and _label_text_active.ddlanguage = $session.system_language -- Label text English
[0..1] ddddlsrc02bt _label_text_english _label_text_english.ddlname = header.ddl_name and _label_text_english.strucobjn = header.entity_name and _label_text_english.as4local = header.state and _label_text_english.ddlanguage = 'E' -- Label text Original
[0..1] ddddlsrc02bt _label_text_original _label_text_original.ddlname = header.ddl_name and _label_text_original.strucobjn = header.entity_name and _label_text_original.as4local = header.state and _label_text_original.ddlanguage = header.original_language
[0..1] I_CustomCDSViewAnaDataCategory _AnaDataCategory _AnaDataCategory.AnalyticsDatacategory = $projection.analytics_datacategory

Annotations (2)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label CCV Datasource VH primary || associated view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY entity_name header entity_name Table Name
KEY state header state Vehicle Region
view_name header entity_name_raw
ddl_name header ddl_name DDL Name
view_text header label_text Short Description
_SourceOrigin _SourceOrigin
_ObjectStatus _ObjectStatus
_AccessProtection _AccessProtection
HighestPriorityasTaskPriorityId
TaskPriority _Rework HighestPriorityText Task Priority
TaskPrioritySortOrder _Rework HighestPrioritySortOrder
ReworkIndicator _Rework ReworkIndicator Rework
Category _Rework Category Violation Category
TaskCategory _Rework CategoryText
_Rework _Rework
_TaskPriority _Rework _TaskPriority
_TaskCategory _Rework _TaskCategory
_AnaDataCategory _AnaDataCategory
TextandFuzzySearchNeeded

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_CCV_DataSource_VH_2.
-- 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_CCV_DataSource_VH_2 AS
SELECT
  header.entity_name AS entity_name,
  header.state AS state,
  header.entity_name_raw AS view_name,
  header.ddl_name AS ddl_name,
  header.label_text AS view_text,
  _Rework.HighestPriorityText AS TaskPriority,
  _Rework.HighestPrioritySortOrder AS TaskPrioritySortOrder,
  _Rework.ReworkIndicator AS ReworkIndicator,
  _Rework.Category AS Category,
  _Rework.CategoryText AS TaskCategory,
  _Rework._TaskPriority AS _TaskPriority,
  _Rework._TaskCategory AS _TaskCategory
INNER JOIN ARS_APIS_RELEASED_C1_OR_GROUPS AS rel_c1_grp ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ddheadanno AS modelingDataSourceAnno ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ddheadanno AS modelingAssocTargetAnno ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ddheadanno AS transactionalProviderAnno ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CustomCDSViewSourceOrigin AS _SourceOrigin ON _SourceOrigin.SourceOrigin = header.source_origin  -- association [0..1]
LEFT OUTER JOIN I_CustomCDSViewObjectStatus AS _ObjectStatus ON _ObjectStatus.ObjectStatus = ObjectStatus  -- association [0..1]
LEFT OUTER JOIN Sacm_Public_Dcl_For_Entity AS _dcl_for_entity ON _dcl_for_entity.entity = header.entity_name  -- association [0..1]
LEFT OUTER JOIN I_CustomCDSViewAccProtection AS _AccessProtection ON _AccessProtection.AccessProtection = access_protection  -- association [0..1]
LEFT OUTER JOIN I_CustomCDSViewRework_KeyUpper AS _Rework ON _Rework.EntityName = header.ddl_name  -- association [0..1]
LEFT OUTER JOIN ddheadanno AS _objectmodel_datacategory ON _objectmodel_datacategory.strucobjn = header.entity_name AND _objectmodel_datacategory.name = 'OBJECTMODEL.DATACATEGORY'  -- association [0..1]
LEFT OUTER JOIN ddddlsrc02bt AS _label_text_active ON _label_text_active.ddlname = header.ddl_name AND _label_text_active.strucobjn = header.entity_name AND _label_text_active.as4local = header.state AND _label_text_active.ddlanguage = $session.system_language  -- association [0..1]
LEFT OUTER JOIN ddddlsrc02bt AS _label_text_english ON _label_text_english.ddlname = header.ddl_name AND _label_text_english.strucobjn = header.entity_name AND _label_text_english.as4local = header.state AND _label_text_english.ddlanguage = 'E'  -- association [0..1]
LEFT OUTER JOIN ddddlsrc02bt AS _label_text_original ON _label_text_original.ddlname = header.ddl_name AND _label_text_original.strucobjn = header.entity_name AND _label_text_original.as4local = header.state AND _label_text_original.ddlanguage = header.original_language  -- association [0..1]
LEFT OUTER JOIN I_CustomCDSViewAnaDataCategory AS _AnaDataCategory ON _AnaDataCategory.AnalyticsDatacategory = analytics_datacategory  -- association [0..1]
;