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
⤷ 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 | MC_AGENT_PARAM | Constant | Public | Type reference (TYPE) | SWFDNAME | 'AGENT' | Element ID (32 Characters, Unique, Not Language-Dependent) | 20100519 | |
2 | MC_DSET_PARAM | Constant | Public | Type reference (TYPE) | SWFDNAME | 'DECISIONSET' | Element ID (32 Characters, Unique, Not Language-Dependent) | 20100519 | |
3 | MC_TYPE_PARAM | Constant | Public | Type reference (TYPE) | SWFDNAME | 'TASK_TYPE' | Element ID (32 Characters, Unique, Not Language-Dependent) | 20100519 | |
4 | MC_WFBO_PARAM | Constant | Public | Type reference (TYPE) | SWFDNAME | 'WF_BO' | Element ID (32 Characters, Unique, Not Language-Dependent) | 20100519 | |
5 | MC_WFOBSERVER_PARAM | Constant | Public | Type reference (TYPE) | SWFDNAME | 'OBSERVER' | Element ID (32 Characters, Unique, Not Language-Dependent) | 20100519 | |
6 | MO_CONTEXT | Instance attribute | Private | Object reference (TYPE REF TO) | IF_WAPI_WORKITEM_CONTEXT | Context for Work Item | 20100519 | ||
7 | MO_WI_CONTAINER | 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 | CONSTRUCTOR | Instance method | Public | Constructor | CONSTRUCTOR | 20100519 |
2 | GET_AGENT | Instance method | Public | Method | Retrieves the agent out of the WI container | 20100519 |
3 | GET_CNT_ELEMENT_VALUE | Instance method | Protected | Method | Returns the value of the specified WI container element | 20100519 |
4 | GET_CONTAINER_ELEMENT | Instance method | Protected | Method | Returns the value of the specified WI container element | 20100519 |
5 | GET_DECISIONSET | Instance method | Public | Method | Retrieves the decisionset out of the WI container | 20100519 |
6 | GET_WF_BO | Instance method | Public | Method | Retrieves the decisionset out of the WI container | 20100519 |
7 | GET_WORKITEM_ID | Instance method | Public | Method | 20100519 | |
8 | GET_WORKITEM_TYPE | 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 | Importing | 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 | Returning | 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 | CX_SWF_CNT_CONTAINER | 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 | Importing | NAME | Call by reference | Type reference (TYPE) | SWFDNAME | Element ID (32 Characters, Unique, Not Language-Dependent) | 20100519 | ||
2 | Exporting | VALUE | Call by reference | Type reference (TYPE) | ANY | 20100519 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SWF_CNT_CONTAINER | 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 | Importing | NAME | Call by reference | Type reference (TYPE) | SWFDNAME | Element ID (32 Characters, Unique, Not Language-Dependent) | 20100519 | ||
2 | Exporting | RETURNCODE | Call by reference | Type reference (TYPE) | SYSUBRC | Return Value of ABAP Statements | 20100519 | ||
3 | Exporting | UNIT | Call by reference | Type reference (TYPE) | ANY | 20100519 | |||
4 | Exporting | 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 | Returning | RO_DECISIONSET | Value transfer | Object reference (TYPE REF TO) | /SRMERP/CL_WF_DSET_SBWF | Decision Set | 20100519 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SWF_CNT_CONTAINER | 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 | Returning | 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 | CX_SWF_CNT_CONTAINER | 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 | Returning | 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 | Returning | RV_WORKITEM_TYPE | Value transfer | Type reference (TYPE) | /SRMERP/WF_WORKITEM_TYPE | SRM Approval Process workitem types | 20100519 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SWF_CNT_CONTAINER | Exception in the Container Service | 20100519 |
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 606 |