Hierarchy
⤷
⤷
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 | 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 | Instance attribute | Private | Object reference (TYPE REF TO) | /IWWRK/CL_WF_READ_WORKITEM | Read workitem | 20110207 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | SWR_WIDTL | WAPI: Detailed Information About Work Item | 20110131 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | /IWWRK/TT_APPL_CONTAINER | Table of Application Container elements | 20101020 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20101102 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | TY_STEP_LIST | 20110131 | ||||
| 6 | Instance attribute | Private | Type reference (TYPE) | /IWWRK/TT_USER_LIST | Table of users | 20101020 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | /IWWRK/TT_WF_CONTAINER | Table of Workflow Container elements | 20101020 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | FLAG | ABAP_TRUE | add comment as attachment to WI | 20121003 | ||
| 9 | Instance attribute | Private | Type reference (TYPE) | SWR_DECIKEY | Index of an Alternative of a User Decision | 20101020 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | SPRAS | Language Key | 20101020 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | /IWWRK/DT_WI_OPERATION_ID | Workitem Operation ID | 20101020 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | FLAG | ABAP_TRUE | Use OSP custom handler exit point | 20121003 | ||
| 13 | Instance attribute | Private | Type reference (TYPE) | SYUNAME | User Name | 20101020 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | SWW_WIID | Work item ID | 20101020 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | SWW_WISTAT | Processing Status of a Work Item | 20101020 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | FLAG | General Flag | 20101020 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Add comments as attachments to the workitem | 20101020 | |
| 2 | Instance method | Private | Method | Check if decision key was sent | 20110407 | |
| 3 | Static method | Public | Method | Check for function exsitence | 20101020 | |
| 4 | Instance method | Public | Constructor | CONSTRUCTOR | 20101020 | |
| 5 | Instance method | Private | Method | Call the before update customer BADI | 20110131 | |
| 6 | Instance method | Private | Method | Excecute decision operation | 20110711 | |
| 7 | Instance method | Public | Method | Execute according to operation id | 20101020 | |
| 8 | Instance method | Public | Method | Get the BAPI return table | 20101102 | |
| 9 | Instance method | Private | Method | Get the workitem agents list | 20101102 | |
| 10 | Instance method | Private | Method | Get the status of the workitem | 20101020 | |
| 11 | Instance method | Private | Method | Take a Decision on task operation | 20101111 | |
| 12 | Instance method | Private | Method | Forward (Reassign) task operation | 20101020 | |
| 13 | Instance method | Private | Method | Forward operation validation method | 20101108 | |
| 14 | Instance method | Private | Method | Release task operation | 20101020 | |
| 15 | Instance method | Private | Method | Release validation | 20101102 | |
| 16 | Instance method | Private | Method | Reserve task operation | 20101020 | |
| 17 | Instance method | Private | Method | Reserve operatrion validation | 20101102 | |
| 18 | Instance method | Private | Method | Build the reassigned agent tab | 20101102 | |
| 19 | Instance method | Public | Method | Set new operation | 20101123 | |
| 20 | Instance method | Public | Method | Set new value to the workitem | 20101123 | |
| 21 | Instance method | Private | Method | Add attachment to workitem | 20101020 | |
| 22 | Instance method | Private | Method | Append WAPI messages (WF) to BAPI return table | 20101102 | |
| 23 | 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 | 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 | IV_FUNCNAME | Call by reference | Type reference (TYPE) | FUNCNAME | Function name | 20101020 | |||
| 2 | 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 | IT_APPL_CONTAINER_TAB | Call by reference | Type reference (TYPE) | /IWWRK/TT_APPL_CONTAINER | Table of Application Container elements | 20101020 | |||
| 2 | IT_USER_LIST | Call by reference | Type reference (TYPE) | /IWWRK/TT_USER_LIST | Table of users | 20101020 | |||
| 3 | IT_WF_CONTAINER_TAB | Call by reference | Type reference (TYPE) | /IWWRK/TT_WF_CONTAINER | Table of Workflow Container elements | 20101020 | |||
| 4 | IV_ADD_COMMENT_AS_ATTACHMENT | Call by reference | Type reference (TYPE) | FLAG | ABAP_TRUE | Add comment as attachment to WI | 20121003 | ||
| 5 | IV_DECISION_KEY | Call by reference | Type reference (TYPE) | SWR_DECIKEY | Index of an Alternative of a User Decision | 20101020 | |||
| 6 | IV_LANGUAGE | Call by reference | Type reference (TYPE) | SPRAS | SY-LANGU | Language Key | 20101020 | ||
| 7 | IV_OPERATION_ID | Call by reference | Type reference (TYPE) | /IWWRK/DT_WI_OPERATION_ID | Workitem Operation ID | 20101020 | |||
| 8 | IV_OSP_HANDLER_REQUIRED | Call by reference | Type reference (TYPE) | FLAG | ABAP_TRUE | Fetch Xprops from user exit | 20121003 | ||
| 9 | IV_USER_ID | Call by reference | Type reference (TYPE) | SYUNAME | User Name | 20101020 | |||
| 10 | IV_WORKITEM_ID | Call by reference | Type reference (TYPE) | SWW_WIID | Work item ID | 20101020 | |||
| 11 | 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 | IO_READ_WORKITEM | Call by reference | Object reference (TYPE REF TO) | /IWWRK/CL_WF_READ_WORKITEM | Read workitem | 20110712 | |||
| 2 | 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 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20110711 | |||
| 2 | EV_ERROR_FLAG | Call by reference | Type reference (TYPE) | FLAG | General Flag | 20110711 | |||
| 3 | IT_WF_CONTAINER_TAB | Call by reference | Type reference (TYPE) | /IWWRK/TT_WF_CONTAINER | Table of Workflow Container elements | 20110711 | |||
| 4 | IV_DECISION_KEY | Call by reference | Type reference (TYPE) | SWR_DECIKEY | Index of an Alternative of a User Decision | 20110711 | |||
| 5 | 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 | 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 | 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 | ET_AGENTS | Call by reference | Type reference (TYPE) | SWRTAGENT | Result of Role Resolution (Table Type) | 20101102 | |||
| 2 | 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 | EV_RETURN_CODE | Call by reference | Type reference (TYPE) | SY-SUBRC | Return Value of ABAP Statements | 20101020 | |||
| 2 | EV_WI_AAGENT | Call by reference | Type reference (TYPE) | SWW_AAGENT | Actual Agent of Work Item | 20101102 | |||
| 3 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | IT_APPL_CONTAINER_TAB | Call by reference | Type reference (TYPE) | /IWWRK/TT_APPL_CONTAINER | Table of Application Container elements | 20101123 | |||
| 2 | IT_USERS_LIST | Call by reference | Type reference (TYPE) | /IWWRK/TT_USER_LIST | Table of users | 20101123 | |||
| 3 | IV_DECISION | Call by reference | Type reference (TYPE) | SWR_DECIKEY | Index of an Alternative of a User Decision | 20101123 | |||
| 4 | IV_LANGUAGE | Call by reference | Type reference (TYPE) | SPRAS | Language Key of Current Text Environment | 20101123 | |||
| 5 | IV_OPERATION | Call by reference | Type reference (TYPE) | /IWWRK/DT_WI_OPERATION_ID | Workitem Operation ID | 20101123 | |||
| 6 | IV_USER_ID | Call by reference | Type reference (TYPE) | SYUNAME | User Name | 20101123 | |||
| 7 | 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 | 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 | 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 | 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 | 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 |