SAP ABAP Class CL_SWR_UNIT_BASE (Unit Test Basis Class)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-BMT-WFM (Application Component) SAP Business Workflow
     SWF_SWR (Package) Workflow: Internal Implementation for API Layer
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_SWR_UNIT_SUBSTITUTION_API Unit Handler for Worklist API 20110118
2 Inheritance (c INHERITING FROM c_ref)  CL_SWR_UNIT_TEXT_API Unit Handler for Text API 20110120
3 Inheritance (c INHERITING FROM c_ref)  CL_SWR_UNIT_WORKITEM_API Unit Handler for Worklist API 20110110
4 Inheritance (c INHERITING FROM c_ref)  CL_SWR_UNIT_WORKLIST_API Unit Handler for Worklist API 20101206
Properties
Class CL_SWR_UNIT_BASE  
Short Description Unit Test Basis Class    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SWF_SWR   Workflow: Internal Implementation for API Layer 
Created 20101206   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_SWR_UNIT_BASE has no forward declaration.
Interfaces
Class CL_SWR_UNIT_BASE has no interface implemented.
Friends
Class CL_SWR_UNIT_BASE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_LOCAL_DEST Constant Protected Type reference (TYPE) SWR_DEST 'NONE' Workflow API: Destination for Remote Calls 20101206
2 MC_SINGLE_DIALOG_STEP Constant Protected Type reference (TYPE) SWW_TASK 'TS45308668' Task ID 20101206
3 MC_SINGLE_STEP_END_CONFIRM Constant Protected Type reference (TYPE) SWW_TASK 'TS48907952' Task ID 20101206
4 MC_SINGLE_STEP_WITH_OBJECT Constant Protected Type reference (TYPE) SWW_TASK 'TS48907944' Task ID 20101206
5 MC_WORKFLOW_ASYNC_AGENT_RULE Constant Protected Type reference (TYPE) SWW_TASK 'WS48900088' Task ID 20101206
6 MC_WORKFLOW_WITH_DEADLINES Constant Protected Type reference (TYPE) SWW_TASK 'WS70000597' Task ID 20101206
7 MC_WORKFLOW_WITH_REJECT_STEP Constant Protected Type reference (TYPE) SWW_TASK 'WS48900074' Task ID 20101206
8 MV_API Instance attribute Protected Type reference (TYPE) SWF_CLSNAM Object Type 20101206
9 MV_CLEAR_TEST_DATA Instance attribute Protected Type reference (TYPE) XFELD 'X' Checkbox 20101206
10 MV_METHOD Instance attribute Protected Type reference (TYPE) SWF_CLSMET Workflow: Method Name 20101206
11 MV_RFC_DEST Static Attribute Protected Type reference (TYPE) RFCDEST Workflow API: Destination for Remote Calls 20101207
12 MV_TEST_RFC Instance attribute Protected Type reference (TYPE) XFELD Checkbox 20101207
13 MV_WFL_NOT_READY Static Attribute Protected Type reference (TYPE) XFELD Checkbox 20101207
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_PRECONDITIONS Static method Public Method Check Preconditions 20101207
2 CLEAR_TEST_DATA Instance method Public Method Clear Test Data After Unit Test 20101206
3 CREATE_TEST_DATA Instance method Public Method Create Test Data for Unit Test 20101206
4 CREATE_WORKITEM Instance method Protected Method Create Work Item 20101206
5 DELETE_WORKITEMS Instance method Protected Method Delete Work Items 20101206
6 EXECUTE Instance method Public Method Execute Unit Test 20101206
7 GET_INSTANCE Static method Public Method Get Unit Handler 20101206
8 GET_TEST_USER Instance method Protected Method Get Appropriate Test User 20110117
9 SET_API Instance method Private Method Set API 20101207
10 SET_METHOD Instance method Private Method Set Method 20101206
11 SET_TEST_RFC Instance method Private Method Set Test Remote 20101208
Events
Class CL_SWR_UNIT_BASE has no event.
Types
Class CL_SWR_UNIT_BASE has no local type.
Method Signatures

Method CHECK_PRECONDITIONS Signature

Method CHECK_PRECONDITIONS on class CL_SWR_UNIT_BASE has no parameter.
Method CHECK_PRECONDITIONS on class CL_SWR_UNIT_BASE has no exception.

Method CLEAR_TEST_DATA Signature

Method CLEAR_TEST_DATA on class CL_SWR_UNIT_BASE has no parameter.
Method CLEAR_TEST_DATA on class CL_SWR_UNIT_BASE has no exception.

Method CREATE_TEST_DATA Signature

Method CREATE_TEST_DATA on class CL_SWR_UNIT_BASE has no parameter.
Method CREATE_TEST_DATA on class CL_SWR_UNIT_BASE has no exception.

Method CREATE_WORKITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_RETCODE Call by reference Type reference (TYPE) I 20101206
2 Exporting EV_STARTED_TASK Call by reference Type reference (TYPE) SWW_TASK Aufgabenkennung 20101206
3 Exporting EV_WIID Call by reference Type reference (TYPE) SWW_WIID Workitem-Kennung 20101206
4 Importing IT_CONT Call by reference Type reference (TYPE) SWRTCONT Container-Tabelle 20101206
5 Importing IV_DESIRED_START_DATE Call by reference Type reference (TYPE) SWR_DATEIN WAPI: Datum im internen Format (JJJJMMDD) 20101206
6 Importing IV_DESIRED_START_TIME Call by reference Type reference (TYPE) SWR_TIMEIN WAPI: Uhrzeit im internen Format (hhmmss) 20101206
7 Importing IV_LANGU Call by reference Type reference (TYPE) SYLANGU SY-LANGU Sprachenschlüssel der aktuellen Textumgebung 20101206
8 Importing IV_TASK Call by reference Type reference (TYPE) SWW_TASK Aufgabenkennung 20101206
9 Importing IV_UNAME Call by reference Type reference (TYPE) SYUNAME SY-UNAME Benutzername 20101206

Method CREATE_WORKITEM on class CL_SWR_UNIT_BASE has no exception.

Method DELETE_WORKITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_WORKITEMS Call by reference Type reference (TYPE) SWDTWIID Workitem-IDs 20101206

Method DELETE_WORKITEMS on class CL_SWR_UNIT_BASE has no exception.

Method EXECUTE Signature

Method EXECUTE on class CL_SWR_UNIT_BASE has no parameter.
Method EXECUTE on class CL_SWR_UNIT_BASE has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_API Call by reference Type reference (TYPE) SWF_CLSNAM Objekttyp 20101206
2 Importing IV_METHOD Call by reference Type reference (TYPE) SWF_CLSMET Workflow: Methodename 20101206
3 Importing IV_TEST_RFC Call by reference Type reference (TYPE) XFELD 'X' Feld zum Ankreuzen 20101208
4 Returning RO_HANDLER_INSTANCE Value transfer Object reference (TYPE REF TO) CL_SWR_UNIT_BASE Unit test Basisklasse 20101206

Method GET_INSTANCE on class CL_SWR_UNIT_BASE has no exception.

Method GET_TEST_USER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_USER Value transfer Type reference (TYPE) SYUNAME Benutzername 20110117

Method GET_TEST_USER on class CL_SWR_UNIT_BASE has no exception.

Method SET_API Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_API Call by reference Type reference (TYPE) SWF_CLSNAM Objekttyp 20101207

Method SET_API on class CL_SWR_UNIT_BASE has no exception.

Method SET_METHOD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_METHOD Call by reference Type reference (TYPE) SWF_CLSMET Workflow: Methodename 20101206

Method SET_METHOD on class CL_SWR_UNIT_BASE has no exception.

Method SET_TEST_RFC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TEST_RFC Call by reference Type reference (TYPE) XFELD Feld zum Ankreuzen 20101208

Method SET_TEST_RFC on class CL_SWR_UNIT_BASE has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 703