SAP Reports / Programs

SWLT_SQLM_CREATE_SNAPSHOT SAP ABAP Report - Create Snapshot of SQL Monitor Data (Remote or Local)







SWLT_SQLM_CREATE_SNAPSHOT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter SWLT_SQLM_CREATE_SNAPSHOT into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT SWLT_SQLM_CREATE_SNAPSHOT. "Basic submit
SUBMIT SWLT_SQLM_CREATE_SNAPSHOT AND RETURN. "Return to original report after report execution complete
SUBMIT SWLT_SQLM_CREATE_SNAPSHOT VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: SO_PACK = Package
Selection Text: SO_OBJTP = Object Type
Selection Text: SO_OBJNM = Object Name
Selection Text: P_TMTIME = Import Top n Execution Times
Selection Text: P_TMNONE = Import All Results
Selection Text: P_TMEXEC = Import Top n Executions
Selection Text: P_S_FIL = Create Snapshot by File-Import
Selection Text: P_S_DES = Create Snapshot by RFC/Local
Selection Text: P_S_DEL = Delete Snapshots
Selection Text: P_OLD_TN = Delete Data Older Than...Days
Selection Text: P_MD_USE = Use Metadata from File
Selection Text: P_MD_OW = Overwrite Metadata (Expensive)
Selection Text: P_MAXREC = Top n Limit Count
Selection Text: P_FILE = Selected File
Selection Text: P_DEST = RFC Destination
Title: Create Snapshot of SQL Monitor Data (Remote or Local)
Text Symbol: VER = Cannot import data: version is not supported
Text Symbol: UCA = Cancelled by user
Text Symbol: TOP = Top n Statement Selection
Text Symbol: SYE = Yes
Text Symbol: STI = Duplicate Snapshots Detected
Text Symbol: SSU = Snapshot successfully created
Text Symbol: SQU = This snapshot already exists in the system. Go on and override?
Text Symbol: SMG = Manage Snapshots
Text Symbol: SCA = Cancel
Text Symbol: S02 = Please enter a smaller number of days
Text Symbol: S01 = Select File
Text Symbol: OBS = Object Set
Text Symbol: NZP = Non-zip file or broken file selected
Text Symbol: IMP = Snapshot successfully imported. Origin system &1, exported on &2 &3
Text Symbol: FIL = File
Text Symbol: END = Enter valid number of days
Text Symbol: EMP = Cannot import data: SQL Monitor data is empty
Text Symbol: DET = Details
Text Symbol: CED = Import cancelled


INCLUDES used within this REPORT SWLT_SQLM_CREATE_SNAPSHOT

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-sti text_question = text-squ text_button_1 = text-sye icon_button_1 = 'ICON_OKAY' text_button_2 = text-sca icon_button_2 = 'ICON_CANCEL' default_button = '2' display_cancel_button = '' IMPORTING answer = popup_answer.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_OPEN_FOLDER' text = text-s01 add_stdinf = '' IMPORTING result = l_new_snapshot_icon.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name SWLT_SQLM_CREATE_SNAPSHOT or its description.