SAP Reports / Programs | Basis Components | Use Subcomponents | Monitoring(BC-CCM-MON) SAP BC

SQLR1E01 SAP ABAP INCLUDE - documentation and ABAP source code







SQLR1E01 is a standard ABAP INCLUDE 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 SQLR1E01 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 SQLR1E01. "Basic submit
SUBMIT SQLR1E01 AND RETURN. "Return to original report after report execution complete
SUBMIT SQLR1E01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT SQLR1E01

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:

NAME_OF_CURRENT_TRACE_FILE * call function 'NAME_OF_CURRENT_TRACE_FILE' * IMPORTING * pathname = g_file_name.

SQLR_GET_SQLTRACE CALL FUNCTION 'SQLR_GET_SQLTRACE' EXPORTING * fb_file_name = g_filena FB_USER = G_USER FB_STARTDATE = G_STDATE FB_STARTTIME = G_STTIME FB_ENDDATE = G_STDATE FB_ENDTIME = G_ENTIME IMPORTING FB_INSTANCE_NAME = G_INSTANCE_NAME FB_SYSID = G_SYSID FB_HOSTNAME = G_HOSTNAME TABLES * fb_sqlrtables = g_tables FB_SQLTRACE_FIX = G_TRACETAB EXCEPTIONS TRACE_FILE_NOT_FOUND = 1.

SQLR_GET_STATISTIC_SETS CALL FUNCTION 'SQLR_GET_STATISTIC_SETS' EXPORTING FB_USER = G_USER FB_STARTDATE = G_STDATE FB_STARTTIME = G_STTIME FB_ENDDATE = G_STDATE FB_ENDTIME = G_ENTIME IMPORTING FB_STATISTIC_TYPE = G_STATISTIC_TYPE TABLES *** FB_SQLTRACE_FIX = G_TRACETAB *** FB_STATISTIC_SETS = G_STATISTIC_SETS EXCEPTIONS NO_STATISTIC_SETS_FOUND = 1 INTERNAL_ERROR = 2 OTHERS = 3.

SQLR_PREPARE_SQLTRACE_KOMP CALL FUNCTION 'SQLR_PREPARE_SQLTRACE_KOMP' EXPORTING FB_CLIENT = G_CLIENT TABLES FB_TRACETAB = G_TRACETAB FB_STATISTIC_SETS = G_STATISTIC_SETS FB_MIXEDTAB = G_MIXEDTAB EXCEPTIONS TRACETAB_NOT_FOUND = 1 STATISTICTAB_NOT_FOUND = 2 OTHERS = 3.

SQLR_PREPARE_SQLTRACE CALL FUNCTION 'SQLR_PREPARE_SQLTRACE' EXPORTING FB_CLIENT = G_CLIENT TABLES FB_TRACETAB = G_TRACETAB FB_STATISTIC_SETS = G_STATISTIC_SETS FB_MIXEDTAB = G_MIXEDTAB EXCEPTIONS TRACETAB_NOT_FOUND = 1 STATISTICTAB_NOT_FOUND = 2 OTHERS = 3.

SWO_POPUP_TO_CONFIRM CALL FUNCTION 'SWO_POPUP_TO_CONFIRM' EXPORTING TEXT = G_TEXTLINE1 TITLE = G_TEXTLINE2 IMPORTING ANSWER = G_ANSWER EXCEPTIONS OTHERS = 1.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' * importing EXPORTING FILENAME = G_FILE * filetype = g_file_type * APPEND = SPACE * WRITE_FIELD_SEPARATOR = SPACE * HEADER = '00' TABLES DATA_TAB = G_SQLRCUST_ITAB EXCEPTIONS FILE_WRITE_ERROR = 1 NO_BATCH = 2 GUI_REFUSE_FILETRANSFER = 3 INVALID_TYPE = 4 NO_AUTHORITY = 5 UNKNOWN_ERROR = 6 HEADER_NOT_ALLOWED = 7 SEPARATOR_NOT_ALLOWED = 8 FILESIZE_NOT_ALLOWED = 9 HEADER_TOO_LONG = 10 DP_ERROR_CREATE = 11 DP_ERROR_SEND = 12 DP_ERROR_WRITE = 13 UNKNOWN_DP_ERROR = 14 ACCESS_DENIED = 15 DP_OUT_OF_MEMORY = 16 DISK_FULL = 17 DP_TIMEOUT = 18.

SWO_POPUP_TO_CONFIRM CALL FUNCTION 'SWO_POPUP_TO_CONFIRM' EXPORTING TEXT = G_TEXTLINE1 TITLE = G_TEXTLINE2 IMPORTING ANSWER = G_ANSWER EXCEPTIONS OTHERS = 1.

DOWNLOAD * call function 'DOWNLOAD' * importing * act_filename = g_file_name * act_filetype = g_file_type * cancel = g_cancel * tables ** data_tab = g_sqlrcust_alt_itab * data_tab = g_sqlrcust_itab * exceptions * invalid_filesize = 1 * invalid_table_width = 2 * invalid_type = 3 * no_batch = 4 * unknown_error = 5 * others = 6.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' * importing EXPORTING FILENAME = G_FILE * filetype = g_file_type * APPEND = SPACE * WRITE_FIELD_SEPARATOR = SPACE * HEADER = '00' TABLES DATA_TAB = G_SQLRCUST_ITAB EXCEPTIONS FILE_WRITE_ERROR = 1 NO_BATCH = 2 GUI_REFUSE_FILETRANSFER = 3 INVALID_TYPE = 4 NO_AUTHORITY = 5 UNKNOWN_ERROR = 6 HEADER_NOT_ALLOWED = 7 SEPARATOR_NOT_ALLOWED = 8 FILESIZE_NOT_ALLOWED = 9 HEADER_TOO_LONG = 10 DP_ERROR_CREATE = 11 DP_ERROR_SEND = 12 DP_ERROR_WRITE = 13 UNKNOWN_DP_ERROR = 14 ACCESS_DENIED = 15 DP_OUT_OF_MEMORY = 16 DISK_FULL = 17 DP_TIMEOUT = 18.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING FILENAME = G_FILE * filetype = g_file_type * HAS_FIELD_SEPARATOR * HEADER_LENGTH TABLES * data_tab = g_sqlrcust_alt_itab DATA_TAB = G_SQLRCUST_ITAB EXCEPTIONS FILE_OPEN_ERROR = 1 FILE_READ_ERROR = 2 NO_BATCH = 3 GUI_REFUSE_FILETRANSFER = 4 INVALID_TYPE = 5 NO_AUTHORITY = 6 UNKNOWN_ERROR = 7 BAD_DATA_FORMAT = 8 HEADER_NOT_ALLOWED = 9 SEPARATOR_NOT_ALLOWED = 10 HEADER_TOO_LONG = 11 UNKNOWN_DP_ERROR = 12 ACCESS_DENIED = 13 DP_OUT_OF_MEMORY = 14 DISK_FULL = 15 DP_TIMEOUT = 16.

SWO_POPUP_TO_CONFIRM CALL FUNCTION 'SWO_POPUP_TO_CONFIRM' EXPORTING TEXT = G_TEXTLINE1 TITLE = G_TEXTLINE2 IMPORTING ANSWER = G_ANSWER EXCEPTIONS OTHERS = 1.

SQLR_PREPARE_SQLTRACE CALL FUNCTION 'SQLR_PREPARE_SQLTRACE' EXPORTING FB_CLIENT = G_CLIENT TABLES FB_TRACETAB = G_TRACETAB FB_STATISTIC_SETS = G_STATISTIC_SETS FB_MIXEDTAB = G_MIXEDTAB EXCEPTIONS TRACETAB_NOT_FOUND = 1 STATISTICTAB_NOT_FOUND = 2 OTHERS = 3.

SQLR_SUMMARIZE_TRACE CALL FUNCTION 'SQLR_SUMMARIZE_TRACE' EXPORTING FB_REST_TIME = G_REST_TIME IMPORTING FB_REST_TIME = G_REST_TIME TABLES FB_MIXEDTAB = G_FADEDTAB FB_SUMMTAB = G_SUMMTAB FB_SUMMTAB_H = G_SUMMTAB_H EXCEPTIONS MIXEDTAB_NOT_FOUND = 1 OTHERS = 2.

SQLR_SUMMARIZE_TRACE CALL FUNCTION 'SQLR_SUMMARIZE_TRACE' EXPORTING FB_REST_TIME = G_REST_TIME IMPORTING FB_REST_TIME = G_REST_TIME TABLES FB_MIXEDTAB = G_FADEDTAB FB_SUMMTAB = G_SUMMTAB FB_SUMMTAB_H = G_SUMMTAB_H EXCEPTIONS MIXEDTAB_NOT_FOUND = 1 OTHERS = 2.

SQLR_PREPARE_SQLTRACE CALL FUNCTION 'SQLR_PREPARE_SQLTRACE' EXPORTING FB_CLIENT = G_CLIENT TABLES FB_TRACETAB = G_TRACETAB FB_STATISTIC_SETS = G_STATISTIC_SETS FB_MIXEDTAB = G_MIXEDTAB EXCEPTIONS TRACETAB_NOT_FOUND = 1 STATISTICTAB_NOT_FOUND = 2 OTHERS = 3.

SWO_POPUP_TO_CONFIRM CALL FUNCTION 'SWO_POPUP_TO_CONFIRM' EXPORTING TEXT = G_TEXTLINE1 TITLE = G_TEXTLINE2 IMPORTING ANSWER = G_ANSWER EXCEPTIONS OTHERS = 1.

SWO_POPUP_TO_CONFIRM CALL FUNCTION 'SWO_POPUP_TO_CONFIRM' EXPORTING TEXT = G_TEXTLINE1 TITLE = G_TEXTLINE2 IMPORTING ANSWER = G_ANSWER EXCEPTIONS OTHERS = 1.



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 SQLR1E01 or its description.