SAP ABAP Class CL_LAW_TEST_SERVICE (Servie Class for Unit Tests)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-LIM (Application Component) License Measurement
⤷
SLIM2 (Package) License Administration Workbench
⤷
⤷
Properties
| Class | CL_LAW_TEST_SERVICE | |
| Short Description | Servie Class for Unit Tests | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SLIM2 | License Administration Workbench |
| Created | 20050919 | SAP |
| Last change | 20060703 | 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 CL_LAW_TEST_SERVICE has no interface implemented.
Friends
Class CL_LAW_TEST_SERVICE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | I | 1 | Entries are missing from the LAWDESTCUS table | 20050919 | ||
| 2 | Constant | Public | Type reference (TYPE) | I | 2 | Entries are missing from table LAWDESTCUS (Key SYS) | 20050919 | ||
| 3 | Constant | Public | Type reference (TYPE) | I | 4 | Table LAWDESTCUS contains too few entries | 20050919 | ||
| 4 | Constant | Public | Type reference (TYPE) | I | 5 | Table LAW_PROT contains entries that should not exist | 20050919 | ||
| 5 | Constant | Public | Type reference (TYPE) | I | 3 | Entries are missing from table LAW_PROT | 20050919 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Check Result After "Check Component Data" Function | 20050926 | |
| 2 | Static method | Public | Method | Check whether a hardware key was added | 20050919 | |
| 3 | Static method | Public | Method | Check whether a system was newly added | 20050919 | |
| 4 | Static method | Public | Method | Check whether a system does not exist (was deleted) | 20050919 | |
| 5 | Static method | Public | Method | Check LAW after the measurement plan has been loaded | 20050919 | |
| 6 | Static method | Public | Method | Check whether LAW is in initial status (table is empty) | 20050919 | |
| 7 | Static method | Public | Method | Generate Measurement Plan | 20050919 | |
| 8 | Static method | Public | Method | Generate Message with Return Code | 20050919 | |
| 9 | Static method | Public | Method | Build Table with All Rows | 20050919 | |
| 10 | Static method | Public | Method | Generate RFC Destinations for Solution Manager | 20060330 | |
| 11 | Static method | Public | Method | Generate Data for Adding a System | 20050919 | |
| 12 | Static method | Public | Method | Selection for Test Service Class | 20050919 | |
| 13 | Static method | Public | Method | Unlock LAW | 20050919 | |
| 14 | Static method | Public | Method | Lock LAW | 20050919 | |
| 15 | Static method | Public | Method | Delete All Data Except the Consolidation Control Data | 20050919 | |
| 16 | Static method | Public | Method | Set Transfer Status | 20051117 | |
| 17 | Static method | Public | Method | Generic Table Display | 20060330 |
Events
Class CL_LAW_TEST_SERVICE has no event.
Types
Class CL_LAW_TEST_SERVICE has no local type.
Method Signatures
Method CHECK_AFTER_CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Value transfer | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20050926 | |||
| 2 | IS_OUTTAB_AFTER | Call by reference | Type reference (TYPE) | LAWDESTCUS | Systemübersicht Tabelle LAWDESTCUS + ALV Spezifika | 20050926 | |||
| 3 | IS_OUTTAB_BEFORE | Call by reference | Type reference (TYPE) | LAWDESTCUS | Systemübersicht Tabelle LAWDESTCUS + ALV Spezifika | 20050926 |
Method CHECK_AFTER_CHECK on class CL_LAW_TEST_SERVICE has no exception.
Method CHECK_FOR_ADD_HWKEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ERROR | Value transfer | Type reference (TYPE) | I | 20050919 | ||||
| 2 | IS_LAWKEY | Call by reference | Type reference (TYPE) | LAWKEY2 | Schlüsselstruktur für License Audit Workbench | 20050919 |
Method CHECK_FOR_ADD_HWKEY on class CL_LAW_TEST_SERVICE has no exception.
Method CHECK_FOR_SYSTEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ERROR | Value transfer | Type reference (TYPE) | I | 20050919 | ||||
| 2 | IS_LAWKEY | Call by reference | Type reference (TYPE) | LAWKEY2 | Schlüsselstruktur für License Audit Workbench | 20050919 |
Method CHECK_FOR_SYSTEM on class CL_LAW_TEST_SERVICE has no exception.
Method CHECK_FOR_SYSTEM_LACK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Value transfer | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20050919 | |||
| 2 | IS_LAWKEY | Call by reference | Type reference (TYPE) | LAWKEY2 | Schlüsselstruktur für License Audit Workbench | 20050919 |
Method CHECK_FOR_SYSTEM_LACK on class CL_LAW_TEST_SERVICE has no exception.
Method CHECK_LAW_AFTER_EMP_LOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ERROR | Value transfer | Type reference (TYPE) | I | 20050919 | ||||
| 2 | IT_MEAS_PLAN | Call by reference | Type reference (TYPE) | LAW_T_MEAS_PLAN | LAW: Tabelle der Systemdaten aus dem Vermessungsplan | 20050919 |
Method CHECK_LAW_AFTER_EMP_LOAD on class CL_LAW_TEST_SERVICE has no exception.
Method CHECK_LAW_INITIAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Value transfer | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20050919 |
Method CHECK_LAW_INITIAL on class CL_LAW_TEST_SERVICE has no exception.
Method CREATE_EMP_XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MEASPLAN | Call by reference | Type reference (TYPE) | LAW_T_XMLC | LAW: XML-Tabelle | 20050919 | |||
| 2 | E_TABLESIZE | Call by reference | Type reference (TYPE) | I | Tabellengröße | 20050919 |
Method CREATE_EMP_XML on class CL_LAW_TEST_SERVICE has no exception.
Method CREATE_MESSAGE_WITH_RC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_MSG | Value transfer | Type reference (TYPE) | STRING | 20050919 | ||||
| 2 | I_MSG | Call by reference | Type reference (TYPE) | STRING | 20050919 | ||||
| 3 | I_RC | Call by reference | Type reference (TYPE) | I | 20050919 |
Method CREATE_MESSAGE_WITH_RC on class CL_LAW_TEST_SERVICE has no exception.
Method CREATE_ROW_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ROWS | Value transfer | Type reference (TYPE) | LVC_T_ROW | ALV-Control: Tabellenzeilen | 20050919 |
Method CREATE_ROW_TABLE on class CL_LAW_TEST_SERVICE has no exception.
Method CREATE_SM_DESTINATIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_SCDTSYSRFC | Call by reference | Type reference (TYPE) | SCDTSYSRFC_BIZ_TYPE | Generierte RFC-Destinationen | 20060330 | |||
| 2 | I_CREATE | Call by reference | Type reference (TYPE) | SAP_BOOL | Destinationen erzeugen | 20060330 |
Method CREATE_SM_DESTINATIONS on class CL_LAW_TEST_SERVICE has no exception.
Method CREATE_SYSTEM_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_LAWDESTCUS | Value transfer | Type reference (TYPE) | LAWDESTCUS | LAW: Customizing-Tabelle für RFC-Destinationen | 20050919 | |||
| 2 | I_HWKEY | Call by reference | Type reference (TYPE) | HWKEY | Hardwarekey | 20050919 | |||
| 3 | I_INSTNO | Call by reference | Type reference (TYPE) | INSTNUMBER | Installationsnummer | 20050919 | |||
| 4 | I_RFCDEST | Call by reference | Type reference (TYPE) | RFCDEST | logische Destination (Wird bei Funktionsaufruf angegeben) | 20050919 | |||
| 5 | I_SYSID | Call by reference | Type reference (TYPE) | SYSYSID | Name des SAP-Systems | 20050919 | |||
| 6 | I_SYS_NUMBER | Call by reference | Type reference (TYPE) | LAW_SYSID | Eindeutige System-ID von saplicense | 20050919 |
Method CREATE_SYSTEM_DATA on class CL_LAW_TEST_SERVICE has no exception.
Method IF_AUDIT_FOR_TESTING Signature
Method IF_AUDIT_FOR_TESTING on class CL_LAW_TEST_SERVICE has no parameter.
Method IF_AUDIT_FOR_TESTING on class CL_LAW_TEST_SERVICE has no exception.
Method LAW_DEQUEUE Signature
Method LAW_DEQUEUE on class CL_LAW_TEST_SERVICE has no parameter.
Method LAW_DEQUEUE on class CL_LAW_TEST_SERVICE has no exception.
Method LAW_ENQUEUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_RC | Value transfer | Type reference (TYPE) | SY-SUBRC | Rückgabewert von ABAP-Anweisungen | 20050919 |
Method LAW_ENQUEUE on class CL_LAW_TEST_SERVICE has no exception.
Method LAW_RESET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_RC | Value transfer | Type reference (TYPE) | SY-SUBRC | Rückgabewert von ABAP-Anweisungen | 20050919 |
Method LAW_RESET on class CL_LAW_TEST_SERVICE has no exception.
Method SET_TRANSFER_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_SESSIONNO | Value transfer | Type reference (TYPE) | BDLDATKEY-SESSIONNR | SDCC Session Nummer | 20051117 | |||
| 2 | I_SESSIONNO | Call by reference | Type reference (TYPE) | BDLDATKEY-SESSIONNR | SDCC Session Nummer | 20051117 | |||
| 3 | I_STATE | Call by reference | Type reference (TYPE) | C | Status (LAW_STAT) | 20051117 |
Method SET_TRANSFER_STATUS on class CL_LAW_TEST_SERVICE has no exception.
Method SHOW_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_EXIT | Call by reference | Type reference (TYPE) | SAP_BOOL | boolsche Variable (X=true, space=false) | 20060330 | |||
| 2 | IR_OUTTAB | Call by reference | Object reference (TYPE REF TO) | DATA | Referenz zur Datentabelle | 20060330 | |||
| 3 | I_STRUCT_NAME | Call by reference | Type reference (TYPE) | DD02L-TABNAME | Tabellenname | 20060330 |
Method SHOW_TABLE on class CL_LAW_TEST_SERVICE has no exception.
History
| Last changed by/on | SAP | 20060703 |
| SAP Release Created in |