SAP ABAP Class CL_LAW2_INPUT_MANAGEMENT (LAW 2.0 Input Management)
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_INPUT_MANAGEMENT  
Short Description LAW 2.0 Input Management    
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 20110707   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_LAW2_XML_MODEL Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_LAW2_INPUT_MANAGEMENT has no interface implemented.
Friends
Class CL_LAW2_INPUT_MANAGEMENT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GS_USMM_MEASUREMENT Instance attribute Private Type reference (TYPE) LAW2_S_USMM_MEASUREMENT 20111125
2 MO_PROTOCOL Instance attribute Private Object reference (TYPE REF TO) CL_LAW2_APPL_LOG LAW Application Log 20110707
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_ENG_PRESEL_ENTRIES Instance method Public Method Check if the given plan contains engine preselections 20121227
2 CHECK_EXT_SYSTEM_ENTRIES Instance method Public Method Check if the given plan contains external system infos 20121228
3 CHECK_LAW_CONT_ENTRIES Instance method Public Method Check if the given measurementplan contains LAW_CONT entries 20121227
4 CHECK_NMP_ENTRIES Instance method Public Method Check if the given plan contains NMP entries 20121227
5 CONSTRUCTOR Instance method Public Constructor Constructor 20110707
6 CONVERT_PARTS Instance method Private Method convert parts (from XML format) 20111125
7 CONVERT_PERSONAL_ATTRIBUTES Instance method Private Method convert PERSONAL ATTRIBUTES (from XML format) 20111125
8 CONVERT_RESULTS Instance method Private Method convert results (from XML format ) 20111125
9 CONVERT_SYSTEMS Instance method Private Method convert systems (from XML format) 20111125
10 CONVERT_XML_TO_LAW2_MODEL Instance method Public Method convert data from XML input 20111125
11 DECODE_ENGINE_PRESELECTION Instance method Public Method Decode engine preselection entries 20121227
12 DECODE_EXT_ATTR_USERS Instance method Public Method Decode the LAW CONT entries 20121227
13 DECODE_EXT_SYSTEM Instance method Public Method Decode external systems from measurement plan 20121227
14 DECODE_LAWCONT Instance method Public Method Decode the LAW CONT entries 20121227
15 DECODE_MEASPLAN Instance method Public Method Decode a measurement plan 20110707
16 DECODE_NMP Instance method Public Method Decode the NMP entries 20121227
17 DECODE_USMM_RESULT Instance method Public Method Decode a measurement plan 20110916
18 DECODE_USMM_RESULT_SYSTEMS Instance method Public Method Decode a measurement plan 20110915
19 FILL_DATASETGUID_SYSTEMGUID Static method Public Method Fill the dataset GUID and System Guid of the USMM result 20110916
20 GET_CODEPAGE Instance method Private Method returns the decoding of a given input stream 20121126
21 GUID_CREATE Static method Public Method Create a X16 guid 20110916
22 TRANSFORM_SID_MEASUREMENT Instance method Public Method transform SID (classic) input stream into LAW2 format 20111125
23 TRANSFORM_SID_SYSTEMS Instance method Public Method transform SID (classic) input stream into LAW2 format 20111125
24 TRANSFORM_XML_MEASUREMENT Instance method Public Method transform XML input stream into LAW2 format 20120328
25 TRANSFORM_XML_SYSTEMS Instance method Public Method transform XML input stream (systems only) into LAW2 format 20120328
26 UPLOAD_AND_DECODE_MEASPLAN Instance method Public Method Decode a measurement plan 20110818
27 UPLOAD_FILE_BINARY Instance method Private Method Binary file upload 20110707
28 UPLOAD_FILE_VIA_GUI Instance method Public Method Upload a file via (SAP GUI) 20120719
Events
Class CL_LAW2_INPUT_MANAGEMENT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GY_IT_DATA Public See coding 20111125 gy_it_data TYPE STANDARD TABLE OF xstring
Method Signatures

Method CHECK_ENG_PRESEL_ENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MEASPLAN_FILE Call by reference Type reference (TYPE) XSTRING Measurement plan file 20121227
2 Returning RV_ENG_PRESEL_EXISTS Value transfer Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20121227

Method CHECK_ENG_PRESEL_ENTRIES on class CL_LAW2_INPUT_MANAGEMENT has no exception.

Method CHECK_EXT_SYSTEM_ENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MEASPLAN_FILE Call by reference Type reference (TYPE) XSTRING Measurement plan file 20121228
2 Returning RV_EXT_SYSTEMS_EXISTS Value transfer Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20121228

Method CHECK_EXT_SYSTEM_ENTRIES on class CL_LAW2_INPUT_MANAGEMENT has no exception.

Method CHECK_LAW_CONT_ENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MEASPLAN_FILE Call by reference Type reference (TYPE) XSTRING Measurement plan file 20121227
2 Returning RV_LAW_CONT_EXISTS Value transfer Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20121227

Method CHECK_LAW_CONT_ENTRIES on class CL_LAW2_INPUT_MANAGEMENT has no exception.

Method CHECK_NMP_ENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MEASPLAN_FILE Call by reference Type reference (TYPE) XSTRING Measurement plan file 20121227
2 Returning RV_NMP_EXISTS Value transfer Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20121227

Method CHECK_NMP_ENTRIES on class CL_LAW2_INPUT_MANAGEMENT has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_LAW2_INPUT_MANAGEMENT has no parameter.
Method CONSTRUCTOR on class CL_LAW2_INPUT_MANAGEMENT has no exception.

Method CONVERT_PARTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_XML_PARTS Call by reference Object reference (TYPE REF TO) DATA list of parts 20111125

Method CONVERT_PARTS on class CL_LAW2_INPUT_MANAGEMENT has no exception.

Method CONVERT_PERSONAL_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_XML_PERS Call by reference Object reference (TYPE REF TO) DATA personal attributes 20111125
2 Importing IR_XML_POBJ Call by reference Object reference (TYPE REF TO) DATA personalization objects 20111125

Method CONVERT_PERSONAL_ATTRIBUTES on class CL_LAW2_INPUT_MANAGEMENT has no exception.

Method CONVERT_RESULTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_XML_RESULTS Call by reference Object reference (TYPE REF TO) DATA mesurement results 20111125

Method CONVERT_RESULTS on class CL_LAW2_INPUT_MANAGEMENT has no exception.

Method CONVERT_SYSTEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IB_EXT_SYSTEM Call by reference Type reference (TYPE) XFELD ' ' Checkbox 20121228
2 Importing IR_XML_COMPONENTS Call by reference Object reference (TYPE REF TO) DATA list of system (software) components 20111125
3 Importing IR_XML_SYSTEMS Call by reference Object reference (TYPE REF TO) DATA list of systems 20111125
4 Importing IS_XML_PART Call by reference Type reference (TYPE) CL_LAW2_XML_MODEL=>GY_PART part 20120719

Method CONVERT_SYSTEMS on class CL_LAW2_INPUT_MANAGEMENT has no exception.

Method CONVERT_XML_TO_LAW2_MODEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_XMLMODEL Call by reference Object reference (TYPE REF TO) CL_LAW2_XML_MODEL measurement result as XML model object 20111125
2 Returning RS_USMM_MEASUREMENT Value transfer Type reference (TYPE) LAW2_S_USMM_MEASUREMENT LAW2 measurement result 20111125

Method CONVERT_XML_TO_LAW2_MODEL on class CL_LAW2_INPUT_MANAGEMENT has no exception.

Method DECODE_ENGINE_PRESELECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_XML_STREAM Call by reference Type reference (TYPE) XSTRING XML stream 20121227
2 Returning RT_ENG_PRESEL Value transfer Type reference (TYPE) LAW2_T_ENGINE_PRESELECTION Engine preselection 20121227
# Exception Resumable Description Created on
1 CX_LAW2_INPUT_MANAGEMENT Exception class for the LAW 2.0 input management component 20121227

Method DECODE_EXT_ATTR_USERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_XML_STREAM Call by reference Type reference (TYPE) XSTRING XML stream 20121227
2 Returning RT_EXT_ATTR_USERS Value transfer Type reference (TYPE) LAW2_T_EXT_ATTR_USER LAW 2.0 User structure for external attribute mapping 20121227
# Exception Resumable Description Created on
1 CX_LAW2_INPUT_MANAGEMENT Exception class for the LAW 2.0 input management component 20121227

Method DECODE_EXT_SYSTEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FILE Call by reference Type reference (TYPE) XSTRING File 20121227
2 Returning RT_EXT_SYSTEM Value transfer Type reference (TYPE) LAW2_T_EXT_SYSTEM LAW: External system data 20121227
# Exception Resumable Description Created on
1 CX_LAW2_INPUT_MANAGEMENT Exception class for the LAW 2.0 input management component 20121227

Method DECODE_LAWCONT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_XML_STREAM Call by reference Type reference (TYPE) XSTRING XML stream 20121227
2 Returning RT_LAW_CONT Value transfer Type reference (TYPE) LAW2_T_CONT LAW 2.0: User types included in another user typ 20121227
# Exception Resumable Description Created on
1 CX_LAW2_INPUT_MANAGEMENT Exception class for the LAW 2.0 input management component 20121227

Method DECODE_MEASPLAN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FILE Call by reference Type reference (TYPE) XSTRING File 20110818
2 Returning RT_XML_MEASPLAN Value transfer Type reference (TYPE) LAW2_T_XML_MEASPLAN LAW: System Data from the Measurement Plan 20110707
# Exception Resumable Description Created on
1 CX_LAW2_INPUT_MANAGEMENT Exception class for the LAW 2.0 input management component 20110707

Method DECODE_NMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DATASETGUID Call by reference Type reference (TYPE) GUID Globally Unique Identifier 20121227
2 Importing IV_XML_STREAM Call by reference Type reference (TYPE) XSTRING XML stream 20121227
3 Returning RT_NMP Value transfer Type reference (TYPE) LAW2_T_NMP LAW 2.0: Engine self declaration 20121227
# Exception Resumable Description Created on
1 CX_LAW2_INPUT_MANAGEMENT Exception class for the LAW 2.0 input management component 20121227

Method DECODE_USMM_RESULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ZIP Call by reference Object reference (TYPE REF TO) CL_ABAP_ZIP Zip Utility 20120719
2 Importing IT_SYSTEM_MAPPING Call by reference Type reference (TYPE) LAW2_T_SYSTEM_MAPPING LAW 2.0 System mapping: System GUID ->SysNo + System Triple 20110916
3 Importing IV_DATASETGUID Call by reference Type reference (TYPE) GUID Dataset Guid to which the result is added 20110916
4 Importing IV_FILE Call by reference Type reference (TYPE) XSTRING File 20110916
5 Importing IV_FILENAME Call by reference Type reference (TYPE) STRING File name 20110916
6 Returning RT_USMM_RESULT Value transfer Type reference (TYPE) LAW2_T_USMM_MEASUREMENT USMM result data 20110916
# Exception Resumable Description Created on
1 CX_LAW2_INPUT_MANAGEMENT Exception class for the LAW 2.0 input management component 20110916

Method DECODE_USMM_RESULT_SYSTEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_ZIP Call by reference Object reference (TYPE REF TO) CL_ABAP_ZIP Zip Utility 20120719
2 Exporting ET_USMM_SYSTEM Value transfer Type reference (TYPE) LAW2_T_USMM_SYSTEM LAW: System Data 20120719
3 Importing IV_FILE Call by reference Type reference (TYPE) XSTRING File 20110915
4 Importing IV_FILENAME Call by reference Type reference (TYPE) STRING File name 20110915
# Exception Resumable Description Created on
1 CX_LAW2_INPUT_MANAGEMENT Exception class for the LAW 2.0 input management component 20110915

Method FILL_DATASETGUID_SYSTEMGUID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_USMM_RESULT Call by reference Type reference (TYPE) LAW2_T_USMM_MEASUREMENT LAW 2.0 USMM results after XML transformation 20110916
2 Importing IT_SYSTEM_MAPPING Call by reference Type reference (TYPE) LAW2_T_SYSTEM_MAPPING LAW 2.0 System mapping: System GUID ->SysNo + System Triple 20110916
3 Importing IV_DATASETGUID Call by reference Type reference (TYPE) GUID Dataset GUID 20110916

Method FILL_DATASETGUID_SYSTEMGUID on class CL_LAW2_INPUT_MANAGEMENT has no exception.

Method GET_CODEPAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PI_DATA Call by reference Object reference (TYPE REF TO) DATA input datastream; xstream assuemed 20121126
2 Returning PR_CODEPAGE Value transfer Type reference (TYPE) ABAP_ENCOD the recognized codepage 20121126

Method GET_CODEPAGE on class CL_LAW2_INPUT_MANAGEMENT has no exception.

Method GUID_CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_GUID Call by reference Type reference (TYPE) GUID Globally Unique Identifier 20110916

Method GUID_CREATE on class CL_LAW2_INPUT_MANAGEMENT has no exception.

Method TRANSFORM_SID_MEASUREMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DATA Call by reference Type reference (TYPE) GY_IT_DATA input in SID format (# separated) 20111125
2 Importing IV_FILE Call by reference Type reference (TYPE) XSTRING input in SID format (# separated) 20111125
3 Returning RT_USMM_MEASUREMENT Value transfer Type reference (TYPE) LAW2_T_USMM_MEASUREMENT LAW2 data format 20111125
# Exception Resumable Description Created on
1 CX_LAW2_INPUT_MANAGEMENT 20111125

Method TRANSFORM_SID_SYSTEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DATA Call by reference Type reference (TYPE) GY_IT_DATA 20120328
2 Importing IV_FILE Call by reference Type reference (TYPE) XSTRING input in SID format (# separated) 20111125
3 Returning RT_USMM_SYSTEMS Value transfer Type reference (TYPE) LAW2_T_USMM_SYSTEM list of systems 20111125
# Exception Resumable Description Created on
1 CX_LAW2_INPUT_MANAGEMENT Exception class for the LAW 2.0 input management component 20111125

Method TRANSFORM_XML_MEASUREMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FILE Call by reference Type reference (TYPE) XSTRING input in SID format (# separated) 20120328
2 Returning RT_USMM_MEASUREMENT Value transfer Type reference (TYPE) LAW2_T_USMM_MEASUREMENT LAW2 data format 20120328
# Exception Resumable Description Created on
1 CX_LAW2_INPUT_MANAGEMENT 20120328

Method TRANSFORM_XML_SYSTEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DATA Value transfer Type reference (TYPE) GY_IT_DATA 20120328
2 Importing IV_FILE Value transfer Type reference (TYPE) XSTRING input in SID format (# separated) 20120328
3 Returning RT_USMM_SYSTEMS Value transfer Type reference (TYPE) LAW2_T_USMM_SYSTEM list of systems 20120328
# Exception Resumable Description Created on
1 CX_LAW2_INPUT_MANAGEMENT Exception class for the LAW 2.0 input management component 20120328

Method UPLOAD_AND_DECODE_MEASPLAN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FILENAME Call by reference Type reference (TYPE) STRING 20110818
2 Returning RT_XML_MEASPLAN Value transfer Type reference (TYPE) LAW2_T_XML_MEASPLAN LAW: System Data from the Measurement Plan 20110818
# Exception Resumable Description Created on
1 CX_LAW2_INPUT_MANAGEMENT Exception class for the LAW 2.0 input management component 20110818

Method UPLOAD_FILE_BINARY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_STRING Call by reference Type reference (TYPE) STRING File serialized into an string 20110707
2 Exporting EV_XSTRING Call by reference Type reference (TYPE) XSTRING File serialized into an X string 20110707
3 Importing IV_FILENAME Call by reference Type reference (TYPE) STRING Filename 20110707
# Exception Resumable Description Created on
1 CX_LAW2_INPUT_MANAGEMENT Exception Class for CL_LAW_DATA_TRANSFER 20110707

Method UPLOAD_FILE_VIA_GUI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FILENAME Call by reference Type reference (TYPE) STRING 20120719
2 Returning RV_FILE Value transfer Type reference (TYPE) XSTRING 20120719
# Exception Resumable Description Created on
1 CX_LAW2_INPUT_MANAGEMENT Exception class for the LAW 2.0 input management component 20120719
History
Last changed by/on SAP  20140121 
SAP Release Created in 732