RGUSTU10 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program restructures the information about usage for all sets and variables if you can no longer use this information because of program errors or manual interventions in the internal data structures...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RGUSTU10 into the relevant SAP transactions such as SE38 or SE80
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: X_DSEUSE = Key figures in sets
Selection Text: X_REPORT = Sets and variables in reports
Selection Text: X_T809A = Variables in sets
Selection Text: X_T809I = Variables in variable formulas
Title: Restructure of Set and Variable Usage
Text Symbol: 007 = Log for sets and variables in reports:
Text Symbol: 011 = Deleted Records:
Text Symbol: 012 = Inserted Records:
Text Symbol: 018 = Log for variables in sets:
Text Symbol: 019 = Log for key figures in sets:
Text Symbol: 020 = Log for variables in formula variables:
INCLUDE LGSACD10.
No SAP DATABASE tables are accessed within this REPORT code!
G_VARIABLE_CROSSREF_CREATE CALL FUNCTION 'G_VARIABLE_CROSSREF_CREATE' EXPORTING client = p_clnt formula = it802g-fkt variable = it802g-global IMPORTING ins_count_t809i = ins_count EXCEPTIONS OTHERS = 0.
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = gs_log IMPORTING e_log_handle = g_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.
BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING i_log_handle = g_log_handle i_msgty = lc_msgty i_text = uv_text1 EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.
BAL_DSP_PROFILE_SINGLE_LOG_GET CALL FUNCTION 'BAL_DSP_PROFILE_SINGLE_LOG_GET' IMPORTING e_s_display_profile = xs_display_profile EXCEPTIONS OTHERS = 1.
BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = is_display_profile EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.
BAL_DSP_PROFILE_STANDARD_GET CALL FUNCTION 'BAL_DSP_PROFILE_STANDARD_GET' IMPORTING e_s_display_profile = ls_profile.
BAL_DSP_LOG_PRINT CALL FUNCTION 'BAL_DSP_LOG_PRINT' EXPORTING i_s_list_append = gc_save i_s_display_profile = ls_profile i_t_log_handle = gt_log_handle EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.