SWW_DATAAGING_INCONSISTENT
Workflow: Work items inconsistent aging
SWW_DATAAGING_INCONSISTENT is a CDS View that provides data about "Workflow: Work items inconsistent aging" in SAP S/4HANA. It reads from 2 data sources (swwwihead, swwwihead) and exposes 17 fields with key field wi_id.
Parameters (1)
| Name | Type | Default |
|---|---|---|
| timeZoneUpdate | tznzone |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SWWAGING01 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Workflow: Work items inconsistent aging | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | wi_id | swwwihead | wi_id | WorkItem ID |
| wi_type | swwwihead | wi_type | Type | |
| wi_stat | swwwihead | wi_stat | Status | |
| aging_state | swwwihead | aging_state | Data Aging Version | |
| wi_rh_task | swwwihead | wi_rh_task | Task | |
| top_task | swwwihead | top_task | Top Task | |
| wi_text | swwwihead | wi_text | Work item text | |
| wi_lang | swwwihead | wi_lang | Language | |
| clientNULLascreatedDateZonlo | ||||
| clientNULLascreatedTimeZonlo | ||||
| crea_tmp | swwwihead | crea_tmp | Created On | |
| clientNULLascompletedDateZonlo | ||||
| clientNULLascompletedTimeZonlo | ||||
| clientNULLastopHeaderCreatedDateZonlo | ||||
| clientNULLastopHeaderCreatedTimeZonlo | ||||
| clientNULLastopHeaderCompletedDateZonlo | ||||
| clientNULLastopHeaderCompletedTimeZonlo |
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 SWW_DATAAGING_INCONSISTENT.
-- 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: SWWAGING01
-- Parameters: timeZoneUpdate : tznzone
CREATE VIEW SWW_DATAAGING_INCONSISTENT AS
SELECT
header.wi_id AS wi_id,
header.wi_type AS wi_type,
header.wi_stat AS wi_stat,
header.aging_state AS aging_state,
header.wi_rh_task AS wi_rh_task,
header.top_task AS top_task,
header.wi_text AS wi_text,
header.wi_lang AS wi_lang,
tstmp_to_dats( header.crea_tmp, $parameters.timeZoneUpdate, $session.client, 'NULL' ) as createdDateZonlo AS clientNULLascreatedDateZonlo,
tstmp_to_tims( header.crea_tmp, $parameters.timeZoneUpdate, $session.client, 'NULL' ) as createdTimeZonlo AS clientNULLascreatedTimeZonlo,
header.crea_tmp AS crea_tmp,
tstmp_to_dats( header.wi_aed_timestamp, $parameters.timeZoneUpdate, $session.client, 'NULL' ) as completedDateZonlo AS clientNULLascompletedDateZonlo,
tstmp_to_tims( header.wi_aed_timestamp, $parameters.timeZoneUpdate, $session.client, 'NULL' ) as completedTimeZonlo AS clientNULLascompletedTimeZonlo,
tstmp_to_dats( top_header.crea_tmp, $parameters.timeZoneUpdate, $session.client, 'NULL' ) as topHeaderCreatedDateZonlo AS clientNULLastopHeaderCreatedDateZonlo,
tstmp_to_tims( top_header.crea_tmp, $parameters.timeZoneUpdate, $session.client, 'NULL' ) as topHeaderCreatedTimeZonlo AS clientNULLastopHeaderCreatedTimeZonlo,
tstmp_to_dats( top_header.wi_aed_timestamp, $parameters.timeZoneUpdate, $session.client, 'NULL' ) as topHeaderCompletedDateZonlo AS clientNULLastopHeaderCompletedDateZonlo,
tstmp_to_tims( top_header.wi_aed_timestamp, $parameters.timeZoneUpdate, $session.client, 'NULL' ) as topHeaderCompletedTimeZonlo AS clientNULLastopHeaderCompletedTimeZonlo
FROM swwwihead AS header
LEFT OUTER JOIN swwwihead AS top_header ON /* join condition not captured in parsed metadata */
;
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