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

MGSGMI10 SAP ABAP INCLUDE - documentation and ABAP source code







MGSGMI10 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 MGSGMI10 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 MGSGMI10. "Basic submit
SUBMIT MGSGMI10 AND RETURN. "Return to original report after report execution complete
SUBMIT MGSGMI10 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 MGSGMI10

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:

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = text-006 textline1 = text-001 textline2 = text-002 "okay to save changes? defaultoption = 'J' IMPORTING answer = answer.

G_AUTHORITY_GROUPS_MAINTAIN CALL FUNCTION 'G_AUTHORITY_GROUPS_MAINTAIN' EXPORTING i_authority_object = authority_object.

G_LEAVE_TO_REPORT_WRITER CALL FUNCTION 'G_LEAVE_TO_REPORT_WRITER' EXPORTING mode = '0' ok_code = ok-code EXCEPTIONS no_function_selected = 4.

G_LEAVE_TO_REPORT_WRITER CALL FUNCTION 'G_LEAVE_TO_REPORT_WRITER' EXPORTING mode = '1' ok_code = ok-code.

G_VARIABLE_AUTHORITY_CHECK CALL FUNCTION 'G_VARIABLE_AUTHORITY_CHECK' EXPORTING actvt = activity-modify authgr = rgsgm-authgr EXCEPTIONS OTHERS = 1.

G_VARIABLE_AUTHORITY_CHECK CALL FUNCTION 'G_VARIABLE_AUTHORITY_CHECK' EXPORTING actvt = activity-add authgr = rgsgm-authgr.

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 OTHERS = 0.

G_HELP_VALUES_GET CALL FUNCTION 'G_HELP_VALUES_GET' EXPORTING fieldname = field_attr-fieldname tabname = field_attr-tabname domname = field_attr-domname input_value = value_aux IMPORTING selected_value = value_aux.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = dynpfields EXCEPTIONS OTHERS = 0.

G_HELP_VALUES_GET CALL FUNCTION 'G_HELP_VALUES_GET' EXPORTING display = 'X' input_value = value_aux fieldname = field_attr-fieldname tabname = field_attr-tabname domname = field_attr-domname.

G_AUTHORITY_GROUPS_POV CALL FUNCTION 'G_AUTHORITY_GROUPS_POV' EXPORTING i_authority_object = authority_object.

G_CONVERT_INPUT CALL FUNCTION 'G_CONVERT_INPUT' EXPORTING input_value = *rgsgm-value convexit = field_attr-convexit converted_length = field_attr-leng input_length = field_attr-outputlen datatype = field_attr-datatype IMPORTING converted_value = rgsgm-value.

G_VARIABLE_CHECK_FORMULA CALL FUNCTION 'G_VARIABLE_CHECK_FORMULA' EXPORTING variable = rgsgm-global formula = fkt EXCEPTIONS exit_not_numeric = 104 OTHERS = 1.

G_VARIABLE_EVALUATE CALL FUNCTION 'G_VARIABLE_EVALUATE' EXPORTING variable = rgsgm-global formula = fkt table = rgsgm-utab field = rgsgm-feld IMPORTING value = value EXCEPTIONS variable_not_found = 1 evalerror_arithmetic_exception = 2 evalerror_bad_syntax = 3 no_ddic_info_available = 4 result_too_long = 5 result_conversion_failed = 6 OTHERS = 7.

G_SET_GET_EVALUATION_ERROR CALL FUNCTION 'G_SET_GET_EVALUATION_ERROR' IMPORTING variable = global formula = fkt error_code = subrc.

G_SET_DECRYPT_SETID CALL FUNCTION 'G_SET_DECRYPT_SETID' EXPORTING setid = rgsgm-defsetid IMPORTING shortname = setinfo-shortname.

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 OTHERS = 0.

G_RW_SET_SELECT CALL FUNCTION 'G_RW_SET_SELECT' EXPORTING field_name = rgsgm-feld no_field_name_change = 'X' set = setname_aux table = rgsgm-utab typelist = 'BS' show_field_name = ' ' IMPORTING setid = rgsgm-defsetid set_name = setname_aux set_title = setinfo-title EXCEPTIONS no_sets = 1 no_set_picked = 2 OTHERS = 3.

DYNP_VALUES_UPDATE





CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = dynpfields EXCEPTIONS OTHERS = 0.



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