RHDBST40 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 RHDBST40 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
RE_RHVSTA30 - Database Statistics: Infotypes
RE_RHDBST40 - Database Statistics: Infotypes
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.
Selection Text: PPLVAR = List by plan version
Selection Text: POCX = Output as control
Selection Text: PINFTY = List According to Infotype
Title: Database Statistics: Use of All Infotypes
Text Symbol: T02 = Workflow delivery
Text Symbol: T01 = Transport plan version
Text Symbol: P01 = Format
Text Symbol: 005 = System error
Text Symbol: 004 = (No text exists)
Text Symbol: 003 = KB memory used
Text Symbol: 002 = Infotype
Text Symbol: 001 = Plan version
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = ddictabname all_types = ' ' IMPORTING x030l_wa = tab_desc TABLES dfies_tab = idfies_tab EXCEPTIONS not_found = 1 OTHERS = 2.
RS_TREE_CONSTRUCT CALL FUNCTION 'RS_TREE_CONSTRUCT' TABLES nodetab = node_tab EXCEPTIONS tree_failure = 1 id_not_found = 2 wrong_relationship = 3 OTHERS = 4.
RS_TREE_EXPAND CALL FUNCTION 'RS_TREE_EXPAND' EXPORTING node_id = node_tab-id all = 'X' * LIST_SCROLL = * DEPTH = 1 EXCEPTIONS OTHERS = 0.
RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING callback_program = repid callback_user_command = 'ALL_EVENT_UCOM' callback_color_display = 'ALL_EVENT_MOREINFO' callback_gui_status = 'SET_STATUS' status = 'OWN' use_control = stree_use_list EXCEPTIONS OTHERS = 1.
RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING callback_program = repid callback_user_command = 'ALL_EVENT_UCOM' callback_color_display = 'ALL_EVENT_MOREINFO' callback_gui_status = 'SET_STATUS' status = 'OWN' use_control = stree_use_control EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.