I_WorkflowTaskRecipient

DDL: I_WORKFLOWTASKRECIPIENT Type: view BASIC

Work item recipients

I_WorkflowTaskRecipient is a Basic CDS View that provides data about "Work item recipients" in SAP S/4HANA. It reads from 9 data sources and exposes 16 fields with key fields WorkflowTaskInternalID, WorkflowTaskRecipient, WorkflowTaskSubstitutedUser, WorkflowTaskRecipient, WorkflowTaskSubstitutedUser. It is exposed through 1 OData service (UI_INCIDENTWORKITEM).

Data Sources (9)

SourceAliasJoin Type
hrus_d2 hrus_d2 right_outer
hrus_d2 hrus_d2 right_outer
swwuserwi swwuserwi inner
swwuserwi swwuserwi inner
swwuserwi swwuserwi inner
swwwihead swwwihead from
swwwihead swwwihead union
swwwihead swwwihead union
twfs twfs right_outer

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IWFTASKRECIPIENT view
AbapCatalog.buffering.type #NONE view
EndUserText.label Work item recipients view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

OData Services (1)

ServiceBindingVersionContractRelease
UI_INCIDENTWORKITEM UI_INCIDENTWORKITEM_O4 V4 C1 NOT_RELEASED

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY WorkflowTaskInternalID swwwihead wi_id WorkItem ID
KEY WorkflowTaskRecipient
KEY WorkflowTaskSubstitutedUser
WorkflowTaskIsForwarded swwuserwi forward Forwarded
wi_idasWorkflowTaskInternalID
KEY WorkflowTaskRecipient
KEY WorkflowTaskSubstitutedUser
WorkflowTaskIsForwarded swwuserwi forward Forwarded
clientNULL
client
clientNULL
client
wi_idasWorkflowTaskInternalID
KEY WorkflowTaskRecipient
KEY WorkflowTaskSubstitutedUser
WorkflowTaskIsForwarded swwuserwi forward Forwarded

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_WorkflowTaskRecipient.
-- 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_WorkflowTaskRecipient AS
SELECT
  swwwihead.wi_id AS WorkflowTaskInternalID,
  cast( swwuserwi.user_id as sww_recipient ) AS WorkflowTaskRecipient,
  cast( ' ' as sww_recipient ) AS WorkflowTaskSubstitutedUser,
  swwuserwi.forward AS WorkflowTaskIsForwarded,
  case swwuserwi.no_sel when 'X' then cast( ' ' as sww_inbox ) else cast ( 'X' as sww_inbox ) end as WorkflowTaskIsVisibleInInbox AS wi_idasWorkflowTaskInternalID,
  abap_system_timezone( $session.client, 'NULL' ) AS clientNULL,
  $session.client AS client
FROM swwwihead
INNER JOIN swwuserwi ON /* join condition not captured in parsed metadata */
RIGHT OUTER JOIN hrus_d2 ON /* join condition not captured in parsed metadata */
RIGHT OUTER JOIN twfs ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): swwwihead
;