SAP Reports / Programs | Financial Accounting | Special Purpose Ledger | Sets(FI-SL-SL-MD-SE) SAP FI

MGSBMI92 SAP ABAP INCLUDE - documentation and ABAP source code







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


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


INCLUDES used within this REPORT MGSBMI92

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:

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.



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