Hierarchy
⤷
⤷
Properties
| Class | /SRMERP/CL_WF_ADV_FACADE | |
| Short Description | ||
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /SRMERP/WF_FACADE_ADV | Facades for Approval Document View |
| Created | 20100519 | SAP |
| Last change | 20130531 | 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 /SRMERP/CL_WF_ADV_FACADE has no interface implemented.
Friends
Class /SRMERP/CL_WF_ADV_FACADE has no friend class.
Attributes
Class /SRMERP/CL_WF_ADV_FACADE has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Signals the execution of the document adjustment task. | 20100519 | |
| 2 | Static method | Public | Method | Add approver notes to the work item | 20100810 | |
| 3 | Static method | Public | Method | Signals the execution of the document adjustment task. | 20100519 | |
| 4 | Static method | Public | Method | Cancels an active approval process and prepares for re-start | 20100519 | |
| 5 | Static method | Public | Method | Signals execution of document revision task. | 20100519 | |
| 6 | Static method | Public | Method | Delete Process of Business Object | 20100519 | |
| 7 | Static method | Public | Method | Returns all information about current process level | 20100519 | |
| 8 | Static method | Public | Method | Determines whether the user has a workitem for a document | 20100519 | |
| 9 | Static method | Public | Method | Determines the current ADJUST or REVISE workitem for the doc | 20100519 | |
| 10 | Static method | Public | Method | Get approver note of the given work item | 20100820 | |
| 11 | Static method | Public | Method | Returns the state of process for the specified document. | 20100519 | |
| 12 | Static method | Public | Method | Retrieves the rejected items for the given document. | 20101012 | |
| 13 | Static method | Public | Method | Return the detailed information for the given work item ID | 20100519 | |
| 14 | Static method | Public | Method | Requests restart of the corresponding process. | 20100519 | |
| 15 | Static method | Public | Method | Verifies if the PDO is currently occupied by the process | 20100519 | |
| 16 | Static method | Public | Method | Indicates whether provided document is changeable. | 20100519 | |
| 17 | Static method | Public | Method | True, if process interruption has been successful | 20100519 | |
| 18 | Static method | Public | Method | Verifies if given workitem is valid for given user. | 20100519 | |
| 19 | Static method | Public | Method | Retrieves the workitem container | 20100519 | |
| 20 | Static method | Public | Method | Save the current workitem status | 20100519 | |
| 21 | Static method | Public | Method | Re-initializes the current process instance and restarts | 20100519 | |
| 22 | Static method | Public | Method | Starts a workflow for the specified BO. | 20100519 | |
| 23 | Static method | Public | Method | 20100519 | ||
| 24 | Static method | Public | Method | Writes the provided container into the workitem context | 20100519 |
Events
Class /SRMERP/CL_WF_ADV_FACADE has no event.
Types
Class /SRMERP/CL_WF_ADV_FACADE has no local type.
Method Signatures
Method ACCEPT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_AGENT_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | Identification (PD-Org. ID) of workflow agent | 20100519 | |||
| 2 | IV_DELETE_ITEMS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Indicator for deletion of items | 20100519 | ||
| 3 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 | ||||
| 4 | IV_WORKITEM_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_WORKITEM_ID | Workitem identifier | 20100519 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100519 |
Method ADD_NOTE_TO_WORKITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_COMMIT | Call by reference | Type reference (TYPE) | ABAP_BOOL | '' | Commit | 20101022 | ||
| 2 | IV_NOTE | Call by reference | Type reference (TYPE) | /SRMERP/WF_APPROVER_NOTE | Notes | 20100810 | |||
| 3 | IV_WORKITEM_ID | Call by reference | Type reference (TYPE) | SWW_WIID | Work item ID | 20100810 |
Method ADD_NOTE_TO_WORKITEM on class /SRMERP/CL_WF_ADV_FACADE has no exception.
Method ADJUST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_AGENT_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | Identification (PD-Org. ID) of workflow agent | 20100519 | |||
| 2 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 | ||||
| 3 | IV_WORKITEM_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_WORKITEM_ID | Workitem identifier | 20100519 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100519 |
Method CANCEL_PROCESS_FOR_RESTART Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_AGENT_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | 20100519 | ||||
| 2 | IV_BO_TYPE | Call by reference | Type reference (TYPE) | /SRMERP/WF_BO_TYPE | 20100715 | ||||
| 3 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100519 | |||
| 2 | 20100519 |
Method CONTINUE_PROCESS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_AGENT_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | Identification (PD-Org. ID) of workflow agent | 20100519 | |||
| 2 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 | ||||
| 3 | IV_WORKITEM_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_WORKITEM_ID | Workitem identifier | 20100519 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100519 |
Method DELETE_PROCESS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_AGENT_ID | Value transfer | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | Identification (PD-Org. ID) of workflow agent | 20100519 | |||
| 2 | IV_BO_TYPE | Value transfer | Type reference (TYPE) | /SRMERP/WF_BO_TYPE | 20100715 | ||||
| 3 | IV_DOC_SUBSET_KEY | Value transfer | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 |
Method DELETE_PROCESS on class /SRMERP/CL_WF_ADV_FACADE has no exception.
Method GET_CURRENT_PROCESS_LEVEL_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DECISION_TYPE | Call by reference | Type reference (TYPE) | /SRMERP/WF_DECISION_TYPE | Decision Type | 20100519 | |||
| 2 | EV_PROCESS_LEVEL_TYPE | Call by reference | Type reference (TYPE) | /SRMERP/WF_PROCESS_LEVEL_TYPE | Process Level Type | 20100519 | |||
| 3 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 |
Method GET_CURRENT_PROCESS_LEVEL_INFO on class /SRMERP/CL_WF_ADV_FACADE has no exception.
Method GET_CURRENT_WORKITEMS_BY_AGENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_AGENT_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | Identification (PD-Org. ID) of workflow agent | 20100519 | |||
| 2 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 | ||||
| 3 | IV_LANGUAGE | Call by reference | Type reference (TYPE) | SY-LANGU | Language Key of Current Text Environment | 20100519 | |||
| 4 | RT_WORKITEM | Value transfer | Type reference (TYPE) | /SRMERP/T_WF_WORKITEM_S | Table of references to workitem objects | 20100519 |
Method GET_CURRENT_WORKITEMS_BY_AGENT on class /SRMERP/CL_WF_ADV_FACADE has no exception.
Method GET_CURR_INTERACTION_WORKITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 | ||||
| 2 | RS_WORKITEM | Value transfer | Type reference (TYPE) | /SRMERP/S_WF_WORKITEM | workitem structure | 20100519 |
Method GET_CURR_INTERACTION_WORKITEM on class /SRMERP/CL_WF_ADV_FACADE has no exception.
Method GET_NOTE_OF_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 | 20100820 | |||
| 2 | RV_APPROVER_NOTE | Value transfer | Type reference (TYPE) | /SRMERP/WF_APPROVER_NOTE | Approver Note | 20100820 |
Method GET_NOTE_OF_WORKITEM on class /SRMERP/CL_WF_ADV_FACADE has no exception.
Method GET_PROCESS_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DOCUMENT_VERSION_NO | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOCUMENT_VERSION_NO | Procurement Document Object Version Number | 20100519 | |||
| 2 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 | ||||
| 3 | RV_STATUS | Value transfer | Type reference (TYPE) | /SRMERP/WF_PROCESS_STATUS | Current process status of document | 20100519 |
Method GET_PROCESS_STATUS on class /SRMERP/CL_WF_ADV_FACADE has no exception.
Method GET_REJECTED_ITEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ITEM_LIST | Call by reference | Type reference (TYPE) | /SRMERP/T_WF_DOC_ITEM_GUID | Table of Purchasing Document Item GUIDs | 20101012 | |||
| 2 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20101012 | ||||
| 3 | IV_WORKITEM_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_WORKITEM_ID | Workitem identifier | 20101012 |
Method GET_REJECTED_ITEMS on class /SRMERP/CL_WF_ADV_FACADE has no exception.
Method GET_WORKITEM_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_WORKITEM_IS_VALID | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20100519 | |||
| 2 | EV_WORKITEM_TYPE | Call by reference | Type reference (TYPE) | /SRMERP/WF_WORKITEM_TYPE | SRM Approval Process workitem types | 20100519 | |||
| 3 | IV_USER_ID | Call by reference | Type reference (TYPE) | SY-UNAME | User Name | 20100519 | |||
| 4 | IV_WORKITEM_ID | Call by reference | Type reference (TYPE) | SWW_WIID | Work item ID | 20100519 |
Method GET_WORKITEM_INFO on class /SRMERP/CL_WF_ADV_FACADE has no exception.
Method INTERRUPT_PROCESS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_AGENT_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | Identification (PD-Org. ID) of Workflow Agent | 20101001 | |||
| 2 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100519 |
Method IS_DOCUMENT_AVAILABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 | ||||
| 2 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100519 |
Method IS_DOCUMENT_AVAILABLE on class /SRMERP/CL_WF_ADV_FACADE has no exception.
Method IS_DOCUMENT_CHANGEABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_AGENT_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | Identification (PD-Org. ID) of workflow agent | 20100519 | |||
| 2 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 | ||||
| 3 | IV_WORKITEM_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_WORKITEM_ID | Workitem identifier | 20100519 | |||
| 4 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100519 |
Method IS_DOCUMENT_CHANGEABLE on class /SRMERP/CL_WF_ADV_FACADE has no exception.
Method IS_PROCESS_INTERRUPTED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_IS_INTERRUPTED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100519 | ||||
| 2 | EV_REVISE_WORKITEM_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_WORKITEM_ID | Workitem identifier | 20100519 | |||
| 3 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 | ||||
| 4 | IV_USER_ID | Call by reference | Type reference (TYPE) | SYUNAME | User Name | 20100519 | |||
| 5 | IV_USER_LANGUAGE | Call by reference | Type reference (TYPE) | SYLANGU | Language Key of Current Text Environment | 20100519 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100519 |
Method IS_WORKITEM_VALID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_AGENT_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | Identification (PD-Org. ID) of workflow agent | 20100519 | |||
| 2 | IV_WORKITEM_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_WORKITEM_ID | Workitem identifier | 20100519 | |||
| 3 | RV_VALID | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100519 |
Method IS_WORKITEM_VALID on class /SRMERP/CL_WF_ADV_FACADE has no exception.
Method READ_WORKITEM_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_WORKITEM_CONTEXT | Call by reference | Type reference (TYPE) | SWRTCONT | 20100519 | ||||
| 2 | IV_AGENT_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | 20100519 | ||||
| 3 | IV_WORKITEM_ID | Call by reference | Type reference (TYPE) | SWW_WIID | 20100519 |
Method READ_WORKITEM_CONTEXT on class /SRMERP/CL_WF_ADV_FACADE has no exception.
Method RESERVE_WORKITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_AGENT_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | Identification (PD-Org. ID) of workflow agent | 20100519 | |||
| 2 | IV_WORKITEM_ID | Call by reference | Type reference (TYPE) | SWW_WIID | Work item ID | 20100519 |
Method RESERVE_WORKITEM on class /SRMERP/CL_WF_ADV_FACADE has no exception.
Method RESTART_PROCESS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_AGENT_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | Identification (PD-Org. ID) of workflow agent | 20100519 | |||
| 2 | IV_BO_TYPE | Call by reference | Type reference (TYPE) | /SRMERP/WF_BO_TYPE | 20100715 | ||||
| 3 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100519 |
Method START_PROCESS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_AGENT_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | SY-UNAME | Identification (PD-Org. ID) of workflow agent | 20100519 | ||
| 2 | IV_BO_TYPE | Call by reference | Type reference (TYPE) | /SRMERP/WF_BO_TYPE | 20100715 | ||||
| 3 | IV_DOCUMENT_VERSION_NO | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOCUMENT_VERSION_NO | Procurement Document Object Version Number | 20100519 | |||
| 4 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 | ||||
| 5 | IV_DSS_NAME | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_NAME | Name of Document Subset | 20110610 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100519 | |||
| 2 | Basis Exception: WF engine | 20100910 |
Method SUBMIT_DECISION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_AGENT_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | SY-UNAME | Identification (PD-Org. ID) of workflow agent | 20100519 | ||
| 2 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 | ||||
| 3 | IV_WORKITEM_ID | Call by reference | Type reference (TYPE) | SWW_WIID | Work item ID | 20100519 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100519 | |||
| 2 | 20100519 |
Method WRITE_WORKITEM_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_WORKITEM_CONTEXT | Call by reference | Type reference (TYPE) | SWRTCONT | Container Table | 20100519 | |||
| 2 | IV_AGENT_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | Identification (PD-Org. ID) of workflow agent | 20100519 | |||
| 3 | IV_WORKITEM_ID | Call by reference | Type reference (TYPE) | SWW_WIID | Work item ID | 20100519 |
Method WRITE_WORKITEM_CONTEXT on class /SRMERP/CL_WF_ADV_FACADE has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 606 |