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 GC_SDCCN_STATUS_ERR Constant Public Type reference (TYPE) LAW2_TRANSFER_SDCCN_STATUS '4' 20120719
2 GC_SDCCN_STATUS_NEW Constant Public Type reference (TYPE) LAW2_TRANSFER_SDCCN_STATUS '1' 20120719
3 GC_SDCCN_STATUS_REL Constant Public Type reference (TYPE) LAW2_TRANSFER_SDCCN_STATUS '2' 20120719
4 GC_SDCCN_STATUS_TRN Constant Public Type reference (TYPE) LAW2_TRANSFER_SDCCN_STATUS '3' 20120719
5 GC_SDCC_CLIENT Constant Private Type reference (TYPE) MANDT '000' 20120330
6 GC_SDCC_CONTRACT Constant Private Type reference (TYPE) BDLDATKEY-CONTRACT 'MEASUREL' 20120330
7 MC_DEF_EMAIL_TO_LOWERCASE Constant Private Type reference (TYPE) BOOLE_D 'X' Email address should be converted to lower case 20111102
8 MC_DEF_PLG_FORMAT Constant Private Type reference (TYPE) N 2 Plug-In Format for Email, Pers 20111102
9 MC_DEF_TRACELEVEL Constant Private Type reference (TYPE) C 3 Trace Level Default Value 20111102
10 MC_GRP_MEAS_RESULTS Constant Private Type reference (TYPE) SYM_GRP 'Meas. res.' Group for measurement data 20120126
11 MC_KEY_ADDR_DATA Constant Private Type reference (TYPE) SYM_KEY 'addr.data' User Address Data Key 20120126
12 MC_KEY_ADDR_TEL Constant Private Type reference (TYPE) SYM_KEY 'addr.tel' Key for measurement data 20120126
13 MC_KEY_MSG_NO Constant Private Type reference (TYPE) SYM_KEY 'Msg. No.' Key for measurement data 20120126
14 MC_MEASUREMENT_REPORT Constant Private Type reference (TYPE) REPID 'RSUVM001' Measurment report 20120126
15 MC_RFC_ACTION_STARTMEASUREMENT Constant Private Type reference (TYPE) LAW2_RFCACTION 'M' RFC action: Start USMM Measurment 20111102
16 MC_RFC_ACTION_START_AND_TRANSF Constant Private Type reference (TYPE) LAW2_RFCACTION 'B' RFC action: Start USMM Measurment and transfer the result 20111102
17 MC_RFC_ACTION_TEST_RFC Constant Private Type reference (TYPE) LAW2_RFCACTION 'T' RFC action: Test the RFC action 20111102
18 MC_RFC_ACTION_TRANSFER_RESULT Constant Private Type reference (TYPE) LAW2_RFCACTION 'S' RFC action: Get USMM Result 20111102
19 MC_SDCCN_CHECK_JTM Constant Private Type reference (TYPE) FUNCNAME '/BDL/_CHECK_JOB_TASKMANAGER' 20120330
20 MC_SDCCN_FUNC_CALL Constant Private Type reference (TYPE) FUNCNAME '/BDL/CALL_SDCC' 20120330
21 MC_SDCCN_FUNC_CREA Constant Private Type reference (TYPE) FUNCNAME '/BDL/_IMMEDIATE_SESSION_DATA_N' 20120330
22 MC_SDCCN_FUNC_DELETE Constant Private Type reference (TYPE) FUNCNAME '/BDL/_DELETE_SESSION_DATA' 20120330
23 MC_SDCCN_FUNC_READ Constant Private Type reference (TYPE) FUNCNAME '/BDL/_READ_SESSION_DATA_INFO' 20120330
24 MC_SDCCN_FUNC_SESS Constant Private Type reference (TYPE) FUNCNAME '/BDL/_NEXT_SESSIONNR' 20120330
25 MC_TYPE_BDL_JOB_ATTR Constant Private Type reference (TYPE) TYPENAME '/BDL/_JOB_ATTRIBUTES' 20120330
26 MC_TYPE_BDL_LOG Constant Private Type reference (TYPE) TYPENAME '/BDL/MSGLOG' 20120330
27 MC_TYPE_BDL_SESSMAP Constant Private Type reference (TYPE) TYPENAME '/BDL/SESSMAP' 20120330
28 MC_TYPE_BDL_TASKS Constant Private Type reference (TYPE) TYPENAME '/BDL/TASKS' 20120330
29 MC_USMM_RFC_FUNCNAME Constant Private Type reference (TYPE) FUNCNAME 'SLIM_CONTROL_USMM' USMM RFC function module 20111102
30 MO_DATA_PROVIDER Instance attribute Private Object reference (TYPE REF TO) CL_LAW2_DATA_PROVIDER LAW 2.0 Data Provider Class 20111031
31 MO_PROTOCOL Instance attribute Private Object reference (TYPE REF TO) CL_LAW2_APPL_LOG LAW Application Log 20111031
32 MV_TASKID Instance attribute Private Type reference (TYPE) CHAR6 Task ID 20111107
33 STATUS_ERROR Constant Private Type reference (TYPE) SLIM_SDCC_STATUS 'E' 20120330
34 STATUS_OK Constant Private Type reference (TYPE) SLIM_SDCC_STATUS 'S' 20120330
35 STATUS_WARNING Constant Private Type reference (TYPE) SLIM_SDCC_STATUS 'W' 20120330
Methods
# Method Level Visibility Method type Description Created on
1 CALL_REMOTE_ACTION Instance method Private Method Call a remote action 20111028
2 CONSTRUCTOR Instance method Public Constructor 20111031
3 CONSTRUCT_RFC_PARAMETER Instance method Private Method Fill the RFC parameter structure 20111102
4 CREATE_RFCACTION Instance method Private Method Create the RCF action table entry for the given system 20111031
5 GET_LOCAL_USMM_RESULT Instance method Public Method Get the local USMM result in SID format 20120126
6 GET_SDCCN_SESSION_STATUS Instance method Private Method Status of SDCCN transter 20120330
7 IS_SDCCN_ACTIVE Instance method Public Method look for SDCCN installation 20120330
8 PROCESS_REMOTE_ACTION Instance method Private Method Execute remote actions with RFCACTION table update 20111031
9 RFC_CONNECTION_TEST Instance method Public Method RFC connection test for the given systems 20111031
10 RFC_START_AND_TRANSFER_RESULTS Instance method Public Method Trigger the measurement and transfer of USMM results via RFC 20111031
11 RFC_START_USMM_MEASUREMENT Instance method Public Method Trigger the USMM measurement via RFC 20111031
12 RFC_TRANSFER_USMM_RESULTS Instance method Public Method Trigger the transfer of USMM results via RFC 20111031
13 SET_TRANSFER_STATUS Instance method Private Method 20120719
14 START_LOCAL_USMM_MEASUREMENT Instance method Public Method Start the measurement of the local system 20120126
15 START_SDCCN_TRANSFER Instance method Private Method start transfer to SAP via SDCCN subsystem 20120330
16 TRANSFER_RESULT_TO_SAP 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 Importing IV_DESTINATION Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20111028
2 Importing IV_FUNCNAME Call by reference Type reference (TYPE) FUNCNAME Function name 20111028
3 Importing IV_PARAM Call by reference Type reference (TYPE) SLPARAM Substitution procedure: Parameters for RFC REPORT interface 20111102
4 Importing IV_PROGNAME Call by reference Type reference (TYPE) PROGRAMM Plugin Report name 20111109
5 Importing IV_SYNCHRON Call by reference Type reference (TYPE) XFELD ' ' Synchronous RFC call 20111108
6 Importing IV_SYSID Call by reference Type reference (TYPE) SYSYSID System ID for error message 20111109
# Exception Resumable Description Created on
1 CX_LAW2_COMMUNICATION 20111028

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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 Returning EV_PARAM Value transfer Type reference (TYPE) SLPARAM Substitution procedure: Parameters for RFC REPORT interface 20111102
2 Importing 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 Importing IS_MEASPLAN_SYSTEM Call by reference Type reference (TYPE) LAW2_S_UI_MEASPLAN LAW 2.0 Merged System and Measurement structure 20111031
2 Importing IV_ACTION Call by reference Type reference (TYPE) LAW2_RFCACTION LAW 2.0: RFC action 20111031
3 Importing IV_SYNCHRON Call by reference Type reference (TYPE) XFELD ' ' Synchronous RFC call 20111114
4 Returning RS_RFC_ACTION Value transfer Type reference (TYPE) LAW2_S_RFCACTION LAW 2.0: RFC Action structure 20111102
# Exception Resumable Description Created on
1 CX_LAW2_COMMUNICATION 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 Exporting ET_RESULT Call by reference Type reference (TYPE) LAW2_T_SYMDA System Measurement Data table type 20120126
# Exception Resumable Description Created on
1 CX_LAW2_COMMUNICATION 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 Importing PI_INSTNO Call by reference Type reference (TYPE) NUM10 10 digit number 20120405
2 Importing PI_REQSID Call by reference Type reference (TYPE) SYSYSID Name of the SAP System 20120405
3 Importing PI_SESSIONNR Call by reference Type reference (TYPE) CHAR10 Single-Character Flag 20120330
4 Returning 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 Importing IV_WITH_MESSAGES Call by reference Type reference (TYPE) XFELD 'X' Checkbox 20120410
2 Returning PR_ACTIVE Value transfer Type reference (TYPE) XFELD Checkbox 20120330
# Exception Resumable Description Created on
1 CX_LAW2_COMMUNICATION 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 Importing IT_MEASPLAN_SYSTEM Call by reference Type reference (TYPE) LAW2_T_UI_MEASPLAN LAW 2.0 Merged System and Measurement table structure 20111031
2 Importing IV_ACTION Call by reference Type reference (TYPE) LAW2_RFCACTION LAW 2.0: RFC action 20111031
3 Importing IV_SYNCHRON Call by reference Type reference (TYPE) XFELD ' ' Synchronous RFC call 20111109
# Exception Resumable Description Created on
1 CX_LAW2_COMMUNICATION 20111031

Method RFC_CONNECTION_TEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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 Importing 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 CX_LAW2_COMMUNICATION 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 Importing 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 CX_LAW2_COMMUNICATION 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 Importing IT_MEASPLAN_SYSTEM Call by reference Type reference (TYPE) LAW2_T_UI_MEASPLAN Systems for which the remote action should be triggered 20111031
2 Importing IV_SYNCHRON Call by reference Type reference (TYPE) XFELD ' ' Synchronous RFC call 20111109
# Exception Resumable Description Created on
1 CX_LAW2_COMMUNICATION 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 Importing PI_INSTNO Call by reference Type reference (TYPE) NUM10 10 digit number 20120719
2 Importing PI_SESSIONID Call by reference Type reference (TYPE) CHAR10 Character Field Length = 10 20120719
3 Importing PI_SID Call by reference Type reference (TYPE) SY-SYSID Name of the SAP System 20120719
4 Importing 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 CX_LAW2_COMMUNICATION 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 Importing IR_APPLICATION Call by reference Object reference (TYPE REF TO) CL_LAW2_APPLICATION LAW 2.0 Application Class 20120719
2 Importing IV_DATASETGUID Call by reference Type reference (TYPE) GUID Globally Unique Identifier 20120719
# Exception Resumable Description Created on
1 CX_LAW2_COMMUNICATION 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 Importing IO_APPLICATION Call by reference Object reference (TYPE REF TO) CL_LAW2_APPLICATION LAW 2.0 Application Class 20120719
2 Importing IV_DATASETGUID Call by reference Type reference (TYPE) GUID Globally Unique Identifier 20120719
# Exception Resumable Description Created on
1 CX_LAW2_COMMUNICATION Exception class for the LAW 2.0 Communication class 20120305
History
Last changed by/on SAP  20130531 
SAP Release Created in 732