I_CustomCDSViewRework_KeyUpper

DDL: I_CUSTOMCDSVIEWREWORK_KEYUPPER Type: view_entity

Custom CDS View Rework - upper name

I_CustomCDSViewRework_KeyUpper is a CDS View that provides data about "Custom CDS View Rework - upper name" in SAP S/4HANA. It reads from 1 data source (atov_bom_rework_demand) and exposes 12 fields with key field EntityName. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
atov_bom_rework_demand atov_bom_rework_demand from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_CCV_REWORK_TASK_PRIORITY_VH _TaskPriority _TaskPriority.CodeInt = atov_bom_rework_demand.Highest_Priority
[0..1] I_CCV_REWORK_TASK_CATEGORY_VH _TaskCategory _TaskCategory.Code = atov_bom_rework_demand.Rework_Category

Annotations (2)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Custom CDS View Rework - upper name view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY EntityName object_name Technical Name
ItemId item_id Simulation Item ID
ItemType item_type Type
ReworkIndicator Rework
HighestPriority
HighestPrioritySortOrder Highest_Priority_Sort_Order
HighestPriorityText _TaskPriority Description Task Priority
PriorityText Priority_Text Priority Description
Category
CategoryText Rework_Category_Text
_TaskPriority _TaskPriority
_TaskCategory _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 I_CustomCDSViewRework_KeyUpper.
-- 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_CustomCDSViewRework_KeyUpper AS
SELECT
  object_name AS EntityName,
  item_id AS ItemId,
  item_type AS ItemType,
  cast( Rework as aps_ccv_rework_ind preserving type ) AS ReworkIndicator,
  cast( Highest_Priority as aps_ccv_r_task_priority preserving type ) AS HighestPriority,
  Highest_Priority_Sort_Order AS HighestPrioritySortOrder,
  _TaskPriority.Description AS HighestPriorityText,
  Priority_Text AS PriorityText,
  cast( Rework_Category as aps_ccv_r_task_category preserving type ) AS Category,
  Rework_Category_Text AS CategoryText
FROM atov_bom_rework_demand
LEFT OUTER JOIN I_CCV_REWORK_TASK_PRIORITY_VH AS _TaskPriority ON _TaskPriority.CodeInt = atov_bom_rework_demand.Highest_Priority  -- association [0..1]
LEFT OUTER JOIN I_CCV_REWORK_TASK_CATEGORY_VH AS _TaskCategory ON _TaskCategory.Code = atov_bom_rework_demand.Rework_Category  -- association [0..1]
;