SWW_SDDL_SWW_USRATT
Workflow: Work item custom values
SWW_SDDL_SWW_USRATT is a CDS View that provides data about "Workflow: Work item custom values" in SAP S/4HANA. It reads from 2 data sources (sww_usratt, swwwihead) and exposes 73 fields with key field wi_id.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| sww_usratt | sww_usratt | from |
| swwwihead | swwwihead | left_outer |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| timeZoneUpdate | tznzone |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SWW_V_SWW_USRATT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Workflow: Work item custom values | view |
Fields (73)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | wi_id | sww_usratt | wi_id | |
| clientNULLaslastChangedDateZonlo | ||||
| clientNULLaslastChangedTimeZonlo | ||||
| last_change | sww_usratt | last_change | ||
| scenario | sww_usratt | scenario | ||
| tab_index | sww_usratt | tab_index | ||
| type | sww_usratt | type | ||
| value_c | sww_usratt | value_c | ||
| value_i | sww_usratt | value_i | ||
| value_d | sww_usratt | value_d | ||
| unit | sww_usratt | unit | ||
| top_task | sww_usratt | top_task | ||
| pfe_index | sww_usratt | pfe_index | ||
| def_task | sww_usratt | def_task | ||
| def_nodeid | sww_usratt | def_nodeid | ||
| clientNULLastaskCreatedDateZonlo | ||||
| clientNULLastaskCreatedTimeZonlo | ||||
| crea_tmp | swwwihead | crea_tmp | ||
| clientNULLastaskCompletedDateZonlo | ||||
| clientNULLastaskCompletedTimeZonlo | ||||
| wi_type | swwwihead | wi_type | ||
| wi_text | swwwihead | wi_text | ||
| wi_stat | swwwihead | wi_stat | ||
| wi_cruser | swwwihead | wi_cruser | ||
| wi_rh_task | swwwihead | wi_rh_task | ||
| wi_prio | swwwihead | wi_prio | ||
| wi_release | swwwihead | wi_release | ||
| wf_type | swwwihead | wf_type | ||
| top_wi_id | swwwihead | top_wi_id | ||
| prs_profil | swwwihead | prs_profil | ||
| wi_chckwi | swwwihead | wi_chckwi | ||
| wi_creator | swwwihead | wi_creator | ||
| wi_lang | swwwihead | wi_lang | ||
| wi_aagent | swwwihead | wi_aagent | ||
| wi_aaddr | swwwihead | wi_aaddr | ||
| wi_cbfb | swwwihead | wi_cbfb | ||
| wi_confirm | swwwihead | wi_confirm | ||
| wi_comp_ev | swwwihead | wi_comp_ev | ||
| wi_forw_by | swwwihead | wi_forw_by | ||
| wi_disable | swwwihead | wi_disable | ||
| wi_reject | swwwihead | wi_reject | ||
| tclass | swwwihead | tclass | ||
| note_exist | swwwihead | note_exist | ||
| notify | swwwihead | notify | ||
| retry_cnt | swwwihead | retry_cnt | ||
| max_retry | swwwihead | max_retry | ||
| rc_modeled | swwwihead | rc_modeled | ||
| cb_done | swwwihead | cb_done | ||
| handle | swwwihead | handle | ||
| syncchain | swwwihead | syncchain | ||
| no_deadl | swwwihead | no_deadl | ||
| wi_dh_stat | swwwihead | wi_dh_stat | ||
| wlc_displ | swwwihead | wlc_displ | ||
| wi_restlog | swwwihead | wi_restlog | ||
| remote_id | swwwihead | remote_id | ||
| remote_sys | swwwihead | remote_sys | ||
| status_evt | swwwihead | status_evt | ||
| wlc_flags | swwwihead | wlc_flags | ||
| xmlprot | swwwihead | xmlprot | ||
| wait4cb | swwwihead | wait4cb | ||
| def_guid | swwwihead | def_guid | ||
| exec_time | swwwihead | exec_time | ||
| note_count | swwwihead | note_count | ||
| check_stat | swwwihead | check_stat | ||
| blocktype | swwwihead | blocktype | ||
| parent_wi | swwwihead | parent_wi | ||
| wfd_id | swwwihead | wfd_id | ||
| wfd_version | swwwihead | wfd_version | ||
| wfd_exetyp | swwwihead | wfd_exetyp | ||
| proccat | swwwihead | proccat | ||
| aging_state | swwwihead | aging_state | ||
| step_id | swwwihead | step_id | ||
| wi_text_id | swwwihead | wi_text_id |
@AbapCatalog.sqlViewName: 'SWW_V_SWW_USRATT'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Workflow: Work item custom values'
define view SWW_SDDL_SWW_USRATT
with parameters
timeZoneUpdate :tznzone
as select from sww_usratt
left outer join swwwihead on swwwihead.wi_id = sww_usratt.wi_id
{
key sww_usratt.wi_id,
tstmp_to_dats( sww_usratt.last_change,
$parameters.timeZoneUpdate,
$session.client,
'NULL' ) as lastChangedDateZonlo,
tstmp_to_tims( sww_usratt.last_change,
$parameters.timeZoneUpdate,
$session.client,
'NULL' ) as lastChangedTimeZonlo,
sww_usratt.last_change,
sww_usratt.scenario,
sww_usratt.attribute_name,
sww_usratt.tab_index,
sww_usratt.type,
sww_usratt.value_c,
sww_usratt.value_i,
sww_usratt.value_d,
sww_usratt.unit,
sww_usratt.top_task,
sww_usratt.wi_stat as sww_usratt_wi_stat,
sww_usratt.pfe_index,
sww_usratt.def_task,
sww_usratt.def_nodeid,
tstmp_to_dats( swwwihead.crea_tmp,
$parameters.timeZoneUpdate,
$session.client,
'NULL' ) as taskCreatedDateZonlo,
tstmp_to_tims( swwwihead.crea_tmp,
$parameters.timeZoneUpdate,
$session.client,
'NULL' ) as taskCreatedTimeZonlo,
swwwihead.crea_tmp,
tstmp_to_dats( swwwihead.wi_aed_timestamp,
$parameters.timeZoneUpdate,
$session.client,
'NULL' ) as taskCompletedDateZonlo,
tstmp_to_tims( swwwihead.wi_aed_timestamp,
$parameters.timeZoneUpdate,
$session.client,
'NULL' ) as taskCompletedTimeZonlo,
swwwihead.wi_aed_timestamp,
swwwihead.wi_type,
swwwihead.wi_text,
swwwihead.wi_stat,
swwwihead.wi_cruser,
swwwihead.wi_rh_task,
swwwihead.wi_prio,
swwwihead.wi_release,
swwwihead.wf_type,
swwwihead.top_wi_id,
swwwihead.prs_profil,
swwwihead.reference_nodeid,
swwwihead.wi_chckwi,
swwwihead.wi_creator,
swwwihead.wi_lang,
swwwihead.wi_aagent,
swwwihead.wi_aaddr,
swwwihead.wi_cbfb,
swwwihead.wi_confirm,
swwwihead.wi_comp_ev,
swwwihead.wi_forw_by,
swwwihead.wi_disable,
swwwihead.wi_reject,
swwwihead.tclass,
swwwihead.note_exist,
swwwihead.notify,
swwwihead.retry_cnt,
swwwihead.max_retry,
swwwihead.rc_modeled,
swwwihead.cb_done,
swwwihead.handle,
swwwihead.syncchain,
swwwihead.no_deadl,
swwwihead.wi_dh_stat,
swwwihead.wlc_displ,
swwwihead.wi_restlog,
swwwihead.remote_id,
swwwihead.remote_sys,
swwwihead.status_evt,
swwwihead.wlc_flags,
swwwihead.xmlprot,
swwwihead.wait4cb,
swwwihead.def_guid,
swwwihead.exec_time,
swwwihead.note_count,
swwwihead.check_stat,
swwwihead.blocktype,
swwwihead.parent_wi,
swwwihead.wfd_id,
swwwihead.wfd_version,
swwwihead.wfd_exetyp,
swwwihead.proccat,
swwwihead.aging_state,
swwwihead.aging_temperature,
swwwihead.wlc_flags_ext,
swwwihead.step_id,
swwwihead.agent_rule_id,
swwwihead.wi_text_id
}
Learn More
- 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 Annotations — A Complete Guide
- 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