SAP Reports / Programs

RSDBRUNT SAP ABAP Report - System Program







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


Text pool values


Title: System Program
Text Symbol: 001 = Options
Text Symbol: 002 = Delete line
Text Symbol: 003 = Delete selection
Text Symbol: 004 = Show text field
Text Symbol: 100 = Report
Text Symbol: 101 = Variant
Text Symbol: 216 = to
Text Symbol: 280 = Multiple selection
Text Symbol: 281 = Multiple Selection (Active)
Text Symbol: Y00 = Report


INCLUDES used within this REPORT RSDBRUNT

INCLUDE RSDBCOM2.
INCLUDE RSDBCOM4.
INCLUDE RSDBCSTY.
INCLUDE RSDBCOPT.
INCLUDE RSDBC1XX.


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:

RS_SET_SELECT_OPTIONS_OPTIONS CALL FUNCTION 'RS_SET_SELECT_OPTIONS_OPTIONS' EXPORTING SELCNAME = P_DESC-NAME SELCTEXT = P_DESC-TEXT SIGN = P_SIGN OPTION = P_OPTION LOW = L_LOW HIGH = L_HIGH OLENGTH = L_SELOPTS-SCREEN_LOW-LENGTH OLENGTH_HIGH = L_SELOPTS-SCREEN_HIGH-LENGTH OPTION_SET = OPTION_SET X_OPTIONS = L_SELOPTS-X_MAIN_OPTIONS SIGNS_RESTRICTION = L_SELOPTS-SG_MAIN JUST_DISPLAY = JUST_DISPLAY FORCE_LIST = L_FORCE_POPUP IMPORTING SIGN = P_SIGN OPTION = P_OPTION EXCEPTIONS NOT_EXECUTED = 4 DELETE_LINE = 8.

LDB_CONVERT_LDBNAME_2_DBPROG CALL FUNCTION 'LDB_CONVERT_LDBNAME_2_DBPROG' EXPORTING LDB_NAME = L_LDB FLAG_EXISTENCE_CHECK = SPACE IMPORTING DB_NAME = L_LDBPG EXCEPTIONS OTHERS = 1.

RS_VARIANT_FOR_ONE_SCREEN CALL FUNCTION 'RS_VARIANT_FOR_ONE_SCREEN' EXPORTING PROGRAM = SCREEN_PROGS-VARIPROG DYNNR = P_DYNNR IMPORTING VARIANT_EXISTS = CURRENT_SCREEN-ANY_VARIANTS EXCEPTIONS OTHERS = 1.

SELTAB_2_SELOPTS call function 'SELTAB_2_SELOPTS' exporting program = sy-cprog tables seltab = l_seltab p_sscr = %_sscr exceptions others = 0.

SELTAB_2_SELOPTS_255 call function 'SELTAB_2_SELOPTS_255' exporting program = sy-cprog tables seltab = l_seltab_l p_sscr = %_sscr exceptions others = 0.

RS_VARIANT_FOR_ONE_SCREEN CALL FUNCTION 'RS_VARIANT_FOR_ONE_SCREEN' EXPORTING PROGRAM = %_RKEY-REPORT DYNNR = SY-DYNNR IMPORTING VARIANT_EXISTS = CURRENT_SCREEN-ANY_VARIANTS EXCEPTIONS OTHERS = 1.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING NAME = 'ICON_ENTER_MORE' TEXT = ' ' INFO = L_QUICK IMPORTING RESULT = VALU_ICONS-GREY EXCEPTIONS ICON_NOT_FOUND = 01 OUTPUTFIELD_TOO_SHORT = 02.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING NAME = 'ICON_DISPLAY_MORE' TEXT = ' ' INFO = L_QUICK IMPORTING RESULT = VALU_ICONS-GREEN EXCEPTIONS ICON_NOT_FOUND = 01 OUTPUTFIELD_TOO_SHORT = 02.

PRINT_REPORT CALL FUNCTION 'PRINT_REPORT' EXPORTING REPORT = SY-CPROG IMPORTING STATUS = -UCOMM.

RS_HELP_SELSCREEN CALL FUNCTION 'RS_HELP_SELSCREEN' EXPORTING SCREEN = '1000' SITUATION = SCREEN_PROGS-SUBMODE EXCEPTIONS ERROR_MESSAGE = 8 OTHERS = 8.

DSYS_SHOW_FOR_F1HELP CALL FUNCTION 'DSYS_SHOW_FOR_F1HELP' EXPORTING DOKCLASS = 'RE' DOKNAME = CURRENT_SCR-PROGRAM SHORT_TEXT = 'X' EXCEPTIONS OTHERS = 1.

RS_DS_INT_AS_DB_SELECTION CALL FUNCTION 'RS_DS_INT_AS_DB_SELECTION' EXPORTING SELECTION_ID = DYNS-SELID PROGRAM = SY-CPROG IMPORTING WHERE_CLAUSES = DYN_SEL-CLAUSES FIELD_RANGES = DYN_SEL-TRANGE TABLES P_SSCR = %_SSCR EXCEPTIONS OTHERS = 01.

RS_COMPLEX_SELECTION CALL FUNCTION 'RS_COMPLEX_SELECTION' EXPORTING P_SSCR = L_SELOPTS-SSCR P_REPORT = P_PROG P_SCREEN_LOW = L_SELOPTS-SCREEN_LOW P_SCREEN_HIGH = L_SELOPTS-SCREEN_HIGH P_SSCR_INDEX = L_SELOPTS-SSCRIX P_JUST_DISPLAY = L_JUST_DISPLAY P_NO_INT_CHK = L_NOINT_CHECK P_CONVERT = OPTIONS = L_SELOPTS-X_ADDY_OPTIONS SIGNS_RESTRICTION = L_SELOPTS-SG_ADDY P_FREE_SELECTIONS = DYNS-SELSCREEN_FLAG EXCEPTIONS CANCELLED = 1 OTHERS = 1.

RSAU_WRITE_SUBMIT_AUDIT_LOG CALL FUNCTION 'RSAU_WRITE_SUBMIT_AUDIT_LOG' EXPORTING PROGNAME = SY-CPROG SUBMIT_OK = 'X' EXCEPTIONS OTHERS = 1.

RS_ABAPSUBMIT_AUTH_INTERN CALL FUNCTION 'RS_ABAPSUBMIT_AUTH_INTERN' EXPORTING PROGNAME = SY-CPROG SECU = P_SECU SSET = P_SSET VARIANT = P_VARIANT EXCEPTIONS NO_SUBMIT_AUTH = 1 CUSTOMER_EXCEPTION = 2 OTHERS = 10.

RSAU_WRITE_SUBMIT_AUDIT_LOG CALL FUNCTION 'RSAU_WRITE_SUBMIT_AUDIT_LOG' EXPORTING PROGNAME = SY-CPROG SUBMIT_OK = 'X' EXCEPTIONS OTHERS = 1.

RSAU_WRITE_SUBMIT_AUDIT_LOG CALL FUNCTION 'RSAU_WRITE_SUBMIT_AUDIT_LOG' EXPORTING PROGNAME = SY-CPROG NO_SUBMIT_AUTH = 'X' EXCEPTIONS OTHERS = 1.

RSAU_WRITE_SUBMIT_AUDIT_LOG CALL FUNCTION 'RSAU_WRITE_SUBMIT_AUDIT_LOG' EXPORTING PROGNAME = SY-CPROG CUSTOMER_EXCEPTION = 'X' EXCEPTIONS OTHERS = 1.

DOKU_OBJECT_EXIST





CALL FUNCTION 'DOKU_OBJECT_EXIST' EXPORTING DOKCLASS = 'RE' * DOKLANGU = SY-LANGU DOKNAME = CURRENT_SCREEN-PROGRAM EXCEPTIONS OTHERS = 1.

DOKU_OBJECT_EXIST CALL FUNCTION 'DOKU_OBJECT_EXIST' EXPORTING DOKCLASS = 'RE' DOKLANGU = fallback_langu DOKNAME = CURRENT_SCREEN-PROGRAM EXCEPTIONS OTHERS = 1.

SPOOL_STATISTIC CALL FUNCTION 'SPOOL_STATISTIC'.

COVER_PAGE CALL FUNCTION 'COVER_PAGE'.

PRINT_REPORT CALL FUNCTION 'PRINT_REPORT' EXPORTING REPORT = SY-CPROG NO_DIALOG = NO_DIALOG.



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