ATOV_REWORK_TASK_BASE
Rework Task Basic View
ATOV_REWORK_TASK_BASE is a CDS View that provides data about "Rework Task Basic View" in SAP S/4HANA. It reads from 1 data source (ato_rework_task) and exposes 11 fields with key fields item_id, item_type, origin, task_id. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ato_rework_task | Task | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | ATOV_DEPRECATION_TASK_OBJ_DESC | msgv1 | msgv1.object_type = Task.msgv1 |
| [1] | ATOV_DEPRECATION_TASK_OBJ_DESC | msgv2 | msgv2.object_type = Task.msgv2 |
| [0..1] | ATOV_DEPRECATION_TASK_OBJ_DESC | msgv3 | msgv3.object_type = Task.msgv3 |
| [1] | ATOV_DEPRECATION_TASK_OBJ_DESC | msgv4 | msgv4.object_type = Task.msgv4 |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ATOV_RWK_T_B | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Rework Task Basic View | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | item_id | ato_rework_task | item_id | Simulation Item ID |
| KEY | item_type | ato_rework_task | item_type | Type |
| KEY | origin | ato_rework_task | origin | Task Origin |
| KEY | task_id | ato_rework_task | task_id | TaskID |
| msgid | ato_rework_task | msgid | Message ID | |
| msgno | ato_rework_task | msgno | Message Number | |
| msgv3endasMsgv3 | ||||
| priority | ato_rework_task | priority | Workflow priority | |
| category | category | Violation Category | ||
| updated_at | updated_at | Version Update Time | ||
| first_found | first_found | Time Stamp |
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 ATOV_REWORK_TASK_BASE.
-- 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.
-- SQL view name: ATOV_RWK_T_B
CREATE VIEW ATOV_REWORK_TASK_BASE AS
SELECT
Task.item_id AS item_id,
Task.item_type AS item_type,
Task.origin AS origin,
Task.task_id AS task_id,
Task.msgid AS msgid,
Task.msgno AS msgno,
case Task.origin when 'R' then coalesce ( msgv3.description, Task.msgv3 ) else Task.msgv3 end as Msgv3 AS msgv3endasMsgv3,
Task.priority AS priority,
category,
updated_at,
first_found
FROM ato_rework_task AS Task
LEFT OUTER JOIN ATOV_DEPRECATION_TASK_OBJ_DESC AS msgv1 ON msgv1.object_type = Task.msgv1 -- association [1]
LEFT OUTER JOIN ATOV_DEPRECATION_TASK_OBJ_DESC AS msgv2 ON msgv2.object_type = Task.msgv2 -- association [1]
LEFT OUTER JOIN ATOV_DEPRECATION_TASK_OBJ_DESC AS msgv3 ON msgv3.object_type = Task.msgv3 -- association [0..1]
LEFT OUTER JOIN ATOV_DEPRECATION_TASK_OBJ_DESC AS msgv4 ON msgv4.object_type = Task.msgv4 -- association [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