sww_sddl_register

DDL: SWW_SDDL_REGISTER SQL: SWW_V_REGISTER Type: view

Workflow: Work item actions

sww_sddl_register is a CDS View that provides data about "Workflow: Work item actions" in SAP S/4HANA. It reads from 2 data sources (SWW_SDDL_SWWWIHEAD, sww_wiregister) and exposes 67 fields with key fields application, subcategory, wi_id.

Data Sources (2)

SourceAliasJoin Type
SWW_SDDL_SWWWIHEAD SWW_SDDL_SWWWIHEAD left_outer
sww_wiregister sww_wiregister from

Parameters (1)

NameTypeDefault
timeZoneUpdate tznzone

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName SWW_V_REGISTER view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Workflow: Work item actions view

Fields (67)

KeyFieldSource TableSource FieldDescription
KEY application sww_wiregister application UI Application
KEY subcategory sww_wiregister subcategory Subcategory
KEY wi_id sww_wiregister wi_id WorkItem ID
clientNULLascreatedDateZonlo
clientNULLascreatedTimeZonlo
crt_tmstmp sww_wiregister crt_tmstmp Time Stamp
clientNULLaschangedDateZonlo
clientNULLaschangedTimeZonlo
chg_tmstmp sww_wiregister chg_tmstmp Time Stamp
clientNULLasnextEvaluationDateZonlo
clientNULLasnextEvaluationTimeZonlo
next_eval sww_wiregister next_eval Time Stamp
retry_count sww_wiregister retry_count Retry Count
retries_left sww_wiregister retries_left Retries left
status sww_wiregister status Workflow Status
value sww_wiregister value Value from table
top_task SWW_SDDL_SWWWIHEAD top_task Top Task
top_wi_id SWW_SDDL_SWWWIHEAD top_wi_id Top Level Workflow
taskCreatedDateZonlo SWW_SDDL_SWWWIHEAD createdDateZonlo
taskCreatedTimeZonlo SWW_SDDL_SWWWIHEAD createdTimeZonlo
crea_tmp SWW_SDDL_SWWWIHEAD crea_tmp Created On
taskCompletedDateZonlo SWW_SDDL_SWWWIHEAD completedDateZonlo
taskCompletedTimeZonlo SWW_SDDL_SWWWIHEAD completedTimeZonlo
wi_type SWW_SDDL_SWWWIHEAD wi_type Type
wi_text SWW_SDDL_SWWWIHEAD wi_text Work item text
wi_stat SWW_SDDL_SWWWIHEAD wi_stat Status
wi_cruser SWW_SDDL_SWWWIHEAD wi_cruser Creator
wi_chckwi SWW_SDDL_SWWWIHEAD wi_chckwi Workflow
wi_rh_task SWW_SDDL_SWWWIHEAD wi_rh_task Task
wi_prio SWW_SDDL_SWWWIHEAD wi_prio Priority
wi_comp_ev SWW_SDDL_SWWWIHEAD wi_comp_ev Completion by event
wi_forw_by SWW_SDDL_SWWWIHEAD wi_forw_by Forwarder
retry_cnt SWW_SDDL_SWWWIHEAD retry_cnt Repeat counter
max_retry SWW_SDDL_SWWWIHEAD max_retry Repeat counter
wi_release SWW_SDDL_SWWWIHEAD wi_release Work Instruction Version Release
wf_type SWW_SDDL_SWWWIHEAD wf_type Workflow Type
def_guid SWW_SDDL_SWWWIHEAD def_guid Unique ID
prs_profil SWW_SDDL_SWWWIHEAD prs_profil Persistence Profile
aging_state SWW_SDDL_SWWWIHEAD aging_state Data Aging Version
wi_creator SWW_SDDL_SWWWIHEAD wi_creator Creator
wi_rhtext SWW_SDDL_SWWWIHEAD wi_rhtext Task text
wi_cbfb SWW_SDDL_SWWWIHEAD wi_cbfb Callback Funct. Mod.
tclass SWW_SDDL_SWWWIHEAD tclass Classification
note_exist SWW_SDDL_SWWWIHEAD note_exist Attachments
notify SWW_SDDL_SWWWIHEAD notify Notification
step_id SWW_SDDL_SWWWIHEAD step_id WF Step ID
wi_lang SWW_SDDL_SWWWIHEAD wi_lang Language
wi_aagent SWW_SDDL_SWWWIHEAD wi_aagent Agent
wi_aaddr SWW_SDDL_SWWWIHEAD wi_aaddr Address
wi_craddr SWW_SDDL_SWWWIHEAD wi_craddr Address
wi_confirm SWW_SDDL_SWWWIHEAD wi_confirm Confirm
wi_disable SWW_SDDL_SWWWIHEAD wi_disable Lock flag
wi_reject SWW_SDDL_SWWWIHEAD wi_reject Rejectable
cb_done SWW_SDDL_SWWWIHEAD cb_done Callback flag
no_deadl SWW_SDDL_SWWWIHEAD no_deadl Deadlines
wi_dh_stat SWW_SDDL_SWWWIHEAD wi_dh_stat Deadline Status
exec_time SWW_SDDL_SWWWIHEAD exec_time Time
note_count SWW_SDDL_SWWWIHEAD note_count Attachments
check_stat SWW_SDDL_SWWWIHEAD check_stat After Condition
blocktype SWW_SDDL_SWWWIHEAD blocktype Block Type
parent_wi SWW_SDDL_SWWWIHEAD parent_wi Parent Work Item
rndnumber SWW_SDDL_SWWWIHEAD rndnumber Random Number
wfd_id SWW_SDDL_SWWWIHEAD wfd_id Workflow definition
wfd_version SWW_SDDL_SWWWIHEAD wfd_version Version
wfd_exetyp SWW_SDDL_SWWWIHEAD wfd_exetyp Type
proccat SWW_SDDL_SWWWIHEAD proccat Process Category
wi_text_id SWW_SDDL_SWWWIHEAD wi_text_id Work Item Text ID

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_sddl_register.
-- 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: SWW_V_REGISTER
-- Parameters: timeZoneUpdate : tznzone

CREATE VIEW sww_sddl_register AS
SELECT
  sww_wiregister.application AS application,
  sww_wiregister.subcategory AS subcategory,
  sww_wiregister.wi_id AS wi_id,
  tstmp_to_dats( sww_wiregister.crt_tmstmp, $parameters.timeZoneUpdate, $session.client, 'NULL' ) as createdDateZonlo AS clientNULLascreatedDateZonlo,
  tstmp_to_tims( sww_wiregister.crt_tmstmp, $parameters.timeZoneUpdate, $session.client, 'NULL' ) as createdTimeZonlo AS clientNULLascreatedTimeZonlo,
  sww_wiregister.crt_tmstmp AS crt_tmstmp,
  tstmp_to_dats( sww_wiregister.chg_tmstmp, $parameters.timeZoneUpdate, $session.client, 'NULL' ) as changedDateZonlo AS clientNULLaschangedDateZonlo,
  tstmp_to_tims( sww_wiregister.chg_tmstmp, $parameters.timeZoneUpdate, $session.client, 'NULL' ) as changedTimeZonlo AS clientNULLaschangedTimeZonlo,
  sww_wiregister.chg_tmstmp AS chg_tmstmp,
  tstmp_to_dats( sww_wiregister.next_eval, $parameters.timeZoneUpdate, $session.client, 'NULL' ) as nextEvaluationDateZonlo AS clientNULLasnextEvaluationDateZonlo,
  tstmp_to_tims( sww_wiregister.next_eval, $parameters.timeZoneUpdate, $session.client, 'NULL' ) as nextEvaluationTimeZonlo AS clientNULLasnextEvaluationTimeZonlo,
  sww_wiregister.next_eval AS next_eval,
  sww_wiregister.retry_count AS retry_count,
  sww_wiregister.retries_left AS retries_left,
  sww_wiregister.status AS status,
  sww_wiregister.value AS value,
  SWW_SDDL_SWWWIHEAD.top_task AS top_task,
  SWW_SDDL_SWWWIHEAD.top_wi_id AS top_wi_id,
  SWW_SDDL_SWWWIHEAD.createdDateZonlo AS taskCreatedDateZonlo,
  SWW_SDDL_SWWWIHEAD.createdTimeZonlo AS taskCreatedTimeZonlo,
  SWW_SDDL_SWWWIHEAD.crea_tmp AS crea_tmp,
  SWW_SDDL_SWWWIHEAD.completedDateZonlo AS taskCompletedDateZonlo,
  SWW_SDDL_SWWWIHEAD.completedTimeZonlo AS taskCompletedTimeZonlo,
  SWW_SDDL_SWWWIHEAD.wi_type AS wi_type,
  SWW_SDDL_SWWWIHEAD.wi_text AS wi_text,
  SWW_SDDL_SWWWIHEAD.wi_stat AS wi_stat,
  SWW_SDDL_SWWWIHEAD.wi_cruser AS wi_cruser,
  SWW_SDDL_SWWWIHEAD.wi_chckwi AS wi_chckwi,
  SWW_SDDL_SWWWIHEAD.wi_rh_task AS wi_rh_task,
  SWW_SDDL_SWWWIHEAD.wi_prio AS wi_prio,
  SWW_SDDL_SWWWIHEAD.wi_comp_ev AS wi_comp_ev,
  SWW_SDDL_SWWWIHEAD.wi_forw_by AS wi_forw_by,
  SWW_SDDL_SWWWIHEAD.retry_cnt AS retry_cnt,
  SWW_SDDL_SWWWIHEAD.max_retry AS max_retry,
  SWW_SDDL_SWWWIHEAD.wi_release AS wi_release,
  SWW_SDDL_SWWWIHEAD.wf_type AS wf_type,
  SWW_SDDL_SWWWIHEAD.def_guid AS def_guid,
  SWW_SDDL_SWWWIHEAD.prs_profil AS prs_profil,
  SWW_SDDL_SWWWIHEAD.aging_state AS aging_state,
  SWW_SDDL_SWWWIHEAD.wi_creator AS wi_creator,
  SWW_SDDL_SWWWIHEAD.wi_rhtext AS wi_rhtext,
  SWW_SDDL_SWWWIHEAD.wi_cbfb AS wi_cbfb,
  SWW_SDDL_SWWWIHEAD.tclass AS tclass,
  SWW_SDDL_SWWWIHEAD.note_exist AS note_exist,
  SWW_SDDL_SWWWIHEAD.notify AS notify,
  SWW_SDDL_SWWWIHEAD.step_id AS step_id,
  SWW_SDDL_SWWWIHEAD.wi_lang AS wi_lang,
  SWW_SDDL_SWWWIHEAD.wi_aagent AS wi_aagent,
  SWW_SDDL_SWWWIHEAD.wi_aaddr AS wi_aaddr,
  SWW_SDDL_SWWWIHEAD.wi_craddr AS wi_craddr,
  SWW_SDDL_SWWWIHEAD.wi_confirm AS wi_confirm,
  SWW_SDDL_SWWWIHEAD.wi_disable AS wi_disable,
  SWW_SDDL_SWWWIHEAD.wi_reject AS wi_reject,
  SWW_SDDL_SWWWIHEAD.cb_done AS cb_done,
  SWW_SDDL_SWWWIHEAD.no_deadl AS no_deadl,
  SWW_SDDL_SWWWIHEAD.wi_dh_stat AS wi_dh_stat,
  SWW_SDDL_SWWWIHEAD.exec_time AS exec_time,
  SWW_SDDL_SWWWIHEAD.note_count AS note_count,
  SWW_SDDL_SWWWIHEAD.check_stat AS check_stat,
  SWW_SDDL_SWWWIHEAD.blocktype AS blocktype,
  SWW_SDDL_SWWWIHEAD.parent_wi AS parent_wi,
  SWW_SDDL_SWWWIHEAD.rndnumber AS rndnumber,
  SWW_SDDL_SWWWIHEAD.wfd_id AS wfd_id,
  SWW_SDDL_SWWWIHEAD.wfd_version AS wfd_version,
  SWW_SDDL_SWWWIHEAD.wfd_exetyp AS wfd_exetyp,
  SWW_SDDL_SWWWIHEAD.proccat AS proccat,
  SWW_SDDL_SWWWIHEAD.wi_text_id AS wi_text_id
FROM sww_wiregister
LEFT OUTER JOIN SWW_SDDL_SWWWIHEAD ON /* join condition not captured in parsed metadata */
;