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 | ![]() |
Constant | Protected | Type reference (TYPE) | SWR_DEST | 'NONE' | Workflow API: Destination for Remote Calls | 20101206 | |
2 | ![]() |
Constant | Protected | Type reference (TYPE) | SWW_TASK | 'TS45308668' | Task ID | 20101206 | |
3 | ![]() |
Constant | Protected | Type reference (TYPE) | SWW_TASK | 'TS48907952' | Task ID | 20101206 | |
4 | ![]() |
Constant | Protected | Type reference (TYPE) | SWW_TASK | 'TS48907944' | Task ID | 20101206 | |
5 | ![]() |
Constant | Protected | Type reference (TYPE) | SWW_TASK | 'WS48900088' | Task ID | 20101206 | |
6 | ![]() |
Constant | Protected | Type reference (TYPE) | SWW_TASK | 'WS70000597' | Task ID | 20101206 | |
7 | ![]() |
Constant | Protected | Type reference (TYPE) | SWW_TASK | 'WS48900074' | Task ID | 20101206 | |
8 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | SWF_CLSNAM | Object Type | 20101206 | ||
9 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | XFELD | 'X' | Checkbox | 20101206 | |
10 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | SWF_CLSMET | Workflow: Method Name | 20101206 | ||
11 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | RFCDEST | Workflow API: Destination for Remote Calls | 20101207 | ||
12 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | XFELD | Checkbox | 20101207 | ||
13 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | XFELD | Checkbox | 20101207 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Check Preconditions | 20101207 |
2 | ![]() |
Instance method | Public | Method | Clear Test Data After Unit Test | 20101206 |
3 | ![]() |
Instance method | Public | Method | Create Test Data for Unit Test | 20101206 |
4 | ![]() |
Instance method | Protected | Method | Create Work Item | 20101206 |
5 | ![]() |
Instance method | Protected | Method | Delete Work Items | 20101206 |
6 | ![]() |
Instance method | Public | Method | Execute Unit Test | 20101206 |
7 | ![]() |
Static method | Public | Method | Get Unit Handler | 20101206 |
8 | ![]() |
Instance method | Protected | Method | Get Appropriate Test User | 20110117 |
9 | ![]() |
Instance method | Private | Method | Set API | 20101207 |
10 | ![]() |
Instance method | Private | Method | Set Method | 20101206 |
11 | ![]() |
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 | ![]() |
EV_RETCODE | Call by reference | Type reference (TYPE) | I | 20101206 | |||
2 | ![]() |
EV_STARTED_TASK | Call by reference | Type reference (TYPE) | SWW_TASK | Aufgabenkennung | 20101206 | ||
3 | ![]() |
EV_WIID | Call by reference | Type reference (TYPE) | SWW_WIID | Workitem-Kennung | 20101206 | ||
4 | ![]() |
IT_CONT | Call by reference | Type reference (TYPE) | SWRTCONT | Container-Tabelle | 20101206 | ||
5 | ![]() |
IV_DESIRED_START_DATE | Call by reference | Type reference (TYPE) | SWR_DATEIN | WAPI: Datum im internen Format (JJJJMMDD) | 20101206 | ||
6 | ![]() |
IV_DESIRED_START_TIME | Call by reference | Type reference (TYPE) | SWR_TIMEIN | WAPI: Uhrzeit im internen Format (hhmmss) | 20101206 | ||
7 | ![]() |
IV_LANGU | Call by reference | Type reference (TYPE) | SYLANGU | SY-LANGU | Sprachenschlüssel der aktuellen Textumgebung | 20101206 | |
8 | ![]() |
IV_TASK | Call by reference | Type reference (TYPE) | SWW_TASK | Aufgabenkennung | 20101206 | ||
9 | ![]() |
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 | ![]() |
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 | ![]() |
IV_API | Call by reference | Type reference (TYPE) | SWF_CLSNAM | Objekttyp | 20101206 | ||
2 | ![]() |
IV_METHOD | Call by reference | Type reference (TYPE) | SWF_CLSMET | Workflow: Methodename | 20101206 | ||
3 | ![]() |
IV_TEST_RFC | Call by reference | Type reference (TYPE) | XFELD | 'X' | Feld zum Ankreuzen | 20101208 | |
4 | ![]() |
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 | ![]() |
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 | ![]() |
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 | ![]() |
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 | ![]() |
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 |