SAP Reports / Programs

RSAU_SQL_SAVE_FLAGS SAP ABAP Report - SecAudit: Save Audit Indicators to Nametab on Front-End PC







RSAU_SQL_SAVE_FLAGS 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 RSAU_SQL_SAVE_FLAGS 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 RSAU_SQL_SAVE_FLAGS. "Basic submit
SUBMIT RSAU_SQL_SAVE_FLAGS AND RETURN. "Return to original report after report execution complete
SUBMIT RSAU_SQL_SAVE_FLAGS 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: FILENAME = File Name on the Front-End PC
Title: SecAudit: Save Audit Indicators to Nametab on Front-End PC
Text Symbol: 001 = Error Reading From NAMETAB
Text Symbol: 002 = & Nametab Entries Read Without Errors
Text Symbol: 003 = Errors in & Nametab Entries
Text Symbol: 018 = Enter a Different File Name
Text Symbol: 019 = Saving of Audit Indicators
Text Symbol: 060 = Reading Indicators From NAMETAB
Text Symbol: 061 = Writing to File on the Front End
Text Symbol: 070 = Enter the Name of the File to Create with
Text Symbol: 071 = the Nametab Indicators for the SQL Audit on the Front-End PC.
Text Symbol: 100 = Confirmation Prompt
Text Symbol: 101 = File & already exists. Continue anyway?
Text Symbol: 102 = Error when checking the file name. Continue anyway?
Text Symbol: 103 = File & created
Text Symbol: 104 = Error during download (&)
Text Symbol: 105 = There is no nametab data
Text Symbol: 110 = Event
Text Symbol: 111 = Type of Event
Text Symbol: 112 = Entry
Text Symbol: 113 = Log Entry Short Text


INCLUDES used within this REPORT RSAU_SQL_SAVE_FLAGS

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:

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-060.

DD_NTAB_APPFLAG CALL FUNCTION 'DD_NTAB_APPFLAG' EXPORTING tabname = -tabname xfield_in = ld_xfield action = cs_ctrl-action IMPORTING xfield_out = cs_ctrl-xfield rc = ld_rc EXCEPTIONS parameter_missing = 1 not_found = 2 wrong_parameter = 3 OTHERS = 4.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-061.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = cs_ctrl-f_name filetype = 'ASC' write_field_separator = 'X' TABLES data_tab = it_flags 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 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 OTHERS = 22.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'SM20' EXCEPTIONS ok = 1 not_ok = 2 OTHERS = 3.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = ld_tit text_question = ld_txt default_button = '2' display_cancel_button = '' IMPORTING answer = ld_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = ld_tit text_question = ld_txt default_button = '2' display_cancel_button = '' IMPORTING answer = ld_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.



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