MGSBMI92 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 MGSBMI92 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog "Current program dynumb = sy-dynnr "Current screen TABLES dynpfields = dynpfields "Relevant screen fields EXCEPTIONS invalid_abapworkarea = 01 invalid_dynprofield = 02 invalid_dynproname = 03 invalid_dynpronummer = 04 invalid_request = 05 no_fielddescription = 06 undefind_error = 07 OTHERS = 999.
G_SELECT_VARIABLE CALL FUNCTION 'G_SELECT_VARIABLE' EXPORTING field_mask = rgsbs-field start_column = 4 start_row = 4 table = rgsbs-table variable_mask = varname_aux extended_display = 'X' IMPORTING variable = varname_aux EXCEPTIONS no_variables = 1 no_variable_picked = 2 OTHERS = 999.
DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = dynpfields EXCEPTIONS invalid_abapworkarea = 01 invalid_dynprofield = 02 invalid_dynproname = 03 invalid_dynpronummer = 04 invalid_request = 05 no_fielddescription = 06 undefind_error = 07 OTHERS = 999.
G_VARIABLE_CREATION CALL FUNCTION 'G_VARIABLE_CREATION' EXPORTING variable = varname_aux table = rgsbs-table field = rgsbs-field types = 'VF'.
G_SELECT_VARIABLE CALL FUNCTION 'G_SELECT_VARIABLE' EXPORTING start_column = 4 start_row = 4 variable_mask = varname_aux table = rgsbs-table field_mask = rgsbs-field IMPORTING variable = varname_aux EXCEPTIONS no_variable_picked = 5.
SETGLOBAL_AUTHORITY CALL FUNCTION 'SETGLOBAL_AUTHORITY' EXPORTING action = 'UD ' setglobal = varname_aux.
G_VARIABLE_MAINTENANCE CALL FUNCTION 'G_VARIABLE_MAINTENANCE' EXPORTING function = 'DISPLAY' variable = varname_aux.
G_VARIABLE_MAINTENANCE CALL FUNCTION 'G_VARIABLE_MAINTENANCE' EXPORTING function = 'MODIFY' variable = varname_aux EXCEPTIONS no_authority = 1.
G_VARIABLE_MAINTENANCE CALL FUNCTION 'G_VARIABLE_MAINTENANCE' EXPORTING function = 'DISPLAY' variable = varname_aux.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.