SAP ABAP Class /SRMERP/CL_WF_ADV_FACADE (/SRMERP/CL_WF_ADV_FACADE)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-PUR-SSP (Application Component) Self-Service Procurement
     /SRMERP/WF_FACADE_ADV (Package) Facades for Approval Document View
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 ABAP 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 ACCEPT Static method Public Method Signals the execution of the document adjustment task. 20100519
2 ADD_NOTE_TO_WORKITEM Static method Public Method Add approver notes to the work item 20100810
3 ADJUST Static method Public Method Signals the execution of the document adjustment task. 20100519
4 CANCEL_PROCESS_FOR_RESTART Static method Public Method Cancels an active approval process and prepares for re-start 20100519
5 CONTINUE_PROCESS Static method Public Method Signals execution of document revision task. 20100519
6 DELETE_PROCESS Static method Public Method Delete Process of Business Object 20100519
7 GET_CURRENT_PROCESS_LEVEL_INFO Static method Public Method Returns all information about current process level 20100519
8 GET_CURRENT_WORKITEMS_BY_AGENT Static method Public Method Determines whether the user has a workitem for a document 20100519
9 GET_CURR_INTERACTION_WORKITEM Static method Public Method Determines the current ADJUST or REVISE workitem for the doc 20100519
10 GET_NOTE_OF_WORKITEM Static method Public Method Get approver note of the given work item 20100820
11 GET_PROCESS_STATUS Static method Public Method Returns the state of process for the specified document. 20100519
12 GET_REJECTED_ITEMS Static method Public Method Retrieves the rejected items for the given document. 20101012
13 GET_WORKITEM_INFO Static method Public Method Return the detailed information for the given work item ID 20100519
14 INTERRUPT_PROCESS Static method Public Method Requests restart of the corresponding process. 20100519
15 IS_DOCUMENT_AVAILABLE Static method Public Method Verifies if the PDO is currently occupied by the process 20100519
16 IS_DOCUMENT_CHANGEABLE Static method Public Method Indicates whether provided document is changeable. 20100519
17 IS_PROCESS_INTERRUPTED Static method Public Method True, if process interruption has been successful 20100519
18 IS_WORKITEM_VALID Static method Public Method Verifies if given workitem is valid for given user. 20100519
19 READ_WORKITEM_CONTEXT Static method Public Method Retrieves the workitem container 20100519
20 RESERVE_WORKITEM Static method Public Method Save the current workitem status 20100519
21 RESTART_PROCESS Static method Public Method Re-initializes the current process instance and restarts 20100519
22 START_PROCESS Static method Public Method Starts a workflow for the specified BO. 20100519
23 SUBMIT_DECISION Static method Public Method 20100519
24 WRITE_WORKITEM_CONTEXT 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 Importing IV_AGENT_ID Call by reference Type reference (TYPE) /SRMERP/WF_AGENT_ID Identification (PD-Org. ID) of workflow agent 20100519
2 Importing IV_DELETE_ITEMS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Indicator for deletion of items 20100519
3 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
4 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

Method ADD_NOTE_TO_WORKITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_COMMIT Call by reference Type reference (TYPE) ABAP_BOOL '' Commit 20101022
2 Importing IV_NOTE Call by reference Type reference (TYPE) /SRMERP/WF_APPROVER_NOTE Notes 20100810
3 Importing 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 Importing IV_AGENT_ID Call by reference Type reference (TYPE) /SRMERP/WF_AGENT_ID Identification (PD-Org. ID) of workflow agent 20100519
2 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
3 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

Method CANCEL_PROCESS_FOR_RESTART Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_AGENT_ID Call by reference Type reference (TYPE) /SRMERP/WF_AGENT_ID 20100519
2 Importing IV_BO_TYPE Call by reference Type reference (TYPE) /SRMERP/WF_BO_TYPE 20100715
3 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 CONTINUE_PROCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_AGENT_ID Call by reference Type reference (TYPE) /SRMERP/WF_AGENT_ID Identification (PD-Org. ID) of workflow agent 20100519
2 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
3 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

Method DELETE_PROCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_AGENT_ID Value transfer Type reference (TYPE) /SRMERP/WF_AGENT_ID Identification (PD-Org. ID) of workflow agent 20100519
2 Importing IV_BO_TYPE Value transfer Type reference (TYPE) /SRMERP/WF_BO_TYPE 20100715
3 Importing 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 Exporting EV_DECISION_TYPE Call by reference Type reference (TYPE) /SRMERP/WF_DECISION_TYPE Decision Type 20100519
2 Exporting EV_PROCESS_LEVEL_TYPE Call by reference Type reference (TYPE) /SRMERP/WF_PROCESS_LEVEL_TYPE Process Level Type 20100519
3 Importing 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 Importing IV_AGENT_ID Call by reference Type reference (TYPE) /SRMERP/WF_AGENT_ID Identification (PD-Org. ID) of workflow agent 20100519
2 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
3 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SY-LANGU Language Key of Current Text Environment 20100519
4 Returning 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 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
2 Returning 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 Importing IV_WORKITEM_ID Call by reference Type reference (TYPE) SWW_WIID Work item ID 20100820
2 Returning 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 Importing IV_DOCUMENT_VERSION_NO Call by reference Type reference (TYPE) /SRMERP/WF_DOCUMENT_VERSION_NO Procurement Document Object Version Number 20100519
2 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
3 Returning 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 Exporting ET_ITEM_LIST Call by reference Type reference (TYPE) /SRMERP/T_WF_DOC_ITEM_GUID Table of Purchasing Document Item GUIDs 20101012
2 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20101012
3 Importing 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 Exporting EV_WORKITEM_IS_VALID Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100519
2 Exporting EV_WORKITEM_TYPE Call by reference Type reference (TYPE) /SRMERP/WF_WORKITEM_TYPE SRM Approval Process workitem types 20100519
3 Importing IV_USER_ID Call by reference Type reference (TYPE) SY-UNAME User Name 20100519
4 Importing 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 Importing IV_AGENT_ID Call by reference Type reference (TYPE) /SRMERP/WF_AGENT_ID Identification (PD-Org. ID) of Workflow Agent 20101001
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

Method IS_DOCUMENT_AVAILABLE 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

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 Importing IV_AGENT_ID Call by reference Type reference (TYPE) /SRMERP/WF_AGENT_ID Identification (PD-Org. ID) of workflow agent 20100519
2 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
3 Importing IV_WORKITEM_ID Call by reference Type reference (TYPE) /SRMERP/WF_WORKITEM_ID Workitem identifier 20100519
4 Returning 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 Exporting EV_IS_INTERRUPTED Call by reference Type reference (TYPE) ABAP_BOOL 20100519
2 Exporting EV_REVISE_WORKITEM_ID Call by reference Type reference (TYPE) /SRMERP/WF_WORKITEM_ID Workitem identifier 20100519
3 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
4 Importing IV_USER_ID Call by reference Type reference (TYPE) SYUNAME User Name 20100519
5 Importing IV_USER_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

Method IS_WORKITEM_VALID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_AGENT_ID Call by reference Type reference (TYPE) /SRMERP/WF_AGENT_ID Identification (PD-Org. ID) of workflow agent 20100519
2 Importing IV_WORKITEM_ID Call by reference Type reference (TYPE) /SRMERP/WF_WORKITEM_ID Workitem identifier 20100519
3 Returning 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 Exporting ET_WORKITEM_CONTEXT Call by reference Type reference (TYPE) SWRTCONT 20100519
2 Importing IV_AGENT_ID Call by reference Type reference (TYPE) /SRMERP/WF_AGENT_ID 20100519
3 Importing 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 Importing IV_AGENT_ID Call by reference Type reference (TYPE) /SRMERP/WF_AGENT_ID Identification (PD-Org. ID) of workflow agent 20100519
2 Importing 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 Importing IV_AGENT_ID Call by reference Type reference (TYPE) /SRMERP/WF_AGENT_ID Identification (PD-Org. ID) of workflow agent 20100519
2 Importing IV_BO_TYPE Call by reference Type reference (TYPE) /SRMERP/WF_BO_TYPE 20100715
3 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

Method START_PROCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_AGENT_ID Call by reference Type reference (TYPE) /SRMERP/WF_AGENT_ID SY-UNAME Identification (PD-Org. ID) of workflow agent 20100519
2 Importing IV_BO_TYPE Call by reference Type reference (TYPE) /SRMERP/WF_BO_TYPE 20100715
3 Importing IV_DOCUMENT_VERSION_NO Call by reference Type reference (TYPE) /SRMERP/WF_DOCUMENT_VERSION_NO Procurement Document Object Version Number 20100519
4 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
5 Importing 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 /SRMERP/CX_WF_ABORT 20100519
2 /SRMERP/CX_WF_ERROR Basis Exception: WF engine 20100910

Method SUBMIT_DECISION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_AGENT_ID Call by reference Type reference (TYPE) /SRMERP/WF_AGENT_ID SY-UNAME Identification (PD-Org. ID) of workflow agent 20100519
2 Importing IV_DOC_SUBSET_KEY Call by reference Type reference (TYPE) /SRMERP/WF_DOC_SUBSET_KEY 20100715
3 Importing IV_WORKITEM_ID Call by reference Type reference (TYPE) SWW_WIID Work item ID 20100519
# Exception Resumable Description Created on
1 /SRMERP/CX_WF_DECISION_MISSING 20100519
2 /SRMERP/CX_WF_NOT_FOUND 20100519

Method WRITE_WORKITEM_CONTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_WORKITEM_CONTEXT Call by reference Type reference (TYPE) SWRTCONT Container Table 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_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