SAP ABAP Class /SRMERP/CL_WF_WI_CONTEXT (Helper class for work item context access)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
MM-PUR-SSP (Application Component) Self-Service Procurement
⤷
/SRMERP/WF_FACADE_SBWF (Package) Facades for SAP Business Workflow
⤷
⤷
Properties
| Class | /SRMERP/CL_WF_WI_CONTEXT | |
| Short Description | Helper class for work item context access | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /SRMERP/WF_FACADE_SBWF | Facades for SAP Business Workflow |
| Created | 20100519 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class /SRMERP/CL_WF_WI_CONTEXT has no forward declaration.
Interfaces
Class /SRMERP/CL_WF_WI_CONTEXT has no interface implemented.
Friends
Class /SRMERP/CL_WF_WI_CONTEXT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | SWFDNAME | 'AGENT' | Element ID (32 Characters, Unique, Not Language-Dependent) | 20100519 | ||
| 2 | Constant | Public | Type reference (TYPE) | SWFDNAME | 'DECISIONSET' | Element ID (32 Characters, Unique, Not Language-Dependent) | 20100519 | ||
| 3 | Constant | Public | Type reference (TYPE) | SWFDNAME | 'TASK_TYPE' | Element ID (32 Characters, Unique, Not Language-Dependent) | 20100519 | ||
| 4 | Constant | Public | Type reference (TYPE) | SWFDNAME | 'WF_BO' | Element ID (32 Characters, Unique, Not Language-Dependent) | 20100519 | ||
| 5 | Constant | Public | Type reference (TYPE) | SWFDNAME | 'OBSERVER' | Element ID (32 Characters, Unique, Not Language-Dependent) | 20100519 | ||
| 6 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_WAPI_WORKITEM_CONTEXT | Context for Work Item | 20100519 | |||
| 7 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_SWF_IFS_PARAMETER_CONTAINER | Container for Transfer of Parameters | 20100519 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20100519 | |
| 2 | Instance method | Public | Method | Retrieves the agent out of the WI container | 20100519 | |
| 3 | Instance method | Protected | Method | Returns the value of the specified WI container element | 20100519 | |
| 4 | Instance method | Protected | Method | Returns the value of the specified WI container element | 20100519 | |
| 5 | Instance method | Public | Method | Retrieves the decisionset out of the WI container | 20100519 | |
| 6 | Instance method | Public | Method | Retrieves the decisionset out of the WI container | 20100519 | |
| 7 | Instance method | Public | Method | 20100519 | ||
| 8 | Instance method | Public | Method | Returns the type of the current work item | 20100519 |
Events
Class /SRMERP/CL_WF_WI_CONTEXT has no event.
Types
Class /SRMERP/CL_WF_WI_CONTEXT has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | IF_WAPI_WORKITEM_CONTEXT | Context for Work Item | 20100519 |
Method CONSTRUCTOR on class /SRMERP/CL_WF_WI_CONTEXT has no exception.
Method GET_AGENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_AGENT | Value transfer | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | Identification (PD-Org. ID) of workflow agent | 20100519 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception in the Container Service | 20100519 |
Method GET_CNT_ELEMENT_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | SWFDNAME | Element ID (32 Characters, Unique, Not Language-Dependent) | 20100519 | |||
| 2 | VALUE | Call by reference | Type reference (TYPE) | ANY | 20100519 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception in the Container Service | 20100519 |
Method GET_CONTAINER_ELEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | SWFDNAME | Element ID (32 Characters, Unique, Not Language-Dependent) | 20100519 | |||
| 2 | RETURNCODE | Call by reference | Type reference (TYPE) | SYSUBRC | Return Value of ABAP Statements | 20100519 | |||
| 3 | UNIT | Call by reference | Type reference (TYPE) | ANY | 20100519 | ||||
| 4 | VALUE | Call by reference | Type reference (TYPE) | ANY | 20100519 |
Method GET_CONTAINER_ELEMENT on class /SRMERP/CL_WF_WI_CONTEXT has no exception.
Method GET_DECISIONSET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_DECISIONSET | Value transfer | Object reference (TYPE REF TO) | /SRMERP/CL_WF_DSET_SBWF | Decision Set | 20100519 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception in the Container Service | 20100519 |
Method GET_WF_BO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_WF_BO | Value transfer | Object reference (TYPE REF TO) | /SRMERP/IF_WF_BO | Wrapper for Procurement Doc. Object | 20100519 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception in the Container Service | 20100519 |
Method GET_WORKITEM_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_WORKITEM_ID | Value transfer | Type reference (TYPE) | SWW_WIID | Work item ID | 20100519 |
Method GET_WORKITEM_ID on class /SRMERP/CL_WF_WI_CONTEXT has no exception.
Method GET_WORKITEM_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_WORKITEM_TYPE | Value transfer | Type reference (TYPE) | /SRMERP/WF_WORKITEM_TYPE | SRM Approval Process workitem types | 20100519 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception in the Container Service | 20100519 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 606 |