C_CustomCDSViewRework

DDL: C_CUSTOMCDSVIEWREWORK Type: view_entity

Custom CDS View Rework

C_CustomCDSViewRework is a CDS View that provides data about "Custom CDS View Rework" in SAP S/4HANA. It reads from 1 data source (I_CustomCDSViewRoot) and exposes 11 fields with key field EntityName. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_CustomCDSViewRoot I_CustomCDSViewRoot from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_CustomCDSViewRework _Rework _Rework.EntityName = I_CustomCDSViewRoot.camel_case_entity_name

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Custom CDS View Rework view
Metadata.allowExtensions true view
Search.searchable true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY EntityName entity_name Table Name
CamelCaseEntityName camel_case_entity_name Entity Name
ReworkIndicator Rework
HighestPriority _Rework HighestPriority
HighestPriorityText _Rework HighestPriorityText
HighestPrioritySortOrder _Rework HighestPrioritySortOrder
Category _Rework Category Violation Category
CategoryText _Rework CategoryText
_Rework _Rework
_TaskPriority _Rework _TaskPriority
_TaskCategory _Rework _TaskCategory

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_CustomCDSViewRework.
-- 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 C_CustomCDSViewRework AS
SELECT
  entity_name AS EntityName,
  camel_case_entity_name AS CamelCaseEntityName,
  cast(coalesce(_Rework.ReworkIndicator, ' ') as aps_ccv_rework_ind preserving type ) AS ReworkIndicator,
  _Rework.HighestPriority AS HighestPriority,
  _Rework.HighestPriorityText AS HighestPriorityText,
  _Rework.HighestPrioritySortOrder AS HighestPrioritySortOrder,
  _Rework.Category AS Category,
  _Rework.CategoryText AS CategoryText,
  _Rework._TaskPriority AS _TaskPriority,
  _Rework._TaskCategory AS _TaskCategory
FROM I_CustomCDSViewRoot
LEFT OUTER JOIN I_CustomCDSViewRework AS _Rework ON _Rework.EntityName = I_CustomCDSViewRoot.camel_case_entity_name  -- association [0..1]
;