SAP ABAP Class /IWWRK/CL_WF_UPDATE_WORKITEM (Update workitem handler class)
Hierarchy
SAP_GWFND (Software Component) SAP Gateway Foundation
   OPU-BSE-WFM (Application Component) Gateway Business Workflow enablement
     /IWWRK/WF_RT_IB (Package) Workflow runtime inbound for gateway
Properties
Class /IWWRK/CL_WF_UPDATE_WORKITEM  
Short Description Update workitem handler class    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /IWWRK/WF_RT_IB   Workflow runtime inbound for gateway 
Created 20101020   SAP 
Last change 20131127   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class /IWWRK/CL_WF_UPDATE_WORKITEM has no interface implemented.
Friends
Class /IWWRK/CL_WF_UPDATE_WORKITEM has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MO_ITEM_DETAILS Instance attribute Private Object reference (TYPE REF TO) /IWWRK/CL_WF_READ_WORKITEM Read workitem 20110207
2 MS_WI_DETAILES Instance attribute Private Type reference (TYPE) SWR_WIDTL WAPI: Detailed Information About Work Item 20110131
3 MT_APPL_CONTAINER_TAB Instance attribute Private Type reference (TYPE) /IWWRK/TT_APPL_CONTAINER Table of Application Container elements 20101020
4 MT_RETURN_TAB Instance attribute Private Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20101102
5 MT_STEP_LIST Instance attribute Private Type reference (TYPE) TY_STEP_LIST 20110131
6 MT_USER_LIST Instance attribute Private Type reference (TYPE) /IWWRK/TT_USER_LIST Table of users 20101020
7 MT_WF_CONTAINER_TAB Instance attribute Private Type reference (TYPE) /IWWRK/TT_WF_CONTAINER Table of Workflow Container elements 20101020
8 MV_ADD_COMMENT_AS_ATTACHMENT Instance attribute Private Type reference (TYPE) FLAG ABAP_TRUE add comment as attachment to WI 20121003
9 MV_DECISION_KEY Instance attribute Private Type reference (TYPE) SWR_DECIKEY Index of an Alternative of a User Decision 20101020
10 MV_LANGU Instance attribute Private Type reference (TYPE) SPRAS Language Key 20101020
11 MV_OPERATION_ID Instance attribute Private Type reference (TYPE) /IWWRK/DT_WI_OPERATION_ID Workitem Operation ID 20101020
12 MV_OSP_HANDLER_REQUIRED Instance attribute Private Type reference (TYPE) FLAG ABAP_TRUE Use OSP custom handler exit point 20121003
13 MV_USER_ID Instance attribute Private Type reference (TYPE) SYUNAME User Name 20101020
14 MV_WORKITEM_ID Instance attribute Private Type reference (TYPE) SWW_WIID Work item ID 20101020
15 MV_WORKITEM_STATUS Instance attribute Private Type reference (TYPE) SWW_WISTAT Processing Status of a Work Item 20101020
16 MV_WRT_CONT_FLAG Instance attribute Private Type reference (TYPE) FLAG General Flag 20101020
Methods
# Method Level Visibility Method type Description Created on
1 ADD_COMMENTS_AS_ATTACHMENTS Instance method Private Method Add comments as attachments to the workitem 20101020
2 CHECK_DECISION_KEY Instance method Private Method Check if decision key was sent 20110407
3 CHECK_FUNCTION_EXISTENCE Static method Public Method Check for function exsitence 20101020
4 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20101020
5 CUST_BADI_BEFORE_UPDATE Instance method Private Method Call the before update customer BADI 20110131
6 EXECUTE_DECISION Instance method Private Method Excecute decision operation 20110711
7 EXECUTE_OPERATION Instance method Public Method Execute according to operation id 20101020
8 GET_RETURN_TAB Instance method Public Method Get the BAPI return table 20101102
9 GET_WI_AGENT Instance method Private Method Get the workitem agents list 20101102
10 GET_WI_STATUS Instance method Private Method Get the status of the workitem 20101020
11 OPERATION_DECISION Instance method Private Method Take a Decision on task operation 20101111
12 OPERATION_FORWARD Instance method Private Method Forward (Reassign) task operation 20101020
13 OPERATION_FORWARD_VAL Instance method Private Method Forward operation validation method 20101108
14 OPERATION_REPLACE Instance method Private Method Release task operation 20101020
15 OPERATION_REPLACE_VAL Instance method Private Method Release validation 20101102
16 OPERATION_RESERVE Instance method Private Method Reserve task operation 20101020
17 OPERATION_RESERVE_VAL Instance method Private Method Reserve operatrion validation 20101102
18 SET_FORWARD_AGENTS Instance method Private Method Build the reassigned agent tab 20101102
19 SET_OPERATION Instance method Public Method Set new operation 20101123
20 SET_WORKITEM Instance method Public Method Set new value to the workitem 20101123
21 WAPI_ADD_ATTACHMENT Instance method Private Method Add attachment to workitem 20101020
22 WAPI_MSG_TO_RETTAB Instance method Private Method Append WAPI messages (WF) to BAPI return table 20101102
23 WAPI_WRITE_CONTAINER Instance method Private Method Write to WI container 20121129
Events
Class /IWWRK/CL_WF_UPDATE_WORKITEM has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_STEP_LIST Private See coding 20110131 ty_step_list TYPE STANDARD TABLE OF swp_logtab WITH DEFAULT KEY
Method Signatures

Method ADD_COMMENTS_AS_ATTACHMENTS Signature

Method ADD_COMMENTS_AS_ATTACHMENTS on class /IWWRK/CL_WF_UPDATE_WORKITEM has no parameter.
Method ADD_COMMENTS_AS_ATTACHMENTS on class /IWWRK/CL_WF_UPDATE_WORKITEM has no exception.

Method CHECK_DECISION_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_ERROR_FLAG Value transfer Type reference (TYPE) FLAG General Flag 20110407

Method CHECK_DECISION_KEY on class /IWWRK/CL_WF_UPDATE_WORKITEM has no exception.

Method CHECK_FUNCTION_EXISTENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FUNCNAME Call by reference Type reference (TYPE) FUNCNAME Function name 20101020
2 Returning RV_RETURN_CODE Value transfer Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20101020

Method CHECK_FUNCTION_EXISTENCE on class /IWWRK/CL_WF_UPDATE_WORKITEM has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_APPL_CONTAINER_TAB Call by reference Type reference (TYPE) /IWWRK/TT_APPL_CONTAINER Table of Application Container elements 20101020
2 Importing IT_USER_LIST Call by reference Type reference (TYPE) /IWWRK/TT_USER_LIST Table of users 20101020
3 Importing IT_WF_CONTAINER_TAB Call by reference Type reference (TYPE) /IWWRK/TT_WF_CONTAINER Table of Workflow Container elements 20101020
4 Importing IV_ADD_COMMENT_AS_ATTACHMENT Call by reference Type reference (TYPE) FLAG ABAP_TRUE Add comment as attachment to WI 20121003
5 Importing IV_DECISION_KEY Call by reference Type reference (TYPE) SWR_DECIKEY Index of an Alternative of a User Decision 20101020
6 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SPRAS SY-LANGU Language Key 20101020
7 Importing IV_OPERATION_ID Call by reference Type reference (TYPE) /IWWRK/DT_WI_OPERATION_ID Workitem Operation ID 20101020
8 Importing IV_OSP_HANDLER_REQUIRED Call by reference Type reference (TYPE) FLAG ABAP_TRUE Fetch Xprops from user exit 20121003
9 Importing IV_USER_ID Call by reference Type reference (TYPE) SYUNAME User Name 20101020
10 Importing IV_WORKITEM_ID Call by reference Type reference (TYPE) SWW_WIID Work item ID 20101020
11 Importing IV_WRT_CONT_FLAG Call by reference Type reference (TYPE) /IWWRK/WF_FLAG Flag 20101020

Method CONSTRUCTOR on class /IWWRK/CL_WF_UPDATE_WORKITEM has no exception.

Method CUST_BADI_BEFORE_UPDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_READ_WORKITEM Call by reference Object reference (TYPE REF TO) /IWWRK/CL_WF_READ_WORKITEM Read workitem 20110712
2 Returning RV_RETURN_CODE Value transfer Type reference (TYPE) FLAG Return Value of ABAP Statements 20110404

Method CUST_BADI_BEFORE_UPDATE on class /IWWRK/CL_WF_UPDATE_WORKITEM has no exception.

Method EXECUTE_DECISION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20110711
2 Exporting EV_ERROR_FLAG Call by reference Type reference (TYPE) FLAG General Flag 20110711
3 Importing IT_WF_CONTAINER_TAB Call by reference Type reference (TYPE) /IWWRK/TT_WF_CONTAINER Table of Workflow Container elements 20110711
4 Importing IV_DECISION_KEY Call by reference Type reference (TYPE) SWR_DECIKEY Index of an Alternative of a User Decision 20110711
5 Importing IV_WRT_CONT_FLAG Call by reference Type reference (TYPE) FLAG Single-Character Indicator 20110711

Method EXECUTE_DECISION on class /IWWRK/CL_WF_UPDATE_WORKITEM has no exception.

Method EXECUTE_OPERATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ERROR_FLAG Call by reference Type reference (TYPE) FLAG Return Value of ABAP Statements 20101020

Method EXECUTE_OPERATION on class /IWWRK/CL_WF_UPDATE_WORKITEM has no exception.

Method GET_RETURN_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20101102

Method GET_RETURN_TAB on class /IWWRK/CL_WF_UPDATE_WORKITEM has no exception.

Method GET_WI_AGENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_AGENTS Call by reference Type reference (TYPE) SWRTAGENT Result of Role Resolution (Table Type) 20101102
2 Exporting EV_RETURN_CODE Call by reference Type reference (TYPE) SY-SUBRC Return code from sap wapi 20101102

Method GET_WI_AGENT on class /IWWRK/CL_WF_UPDATE_WORKITEM has no exception.

Method GET_WI_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_RETURN_CODE Call by reference Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20101020
2 Exporting EV_WI_AAGENT Call by reference Type reference (TYPE) SWW_AAGENT Actual Agent of Work Item 20101102
3 Exporting EV_WI_STATUS Call by reference Type reference (TYPE) SWR_WIDTL-WI_STAT Processing Status of a Work Item 20101020

Method GET_WI_STATUS on class /IWWRK/CL_WF_UPDATE_WORKITEM has no exception.

Method OPERATION_DECISION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ERROR_FLAG Call by reference Type reference (TYPE) FLAG Return Value of ABAP Statements 20101111

Method OPERATION_DECISION on class /IWWRK/CL_WF_UPDATE_WORKITEM has no exception.

Method OPERATION_FORWARD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ERROR_FLAG Call by reference Type reference (TYPE) FLAG General Flag 20101020

Method OPERATION_FORWARD on class /IWWRK/CL_WF_UPDATE_WORKITEM has no exception.

Method OPERATION_FORWARD_VAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_RETURN_CODE Value transfer Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20101108

Method OPERATION_FORWARD_VAL on class /IWWRK/CL_WF_UPDATE_WORKITEM has no exception.

Method OPERATION_REPLACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ERROR_FLAG Call by reference Type reference (TYPE) FLAG General Flag 20101020

Method OPERATION_REPLACE on class /IWWRK/CL_WF_UPDATE_WORKITEM has no exception.

Method OPERATION_REPLACE_VAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_RETURN_CODE Value transfer Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20101102

Method OPERATION_REPLACE_VAL on class /IWWRK/CL_WF_UPDATE_WORKITEM has no exception.

Method OPERATION_RESERVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ERROR_FLAG Call by reference Type reference (TYPE) FLAG General Flag 20101020

Method OPERATION_RESERVE on class /IWWRK/CL_WF_UPDATE_WORKITEM has no exception.

Method OPERATION_RESERVE_VAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_RETURN_CODE Value transfer Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20101102

Method OPERATION_RESERVE_VAL on class /IWWRK/CL_WF_UPDATE_WORKITEM has no exception.

Method SET_FORWARD_AGENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FRWD_AGENTS Call by reference Type reference (TYPE) SWRTAGENT Result of Role Resolution (Table Type) 20101102

Method SET_FORWARD_AGENTS on class /IWWRK/CL_WF_UPDATE_WORKITEM has no exception.

Method SET_OPERATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_APPL_CONTAINER_TAB Call by reference Type reference (TYPE) /IWWRK/TT_APPL_CONTAINER Table of Application Container elements 20101123
2 Importing IT_USERS_LIST Call by reference Type reference (TYPE) /IWWRK/TT_USER_LIST Table of users 20101123
3 Importing IV_DECISION Call by reference Type reference (TYPE) SWR_DECIKEY Index of an Alternative of a User Decision 20101123
4 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SPRAS Language Key of Current Text Environment 20101123
5 Importing IV_OPERATION Call by reference Type reference (TYPE) /IWWRK/DT_WI_OPERATION_ID Workitem Operation ID 20101123
6 Importing IV_USER_ID Call by reference Type reference (TYPE) SYUNAME User Name 20101123
7 Importing IV_WRT_CONT_FLAG Call by reference Type reference (TYPE) FLAG General Flag 20101123

Method SET_OPERATION on class /IWWRK/CL_WF_UPDATE_WORKITEM has no exception.

Method SET_WORKITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_WORKITEM_ID Call by reference Type reference (TYPE) SWW_WIID Work item ID 20101123

Method SET_WORKITEM on class /IWWRK/CL_WF_UPDATE_WORKITEM has no exception.

Method WAPI_ADD_ATTACHMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ATTACHMENT_CONTENT Call by reference Type reference (TYPE) STRING 20101020

Method WAPI_ADD_ATTACHMENT on class /IWWRK/CL_WF_UPDATE_WORKITEM has no exception.

Method WAPI_MSG_TO_RETTAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MSG_LINES Call by reference Type reference (TYPE) SAPI_MSG_LINES Table with sap wapi Message (Lines) 20101102

Method WAPI_MSG_TO_RETTAB on class /IWWRK/CL_WF_UPDATE_WORKITEM has no exception.

Method WAPI_WRITE_CONTAINER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_RETURN_CODE Call by reference Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20121129

Method WAPI_WRITE_CONTAINER on class /IWWRK/CL_WF_UPDATE_WORKITEM has no exception.
History
Last changed by/on SAP  20131127 
SAP Release Created in 100