SAP ABAP Class CL_LAW2_COMMUNICATION (LAW 2.0 Communication Class)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-LIM (Application Component) License Measurement
⤷
SLIM3 (Package) License Administration Workbench 2.0
⤷
⤷
Properties
| Class | CL_LAW2_COMMUNICATION | |
| Short Description | LAW 2.0 Communication Class | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | LAW2_MESSAGES | |
| Program status | ||
| Category | 0 | |
| Package | SLIM3 | License Administration Workbench 2.0 |
| Created | 20111028 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_LAW2_COMMUNICATION has no forward declaration.
Interfaces
Class CL_LAW2_COMMUNICATION has no interface implemented.
Friends
Class CL_LAW2_COMMUNICATION has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | LAW2_TRANSFER_SDCCN_STATUS | '4' | 20120719 | |||
| 2 | Constant | Public | Type reference (TYPE) | LAW2_TRANSFER_SDCCN_STATUS | '1' | 20120719 | |||
| 3 | Constant | Public | Type reference (TYPE) | LAW2_TRANSFER_SDCCN_STATUS | '2' | 20120719 | |||
| 4 | Constant | Public | Type reference (TYPE) | LAW2_TRANSFER_SDCCN_STATUS | '3' | 20120719 | |||
| 5 | Constant | Private | Type reference (TYPE) | MANDT | '000' | 20120330 | |||
| 6 | Constant | Private | Type reference (TYPE) | BDLDATKEY-CONTRACT | 'MEASUREL' | 20120330 | |||
| 7 | Constant | Private | Type reference (TYPE) | BOOLE_D | 'X' | Email address should be converted to lower case | 20111102 | ||
| 8 | Constant | Private | Type reference (TYPE) | N | 2 | Plug-In Format for Email, Pers | 20111102 | ||
| 9 | Constant | Private | Type reference (TYPE) | C | 3 | Trace Level Default Value | 20111102 | ||
| 10 | Constant | Private | Type reference (TYPE) | SYM_GRP | 'Meas. res.' | Group for measurement data | 20120126 | ||
| 11 | Constant | Private | Type reference (TYPE) | SYM_KEY | 'addr.data' | User Address Data Key | 20120126 | ||
| 12 | Constant | Private | Type reference (TYPE) | SYM_KEY | 'addr.tel' | Key for measurement data | 20120126 | ||
| 13 | Constant | Private | Type reference (TYPE) | SYM_KEY | 'Msg. No.' | Key for measurement data | 20120126 | ||
| 14 | Constant | Private | Type reference (TYPE) | REPID | 'RSUVM001' | Measurment report | 20120126 | ||
| 15 | Constant | Private | Type reference (TYPE) | LAW2_RFCACTION | 'M' | RFC action: Start USMM Measurment | 20111102 | ||
| 16 | Constant | Private | Type reference (TYPE) | LAW2_RFCACTION | 'B' | RFC action: Start USMM Measurment and transfer the result | 20111102 | ||
| 17 | Constant | Private | Type reference (TYPE) | LAW2_RFCACTION | 'T' | RFC action: Test the RFC action | 20111102 | ||
| 18 | Constant | Private | Type reference (TYPE) | LAW2_RFCACTION | 'S' | RFC action: Get USMM Result | 20111102 | ||
| 19 | Constant | Private | Type reference (TYPE) | FUNCNAME | '/BDL/_CHECK_JOB_TASKMANAGER' | 20120330 | |||
| 20 | Constant | Private | Type reference (TYPE) | FUNCNAME | '/BDL/CALL_SDCC' | 20120330 | |||
| 21 | Constant | Private | Type reference (TYPE) | FUNCNAME | '/BDL/_IMMEDIATE_SESSION_DATA_N' | 20120330 | |||
| 22 | Constant | Private | Type reference (TYPE) | FUNCNAME | '/BDL/_DELETE_SESSION_DATA' | 20120330 | |||
| 23 | Constant | Private | Type reference (TYPE) | FUNCNAME | '/BDL/_READ_SESSION_DATA_INFO' | 20120330 | |||
| 24 | Constant | Private | Type reference (TYPE) | FUNCNAME | '/BDL/_NEXT_SESSIONNR' | 20120330 | |||
| 25 | Constant | Private | Type reference (TYPE) | TYPENAME | '/BDL/_JOB_ATTRIBUTES' | 20120330 | |||
| 26 | Constant | Private | Type reference (TYPE) | TYPENAME | '/BDL/MSGLOG' | 20120330 | |||
| 27 | Constant | Private | Type reference (TYPE) | TYPENAME | '/BDL/SESSMAP' | 20120330 | |||
| 28 | Constant | Private | Type reference (TYPE) | TYPENAME | '/BDL/TASKS' | 20120330 | |||
| 29 | Constant | Private | Type reference (TYPE) | FUNCNAME | 'SLIM_CONTROL_USMM' | USMM RFC function module | 20111102 | ||
| 30 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_LAW2_DATA_PROVIDER | LAW 2.0 Data Provider Class | 20111031 | |||
| 31 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_LAW2_APPL_LOG | LAW Application Log | 20111031 | |||
| 32 | Instance attribute | Private | Type reference (TYPE) | CHAR6 | Task ID | 20111107 | |||
| 33 | Constant | Private | Type reference (TYPE) | SLIM_SDCC_STATUS | 'E' | 20120330 | |||
| 34 | Constant | Private | Type reference (TYPE) | SLIM_SDCC_STATUS | 'S' | 20120330 | |||
| 35 | Constant | Private | Type reference (TYPE) | SLIM_SDCC_STATUS | 'W' | 20120330 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Call a remote action | 20111028 | |
| 2 | Instance method | Public | Constructor | 20111031 | ||
| 3 | Instance method | Private | Method | Fill the RFC parameter structure | 20111102 | |
| 4 | Instance method | Private | Method | Create the RCF action table entry for the given system | 20111031 | |
| 5 | Instance method | Public | Method | Get the local USMM result in SID format | 20120126 | |
| 6 | Instance method | Private | Method | Status of SDCCN transter | 20120330 | |
| 7 | Instance method | Public | Method | look for SDCCN installation | 20120330 | |
| 8 | Instance method | Private | Method | Execute remote actions with RFCACTION table update | 20111031 | |
| 9 | Instance method | Public | Method | RFC connection test for the given systems | 20111031 | |
| 10 | Instance method | Public | Method | Trigger the measurement and transfer of USMM results via RFC | 20111031 | |
| 11 | Instance method | Public | Method | Trigger the USMM measurement via RFC | 20111031 | |
| 12 | Instance method | Public | Method | Trigger the transfer of USMM results via RFC | 20111031 | |
| 13 | Instance method | Private | Method | 20120719 | ||
| 14 | Instance method | Public | Method | Start the measurement of the local system | 20120126 | |
| 15 | Instance method | Private | Method | start transfer to SAP via SDCCN subsystem | 20120330 | |
| 16 | Instance method | Public | Method | Transfer the LAW result of the active dataset to SAP | 20120305 |
Events
Class CL_LAW2_COMMUNICATION has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_SESS_NR | Private | See coding | 20120330 | TY_SESS_NR type c LENGTH 10
|
||
| 2 | TY_USR03 | Private | See coding | 20120126 | BEGIN OF TY_USR03,
MANDT TYPE USR03-MANDT,
BNAME TYPE USR03-BNAME,
NAME1 TYPE USR03-NAME1,
NAME2 TYPE USR03-NAME2,
TELNR TYPE USR03-TELNR,
END OF TY_USR03
|
||
| 3 | TY_USRTEL | Private | See coding | 20120126 | BEGIN OF ty_usrtel,
mandt TYPE usr03-mandt,
bname TYPE usr03-bname,
telnr TYPE usr03-telnr,
END OF ty_usrtel
|
Method Signatures
Method CALL_REMOTE_ACTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DESTINATION | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20111028 | |||
| 2 | IV_FUNCNAME | Call by reference | Type reference (TYPE) | FUNCNAME | Function name | 20111028 | |||
| 3 | IV_PARAM | Call by reference | Type reference (TYPE) | SLPARAM | Substitution procedure: Parameters for RFC REPORT interface | 20111102 | |||
| 4 | IV_PROGNAME | Call by reference | Type reference (TYPE) | PROGRAMM | Plugin Report name | 20111109 | |||
| 5 | IV_SYNCHRON | Call by reference | Type reference (TYPE) | XFELD | ' ' | Synchronous RFC call | 20111108 | ||
| 6 | IV_SYSID | Call by reference | Type reference (TYPE) | SYSYSID | System ID for error message | 20111109 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20111028 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_DATA_PROVIDER | Call by reference | Object reference (TYPE REF TO) | CL_LAW2_DATA_PROVIDER | Data Provider from the application class | 20111031 |
Method CONSTRUCTOR on class CL_LAW2_COMMUNICATION has no exception.
Method CONSTRUCT_RFC_PARAMETER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_PARAM | Value transfer | Type reference (TYPE) | SLPARAM | Substitution procedure: Parameters for RFC REPORT interface | 20111102 | |||
| 2 | IS_RFCACTION | Call by reference | Type reference (TYPE) | LAW2_S_RFCACTION | LAW 2.0: RFC Action structure | 20111102 |
Method CONSTRUCT_RFC_PARAMETER on class CL_LAW2_COMMUNICATION has no exception.
Method CREATE_RFCACTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_MEASPLAN_SYSTEM | Call by reference | Type reference (TYPE) | LAW2_S_UI_MEASPLAN | LAW 2.0 Merged System and Measurement structure | 20111031 | |||
| 2 | IV_ACTION | Call by reference | Type reference (TYPE) | LAW2_RFCACTION | LAW 2.0: RFC action | 20111031 | |||
| 3 | IV_SYNCHRON | Call by reference | Type reference (TYPE) | XFELD | ' ' | Synchronous RFC call | 20111114 | ||
| 4 | RS_RFC_ACTION | Value transfer | Type reference (TYPE) | LAW2_S_RFCACTION | LAW 2.0: RFC Action structure | 20111102 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for the LAW 2.0 Communication class | 20111102 |
Method GET_LOCAL_USMM_RESULT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RESULT | Call by reference | Type reference (TYPE) | LAW2_T_SYMDA | System Measurement Data table type | 20120126 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for the LAW 2.0 Communication class | 20120126 |
Method GET_SDCCN_SESSION_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PI_INSTNO | Call by reference | Type reference (TYPE) | NUM10 | 10 digit number | 20120405 | |||
| 2 | PI_REQSID | Call by reference | Type reference (TYPE) | SYSYSID | Name of the SAP System | 20120405 | |||
| 3 | PI_SESSIONNR | Call by reference | Type reference (TYPE) | CHAR10 | Single-Character Flag | 20120330 | |||
| 4 | PR_STATUS | Value transfer | Type reference (TYPE) | CHAR1 | Single-Character Flag | 20120330 |
Method GET_SDCCN_SESSION_STATUS on class CL_LAW2_COMMUNICATION has no exception.
Method IS_SDCCN_ACTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_WITH_MESSAGES | Call by reference | Type reference (TYPE) | XFELD | 'X' | Checkbox | 20120410 | ||
| 2 | PR_ACTIVE | Value transfer | Type reference (TYPE) | XFELD | Checkbox | 20120330 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for the LAW 2.0 Communication class | 20120330 |
Method PROCESS_REMOTE_ACTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_MEASPLAN_SYSTEM | Call by reference | Type reference (TYPE) | LAW2_T_UI_MEASPLAN | LAW 2.0 Merged System and Measurement table structure | 20111031 | |||
| 2 | IV_ACTION | Call by reference | Type reference (TYPE) | LAW2_RFCACTION | LAW 2.0: RFC action | 20111031 | |||
| 3 | IV_SYNCHRON | Call by reference | Type reference (TYPE) | XFELD | ' ' | Synchronous RFC call | 20111109 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20111031 |
Method RFC_CONNECTION_TEST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_MEASPLAN_SYSTEM | Call by reference | Type reference (TYPE) | LAW2_T_UI_MEASPLAN | Systems for which the remote action should be triggered | 20111031 |
Method RFC_CONNECTION_TEST on class CL_LAW2_COMMUNICATION has no exception.
Method RFC_START_AND_TRANSFER_RESULTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_MEASPLAN_SYSTEM | Call by reference | Type reference (TYPE) | LAW2_T_UI_MEASPLAN | Systems for which the remote action should be triggered | 20111031 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for the LAW 2.0 Communication class | 20111031 |
Method RFC_START_USMM_MEASUREMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_MEASPLAN_SYSTEM | Call by reference | Type reference (TYPE) | LAW2_T_UI_MEASPLAN | Systems for which the remote action should be triggered | 20111031 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for the LAW 2.0 Communication class | 20111031 |
Method RFC_TRANSFER_USMM_RESULTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_MEASPLAN_SYSTEM | Call by reference | Type reference (TYPE) | LAW2_T_UI_MEASPLAN | Systems for which the remote action should be triggered | 20111031 | |||
| 2 | IV_SYNCHRON | Call by reference | Type reference (TYPE) | XFELD | ' ' | Synchronous RFC call | 20111109 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for the LAW 2.0 Communication class | 20111031 |
Method SET_TRANSFER_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PI_INSTNO | Call by reference | Type reference (TYPE) | NUM10 | 10 digit number | 20120719 | |||
| 2 | PI_SESSIONID | Call by reference | Type reference (TYPE) | CHAR10 | Character Field Length = 10 | 20120719 | |||
| 3 | PI_SID | Call by reference | Type reference (TYPE) | SY-SYSID | Name of the SAP System | 20120719 | |||
| 4 | PI_STATUS | Call by reference | Type reference (TYPE) | STRING | 20120719 |
Method SET_TRANSFER_STATUS on class CL_LAW2_COMMUNICATION has no exception.
Method START_LOCAL_USMM_MEASUREMENT Signature
Method START_LOCAL_USMM_MEASUREMENT on class CL_LAW2_COMMUNICATION has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for the LAW 2.0 Communication class | 20120126 |
Method START_SDCCN_TRANSFER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_APPLICATION | Call by reference | Object reference (TYPE REF TO) | CL_LAW2_APPLICATION | LAW 2.0 Application Class | 20120719 | |||
| 2 | IV_DATASETGUID | Call by reference | Type reference (TYPE) | GUID | Globally Unique Identifier | 20120719 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for the LAW 2.0 Communication class | 20120330 |
Method TRANSFER_RESULT_TO_SAP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_APPLICATION | Call by reference | Object reference (TYPE REF TO) | CL_LAW2_APPLICATION | LAW 2.0 Application Class | 20120719 | |||
| 2 | IV_DATASETGUID | Call by reference | Type reference (TYPE) | GUID | Globally Unique Identifier | 20120719 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for the LAW 2.0 Communication class | 20120305 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 732 |