SAP ABAP Class /SRMERP/CL_WF_APV_FACADE (Facades for Approval Process View)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-PUR-SSP (Application Component) Self-Service Procurement
     /SRMERP/WF_FACADE_APV (Package) Facades for Approval Process View
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 ABAP 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 GC_DATA_SOURCE_60_ARC Constant Private Type reference (TYPE) TY_DATA_SOURCE '60A' Data Source WF SRM 6.0 Archive 20100519
2 GC_DATA_SOURCE_60_RES Constant Private Type reference (TYPE) TY_DATA_SOURCE '60R' Data Source WF SRM 6.0 Resident Data 20100519
3 GC_MSGID 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 CHECK_PROCESS_CONFIGURATION Static method Public Method Verifies whether the current process config is still valid. 20100519
2 CHECK_VERSION_TO_DISPLAY Static method Public Method only_display change versions 20100519
3 CREATE_PROCESS_FORECAST Static method Public Method Creates a process forecast 20100519
4 DETERMINE_FRAMEWORK_VERSION Static method Public Method version of framework utilized to process instance 20100519
5 GET_CURRENT_DECISION Static method Public Method Returns the approval decision for the current process level 20100519
6 GET_CURRENT_PROCESS_LEVEL Static method Public Method Attributes of the current process level 20100519
7 GET_CURRENT_PROCESS_STATE Static method Public Method Retrieves the current state of the process (level). 20100519
8 GET_DOC_RELATED_WORKITEMS Static method Private Method get the document relaed work items (ADJUST and REVISE) 20100519
9 GET_PROCESS_INFO Static method Public Method return process info for a document 20100519
10 IS_FINAL_ACCEPTANCE_REGISTERED Static method Public Method Returns TRUE, in case final acceptance has been registered. 20100519
11 IS_PROCESS_VALID Static method Private Method Check Process 20100519
12 REFRESH_PROCESS_DATA Static method Public Method Forces a refresh of the process data upon next access 20100519
13 REGISTER_FINAL_ACCEPTANCE Static method Public Method Registers the document owner's final acceptance step 20100519
14 RETRIEVE_COMP_PROCESS_DATA Static method Private Method Retrieves Complete Info of a Process (all WFvers. + archiv) 20100519
15 RETRIEVE_PREVIOUS_PROC_LEVEL Static method Public Method Retrieves the last processed level 20100519
16 RETRIEVE_PROCESS_HISTORY Static method Public Method Retrieves the history of a process from a process protocol 20100519
17 RETRIEVE_PROCESS_INFO_60_ARC Static method Private Method Retrieves Process Info for SRM 6.0 WF (from archiv) 20100519
18 RETRIEVE_PROCESS_INFO_60_RES Static method Private Method Retrieves Process Info for SRM 6.0 WF (resident data) 20100519
19 TRANSFORM_PROCESS_DATA_TO_XML 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 Importing IV_BO_TYPE Call by reference Type reference (TYPE) /SRMERP/WF_BO_TYPE 20100715
2 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
3 Returning RV_VALID Value transfer Type reference (TYPE) ABAP_BOOL True in case configuration is valid 20100519
# Exception Resumable Description Created on
1 /SRMERP/CX_WF_ABORT 20100519

Method CHECK_VERSION_TO_DISPLAY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_VERSION_GUID Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY GUID of SRM Purchasing Document 20100519
2 Exporting RV_VERSION_GUID Value transfer Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY GUID of SRM Purchasing Document 20100519
3 Exporting 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 Exporting ES_PROCESS Call by reference Type reference (TYPE) /SRMERP/S_WF_PROCESS Data structure of a SRM process 20100519
2 Importing IV_AGENT_ID Call by reference Type reference (TYPE) /SRMERP/WF_AGENT_ID Identification (PD-Org. ID) of workflow agent 20100519
3 Importing IV_BO_TYPE Call by reference Type reference (TYPE) /SRMERP/WF_BO_TYPE 20100715
4 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
5 Importing IV_FILTER_VALID_LEVELS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20100519
6 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SYLANGU Language Key of Current Text Environment 20100519
7 Importing IV_WORKITEM_ID Call by reference Type reference (TYPE) /SRMERP/WF_WORKITEM_ID Workitem identifier 20100519
# Exception Resumable Description Created on
1 /SRMERP/CX_WF_ABORT 20100519
2 /SRMERP/CX_WF_ERROR 20100519

Method DETERMINE_FRAMEWORK_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
2 Importing IV_IS_CREATE_SCENARIO Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100519
3 Returning 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 Exporting EV_DECISION Call by reference Type reference (TYPE) /SRMERP/WF_DECISION Status of a decision 20100519
2 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
# Exception Resumable Description Created on
1 CX_BO_ABORT Abort Bus. Exception: Rollback erforderlich 20100519
2 CX_BO_APPLICATION Application Bus. Exception 20100519
3 CX_BO_TEMPORARY 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 Exporting ES_PROCESS_LEVEL Call by reference Type reference (TYPE) /SRMERP/S_WF_PROCESS_LEVEL Process Level Attributes 20100519
2 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
3 Importing 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 /SRMERP/CX_WF_NOT_FOUND 20100519

Method GET_CURRENT_PROCESS_STATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PROCESS Call by reference Type reference (TYPE) /SRMERP/S_WF_PROCESS 20100519
2 Importing IV_AGENT_ID Call by reference Type reference (TYPE) /SRMERP/WF_AGENT_ID 20100519
3 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
4 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SYLANGU SY-LANGU 20100519
5 Importing 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 Exporting ET_WORKITEM Call by reference Type reference (TYPE) /SRMERP/T_WF_WORKITEM_S Table of references to workitem objects 20100519
2 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
# Exception Resumable Description Created on
1 /SRMERP/CX_WF_ABORT 20100519
2 /SRMERP/CX_WF_ERROR 20100519

Method GET_PROCESS_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PROCESS_INFO Call by reference Type reference (TYPE) /SRMERP/S_WF_PROCESS_INFO process info 20100519
2 Exporting EV_WF_PROCESS_INFO_XML Call by reference Type reference (TYPE) STRING complete process info as XML string 20100519
3 Importing IV_AGENT_ID Call by reference Type reference (TYPE) /SRMERP/WF_AGENT_ID Identification (PD-Org. ID) of workflow agent 20100519
4 Importing IV_BO_TYPE Call by reference Type reference (TYPE) /SRMERP/WF_BO_TYPE 20100715
5 Importing IV_CHANGE_VERSION_GUID Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY Guid of Change Version 20100519
6 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
7 Importing IV_TRANSFORMATION Call by reference Type reference (TYPE) CHAR30 'ID' simple transformation to use 20100519
8 Importing IV_WORKITEM_ID Call by reference Type reference (TYPE) /SRMERP/WF_WORKITEM_ID Workitem identifier 20100519
# Exception Resumable Description Created on
1 /SRMERP/CX_WF_ABORT 20100519
2 /SRMERP/CX_WF_ERROR 20100519

Method IS_FINAL_ACCEPTANCE_REGISTERED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
2 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20100519
# Exception Resumable Description Created on
1 /SRMERP/CX_WF_ABORT 20100519
2 /SRMERP/CX_WF_ERROR 20100519

Method IS_PROCESS_VALID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BO_TYPE Call by reference Type reference (TYPE) /SRMERP/WF_BO_TYPE 20100715
2 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
3 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20100519
# Exception Resumable Description Created on
1 /SRMERP/CX_WF_ABORT 20100519
2 /SRMERP/CX_WF_ERROR 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 /SRMERP/CX_WF_ABORT 20100519
2 /SRMERP/CX_WF_ERROR 20100519

Method REGISTER_FINAL_ACCEPTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
2 Importing IV_FINAL_ACCEPTANCE Call by reference Type reference (TYPE) ABAP_BOOL 20100519
# Exception Resumable Description Created on
1 /SRMERP/CX_WF_ABORT 20100519
2 /SRMERP/CX_WF_ERROR 20100519

Method RETRIEVE_COMP_PROCESS_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting 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 Exporting EV_DATA_SOURCE Call by reference Type reference (TYPE) TY_DATA_SOURCE Data Source (WF Version, Resident or Archive) 20100519
3 Importing IV_AGENT_ID Call by reference Type reference (TYPE) /SRMERP/WF_AGENT_ID Identification (PD-Org. ID) of workflow agent 20100519
4 Importing IV_BO_TYPE Call by reference Type reference (TYPE) /SRMERP/WF_BO_TYPE 20100715
5 Importing IV_CHANGE_VERSION_GUID Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY Guid of Change Version 20100519
6 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
7 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SYLANGU Language Key of Current Text Environment 20100519
8 Importing 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 /SRMERP/CX_WF_ABORT 20100519
2 /SRMERP/CX_WF_ERROR 20100519

Method RETRIEVE_PREVIOUS_PROC_LEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PROCESS_LEVEL Call by reference Type reference (TYPE) /SRMERP/S_WF_PROCESS_LEVEL Process Level Attributes 20100519
2 Importing IS_PROCESS_LEVEL Call by reference Type reference (TYPE) /SRMERP/S_WF_PROCESS_LEVEL Process Level Attributes 20100519
3 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
4 Importing IV_RESOLVE_AGENTS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Resolve responsible agents 20100519
5 Importing IV_SKIP_ADHOC Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Skip ad hoc levels 20100519
# Exception Resumable Description Created on
1 /SRMERP/CX_WF_NOT_FOUND 20100519

Method RETRIEVE_PROCESS_HISTORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PROCESS Call by reference Type reference (TYPE) /SRMERP/S_WF_PROCESS Data structure of a SRM process 20100519
2 Importing IV_AGENT_ID Call by reference Type reference (TYPE) /SRMERP/WF_AGENT_ID Identification (PD-Org. ID) of workflow agent 20100519
3 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
4 Importing 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 Exporting ET_WF_PROC_DETAIL Call by reference Type reference (TYPE) /SRMERP/T_WF_PROC_DETAIL list of process details 20100519
2 Importing IV_AGENT_ID Call by reference Type reference (TYPE) /SRMERP/WF_AGENT_ID Identification (PD-Org. ID) of workflow agent 20100519
3 Importing IV_BO_TYPE Call by reference Type reference (TYPE) /SRMERP/WF_BO_TYPE 20100715
4 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
5 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SYLANGU Language Key of Current Text Environment 20100519
# Exception Resumable Description Created on
1 /SRMERP/CX_WF_ABORT 20100519
2 /SRMERP/CX_WF_ERROR 20100519

Method RETRIEVE_PROCESS_INFO_60_RES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_WF_PROC_DETAIL Call by reference Type reference (TYPE) /SRMERP/T_WF_PROC_DETAIL list of process details 20100519
2 Importing IV_AGENT_ID Call by reference Type reference (TYPE) /SRMERP/WF_AGENT_ID Identification (PD-Org. ID) of workflow agent 20100519
3 Importing IV_BO_TYPE Call by reference Type reference (TYPE) /SRMERP/WF_BO_TYPE 20100715
4 Importing IV_CHANGE_VERSION_GUID Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY Guid of Change Version 20100519
5 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
6 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SYLANGU Language Key of Current Text Environment 20100519
7 Importing 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 /SRMERP/CX_WF_ABORT 20100519
2 /SRMERP/CX_WF_ERROR 20100519

Method TRANSFORM_PROCESS_DATA_TO_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_WF_PROCESS_INFO_XML Call by reference Type reference (TYPE) STRING WF Process Info - Complete Process Informationas XML String 20100519
2 Importing IS_WF_PROCESS_INFO Call by reference Type reference (TYPE) /SRMERP/S_WF_PROCESS_INFO WF Process Info - Complete Process Information 20100519
3 Importing IV_TRANSFORMATION Call by reference Type reference (TYPE) CHAR30 'ID' XML Transformation (XSLT Programm or Simple Transformation) 20100519
# Exception Resumable Description Created on
1 /SRMERP/CX_WF_ABORT 20100519
History
Last changed by/on SAP  20110908 
SAP Release Created in 606