Hierarchy
⤷
⤷
Properties
| Class | /SRMERP/CL_WF_APV_FACADE | |
| Short Description | Facades for Approval Process View | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /SRMERP/WF_FACADE_APV | Facades for Approval Process View |
| Created | 20100519 | SAP |
| Last change | 20110908 | 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_APV_FACADE has no interface implemented.
Friends
Class /SRMERP/CL_WF_APV_FACADE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | TY_DATA_SOURCE | '60A' | Data Source WF SRM 6.0 Archive | 20100519 | ||
| 2 | Constant | Private | Type reference (TYPE) | TY_DATA_SOURCE | '60R' | Data Source WF SRM 6.0 Resident Data | 20100519 | ||
| 3 | Constant | Private | Type reference (TYPE) | SYMSGID | '/srmerp/WF_FAC_APV' | Message Class for Exception Texts | 20100519 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Verifies whether the current process config is still valid. | 20100519 | |
| 2 | Static method | Public | Method | only_display change versions | 20100519 | |
| 3 | Static method | Public | Method | Creates a process forecast | 20100519 | |
| 4 | Static method | Public | Method | version of framework utilized to process instance | 20100519 | |
| 5 | Static method | Public | Method | Returns the approval decision for the current process level | 20100519 | |
| 6 | Static method | Public | Method | Attributes of the current process level | 20100519 | |
| 7 | Static method | Public | Method | Retrieves the current state of the process (level). | 20100519 | |
| 8 | Static method | Private | Method | get the document relaed work items (ADJUST and REVISE) | 20100519 | |
| 9 | Static method | Public | Method | return process info for a document | 20100519 | |
| 10 | Static method | Public | Method | Returns TRUE, in case final acceptance has been registered. | 20100519 | |
| 11 | Static method | Private | Method | Check Process | 20100519 | |
| 12 | Static method | Public | Method | Forces a refresh of the process data upon next access | 20100519 | |
| 13 | Static method | Public | Method | Registers the document owner's final acceptance step | 20100519 | |
| 14 | Static method | Private | Method | Retrieves Complete Info of a Process (all WFvers. + archiv) | 20100519 | |
| 15 | Static method | Public | Method | Retrieves the last processed level | 20100519 | |
| 16 | Static method | Public | Method | Retrieves the history of a process from a process protocol | 20100519 | |
| 17 | Static method | Private | Method | Retrieves Process Info for SRM 6.0 WF (from archiv) | 20100519 | |
| 18 | Static method | Private | Method | Retrieves Process Info for SRM 6.0 WF (resident data) | 20100519 | |
| 19 | Static method | Private | Method | Transfoms Process Info Structure to XML | 20100519 |
Events
Class /SRMERP/CL_WF_APV_FACADE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_DATA_SOURCE | Public | See coding | Data Source (WF Version, Resident or Archive) | 20100519 | ty_data_source(4) TYPE c
|
Method Signatures
Method CHECK_PROCESS_CONFIGURATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BO_TYPE | Call by reference | Type reference (TYPE) | /SRMERP/WF_BO_TYPE | 20100715 | ||||
| 2 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 | ||||
| 3 | RV_VALID | Value transfer | Type reference (TYPE) | ABAP_BOOL | True in case configuration is valid | 20100519 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100519 |
Method CHECK_VERSION_TO_DISPLAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_VERSION_GUID | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | GUID of SRM Purchasing Document | 20100519 | |||
| 2 | RV_VERSION_GUID | Value transfer | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | GUID of SRM Purchasing Document | 20100519 | |||
| 3 | RV_VERSION_TYPE | Value transfer | Type reference (TYPE) | ABAP_BOOL | Flag if it is histroy version type | 20100519 |
Method CHECK_VERSION_TO_DISPLAY on class /SRMERP/CL_WF_APV_FACADE has no exception.
Method CREATE_PROCESS_FORECAST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_PROCESS | Call by reference | Type reference (TYPE) | /SRMERP/S_WF_PROCESS | Data structure of a SRM process | 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_BO_TYPE | Call by reference | Type reference (TYPE) | /SRMERP/WF_BO_TYPE | 20100715 | ||||
| 4 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 | ||||
| 5 | IV_FILTER_VALID_LEVELS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20100519 | |||
| 6 | IV_LANGUAGE | Call by reference | Type reference (TYPE) | SYLANGU | Language Key of Current Text Environment | 20100519 | |||
| 7 | IV_WORKITEM_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_WORKITEM_ID | Workitem identifier | 20100519 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100519 | |||
| 2 | 20100519 |
Method DETERMINE_FRAMEWORK_VERSION 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 | IV_IS_CREATE_SCENARIO | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20100519 | |||
| 3 | RV_VERSION | Value transfer | Type reference (TYPE) | /SRMERP/WF_VERSION | 20100519 |
Method DETERMINE_FRAMEWORK_VERSION on class /SRMERP/CL_WF_APV_FACADE has no exception.
Method GET_CURRENT_DECISION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DECISION | Call by reference | Type reference (TYPE) | /SRMERP/WF_DECISION | Status of a decision | 20100519 | |||
| 2 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Abort Bus. Exception: Rollback erforderlich | 20100519 | ||
| 2 | Application Bus. Exception | 20100519 | ||
| 3 | Temporary Bus. Exception | 20100519 |
Method GET_CURRENT_PROCESS_LEVEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_PROCESS_LEVEL | Call by reference | Type reference (TYPE) | /SRMERP/S_WF_PROCESS_LEVEL | Process Level Attributes | 20100519 | |||
| 2 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 | ||||
| 3 | IV_RESOLVE_AGENTS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Resolve agents on request only | 20100519 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100519 |
Method GET_CURRENT_PROCESS_STATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_PROCESS | Call by reference | Type reference (TYPE) | /SRMERP/S_WF_PROCESS | 20100519 | ||||
| 2 | IV_AGENT_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | 20100519 | ||||
| 3 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 | ||||
| 4 | IV_LANGUAGE | Call by reference | Type reference (TYPE) | SYLANGU | SY-LANGU | 20100519 | |||
| 5 | IV_WORKITEM_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_WORKITEM_ID | Workitem identifier | 20100519 |
Method GET_CURRENT_PROCESS_STATE on class /SRMERP/CL_WF_APV_FACADE has no exception.
Method GET_DOC_RELATED_WORKITEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_WORKITEM | Call by reference | Type reference (TYPE) | /SRMERP/T_WF_WORKITEM_S | Table of references to workitem objects | 20100519 | |||
| 2 | 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 GET_PROCESS_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_PROCESS_INFO | Call by reference | Type reference (TYPE) | /SRMERP/S_WF_PROCESS_INFO | process info | 20100519 | |||
| 2 | EV_WF_PROCESS_INFO_XML | Call by reference | Type reference (TYPE) | STRING | complete process info as XML string | 20100519 | |||
| 3 | IV_AGENT_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | Identification (PD-Org. ID) of workflow agent | 20100519 | |||
| 4 | IV_BO_TYPE | Call by reference | Type reference (TYPE) | /SRMERP/WF_BO_TYPE | 20100715 | ||||
| 5 | IV_CHANGE_VERSION_GUID | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | Guid of Change Version | 20100519 | |||
| 6 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 | ||||
| 7 | IV_TRANSFORMATION | Call by reference | Type reference (TYPE) | CHAR30 | 'ID' | simple transformation to use | 20100519 | ||
| 8 | IV_WORKITEM_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_WORKITEM_ID | Workitem identifier | 20100519 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100519 | |||
| 2 | 20100519 |
Method IS_FINAL_ACCEPTANCE_REGISTERED 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 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100519 | |||
| 2 | 20100519 |
Method IS_PROCESS_VALID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BO_TYPE | Call by reference | Type reference (TYPE) | /SRMERP/WF_BO_TYPE | 20100715 | ||||
| 2 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 | ||||
| 3 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100519 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100519 | |||
| 2 | 20100519 |
Method REFRESH_PROCESS_DATA Signature
Method REFRESH_PROCESS_DATA on class /SRMERP/CL_WF_APV_FACADE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100519 | |||
| 2 | 20100519 |
Method REGISTER_FINAL_ACCEPTANCE 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 | IV_FINAL_ACCEPTANCE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100519 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100519 | |||
| 2 | 20100519 |
Method RETRIEVE_COMP_PROCESS_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PROC_DETAIL_60 | Call by reference | Type reference (TYPE) | /SRMERP/T_WF_PROC_DETAIL | list of proc details for sRM 6.0 | 20100519 | |||
| 2 | EV_DATA_SOURCE | Call by reference | Type reference (TYPE) | TY_DATA_SOURCE | Data Source (WF Version, Resident or Archive) | 20100519 | |||
| 3 | IV_AGENT_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_AGENT_ID | Identification (PD-Org. ID) of workflow agent | 20100519 | |||
| 4 | IV_BO_TYPE | Call by reference | Type reference (TYPE) | /SRMERP/WF_BO_TYPE | 20100715 | ||||
| 5 | IV_CHANGE_VERSION_GUID | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | Guid of Change Version | 20100519 | |||
| 6 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 | ||||
| 7 | IV_LANGUAGE | Call by reference | Type reference (TYPE) | SYLANGU | Language Key of Current Text Environment | 20100519 | |||
| 8 | IV_WORKITEM_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_WORKITEM_ID | if supplied the level flags REMOVABLE, ... are returned | 20100519 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100519 | |||
| 2 | 20100519 |
Method RETRIEVE_PREVIOUS_PROC_LEVEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_PROCESS_LEVEL | Call by reference | Type reference (TYPE) | /SRMERP/S_WF_PROCESS_LEVEL | Process Level Attributes | 20100519 | |||
| 2 | IS_PROCESS_LEVEL | Call by reference | Type reference (TYPE) | /SRMERP/S_WF_PROCESS_LEVEL | Process Level Attributes | 20100519 | |||
| 3 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 | ||||
| 4 | IV_RESOLVE_AGENTS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Resolve responsible agents | 20100519 | ||
| 5 | IV_SKIP_ADHOC | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Skip ad hoc levels | 20100519 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100519 |
Method RETRIEVE_PROCESS_HISTORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_PROCESS | Call by reference | Type reference (TYPE) | /SRMERP/S_WF_PROCESS | Data structure of a SRM process | 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_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 | ||||
| 4 | IV_LANGUAGE | Call by reference | Type reference (TYPE) | SYLANGU | Language Key of Current Text Environment | 20100519 |
Method RETRIEVE_PROCESS_HISTORY on class /SRMERP/CL_WF_APV_FACADE has no exception.
Method RETRIEVE_PROCESS_INFO_60_ARC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_WF_PROC_DETAIL | Call by reference | Type reference (TYPE) | /SRMERP/T_WF_PROC_DETAIL | list of process details | 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_BO_TYPE | Call by reference | Type reference (TYPE) | /SRMERP/WF_BO_TYPE | 20100715 | ||||
| 4 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 | ||||
| 5 | IV_LANGUAGE | Call by reference | Type reference (TYPE) | SYLANGU | Language Key of Current Text Environment | 20100519 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100519 | |||
| 2 | 20100519 |
Method RETRIEVE_PROCESS_INFO_60_RES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_WF_PROC_DETAIL | Call by reference | Type reference (TYPE) | /SRMERP/T_WF_PROC_DETAIL | list of process details | 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_BO_TYPE | Call by reference | Type reference (TYPE) | /SRMERP/WF_BO_TYPE | 20100715 | ||||
| 4 | IV_CHANGE_VERSION_GUID | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | Guid of Change Version | 20100519 | |||
| 5 | IV_DOC_SUBSET_KEY | Call by reference | Type reference (TYPE) | /SRMERP/WF_DOC_SUBSET_KEY | 20100715 | ||||
| 6 | IV_LANGUAGE | Call by reference | Type reference (TYPE) | SYLANGU | Language Key of Current Text Environment | 20100519 | |||
| 7 | IV_WORKITEM_ID | Call by reference | Type reference (TYPE) | /SRMERP/WF_WORKITEM_ID | if supplied the level flags REMOVABLE,... are returned | 20100519 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100519 | |||
| 2 | 20100519 |
Method TRANSFORM_PROCESS_DATA_TO_XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_WF_PROCESS_INFO_XML | Call by reference | Type reference (TYPE) | STRING | WF Process Info - Complete Process Informationas XML String | 20100519 | |||
| 2 | IS_WF_PROCESS_INFO | Call by reference | Type reference (TYPE) | /SRMERP/S_WF_PROCESS_INFO | WF Process Info - Complete Process Information | 20100519 | |||
| 3 | IV_TRANSFORMATION | Call by reference | Type reference (TYPE) | CHAR30 | 'ID' | XML Transformation (XSLT Programm or Simple Transformation) | 20100519 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100519 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 606 |