SAP ABAP Class CL_MSS_DOWNLOAD (Collect monitor data and download it to local file)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DB-MSS (Application Component) Microsoft SQL Server
     STUN_MSS (Package) Package for new SQL Server monitoring objects
Properties
Class CL_MSS_DOWNLOAD  
Short Description Collect monitor data and download it to local file    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package STUN_MSS   Package for new SQL Server monitoring objects 
Created 20090916   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_MSS_DOWNLOAD Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 CL_MSS_PSNAP Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 CL_MSS_RAT Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_MSS_DOWNLOAD has no interface implemented.
Friends
Class CL_MSS_DOWNLOAD has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CURRENT_CON Instance attribute Private Type reference (TYPE) MSSCONNDATA 20110318
2 FULLPATH Instance attribute Public Type reference (TYPE) STRING 20100209
3 NAV_REF Instance attribute Private Object reference (TYPE REF TO) CL_DB6_TREE_NAVIGATOR 20120626
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_DOCUMENT Instance method Private Method Read the XML fragments from the database and combine them 20120623
2 CHOOSE_FILENAME Instance method Private Method Choose name of a new file or one that will be overwritten 20100209
3 CONSTRUCTOR Instance method Public Constructor New download object 20120626
4 DELETE_PACKAGE Static method Public Method Delete previously saved package 20120628
5 DOWNLOAD_PACKAGE Instance method Public Method Download previously saved package 20120627
6 DOWNLOAD_RAT_SHEETS Instance method Public Method Download and/or save all or selected set of sheets 20101203
7 PREP_SHEETLIST Instance method Private Method Convert the SHEETS parameter into CL_MSS_PPACK format 20120623
8 SAVE_COMPLETE_XML Instance method Private Method Save XML into a file and open it 20090916
Events
Class CL_MSS_DOWNLOAD has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 SHEET_NAME Public See coding 20101206 sheet_name(128) type c
2 SHEET_NAME_T Public See coding 20101206 sheet_name_t type standard table of sheet_name
Method Signatures

Method BUILD_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PACK_ID Call by reference Type reference (TYPE) MSSPPACK-PACK_ID UUID in character form 20120623
2 Exporting XMLSTRING Call by reference Type reference (TYPE) XSTRING XML document 20120623

Method BUILD_DOCUMENT on class CL_MSS_DOWNLOAD has no exception.

Method CHOOSE_FILENAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IDSTR Value transfer Type reference (TYPE) STRING 20100209

Method CHOOSE_FILENAME on class CL_MSS_DOWNLOAD has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CURRCON Call by reference Type reference (TYPE) MSSCONNDATA MSSQL multi-connect : Complete connection information 20120626
2 Importing NAVIGATOR Call by reference Object reference (TYPE REF TO) CL_DB6_TREE_NAVIGATOR CL_DB6_TREE_NAVIGATOR 20120626

Method CONSTRUCTOR on class CL_MSS_DOWNLOAD has no exception.

Method DELETE_PACKAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PACK_ID Call by reference Type reference (TYPE) MSSPPACK-PACK_ID 20120628

Method DELETE_PACKAGE on class CL_MSS_DOWNLOAD has no exception.

Method DOWNLOAD_PACKAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IDSTR Call by reference Type reference (TYPE) STRING Id, will become part of the filename. 20120627
2 Importing PACK_ID Call by reference Type reference (TYPE) MSSPPACK-PACK_ID 20120627
# Exception Resumable Description Created on
1 CX_SMSS_TOOLS MSSQL exception class 20120629

Method DOWNLOAD_RAT_SHEETS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DO_DOWNLOAD Call by reference Type reference (TYPE) C 'X' Download flag 20120627
2 Importing DO_SAVE Call by reference Type reference (TYPE) C Save flag 20120627
3 Importing SHEETS Call by reference Type reference (TYPE) SHEET_NAME_T List of sheets to download, all if not specified 20101206
4 Importing SHORTDESC Call by reference Type reference (TYPE) MSSPPACK-STEXT Short description for save 20120627
# Exception Resumable Description Created on
1 CX_SMSS_TOOLS MSSQL exception class 20101203

Method PREP_SHEETLIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing SHEETS Call by reference Type reference (TYPE) SHEET_NAME_T List of sheet names 20120623
2 Exporting SHEET_LIST Call by reference Type reference (TYPE) CL_MSS_PSNAP=>ARSH_TYPE_30 Basic sap_sheets table type 20120623
# Exception Resumable Description Created on
1 CX_SMSS_TOOLS MSSQL exception class 20120623

Method SAVE_COMPLETE_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IDSTR Value transfer Type reference (TYPE) STRING 20100115
2 Importing XML_DATA Call by reference Type reference (TYPE) XSTRING 20090916
# Exception Resumable Description Created on
1 CX_SMSS_TOOLS MSSQL exception class 20110422
History
Last changed by/on SAP  20130531 
SAP Release Created in 730