I_CustomCDSViewRework
Custom CDS View Rework - raw name
I_CustomCDSViewRework is a CDS View that provides data about "Custom CDS View Rework - raw name" in SAP S/4HANA. It reads from 2 data sources (dd02b, atov_bom_rework_demand) and exposes 12 fields with key field EntityName. It has 2 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| dd02b | _EntityHeader | from |
| atov_bom_rework_demand | bom | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CCV_REWORK_TASK_PRIORITY_VH | _TaskPriority | _TaskPriority.CodeInt = bom.Highest_Priority |
| [0..1] | I_CCV_REWORK_TASK_CATEGORY_VH | _TaskCategory | _TaskCategory.Code = bom.Rework_Category |
Annotations (2)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Custom CDS View Rework - raw name | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EntityName | dd02b | strucobjn_raw | DD: Original Name of a Struct. Obj. (e.g. Entity, Context) |
| ItemType | atov_bom_rework_demand | item_type | Type | |
| ItemId | atov_bom_rework_demand | item_id | Simulation Item ID | |
| ReworkIndicator | Rework | |||
| HighestPriority | ||||
| HighestPrioritySortOrder | atov_bom_rework_demand | Highest_Priority_Sort_Order | ||
| HighestPriorityText | _TaskPriority | Description | Task Priority | |
| PriorityText | atov_bom_rework_demand | Priority_Text | Priority Description | |
| Category | ||||
| CategoryText | atov_bom_rework_demand | 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.
-- 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 AS
SELECT
_EntityHeader.strucobjn_raw AS EntityName,
bom.item_type AS ItemType,
bom.item_id AS ItemId,
cast( bom.Rework as aps_ccv_rework_ind preserving type ) AS ReworkIndicator,
cast( bom.Highest_Priority as aps_ccv_r_task_priority preserving type ) AS HighestPriority,
bom.Highest_Priority_Sort_Order AS HighestPrioritySortOrder,
_TaskPriority.Description AS HighestPriorityText,
bom.Priority_Text AS PriorityText,
cast( bom.Rework_Category as aps_ccv_r_task_category preserving type ) AS Category,
bom.Rework_Category_Text AS CategoryText
FROM dd02b AS _EntityHeader
INNER JOIN atov_bom_rework_demand AS bom ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CCV_REWORK_TASK_PRIORITY_VH AS _TaskPriority ON _TaskPriority.CodeInt = bom.Highest_Priority -- association [0..1]
LEFT OUTER JOIN I_CCV_REWORK_TASK_CATEGORY_VH AS _TaskCategory ON _TaskCategory.Code = bom.Rework_Category -- association [0..1]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA