MGSBMIAA 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 MGSBMIAA 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!
G_SET_AUTHORITY_CHECK CALL FUNCTION 'G_SET_AUTHORITY_CHECK' EXPORTING actvt = activity-modify authgr = rgsbs-authgr EXCEPTIONS OTHERS = 1.
G_SET_AUTHORITY_CHECK CALL FUNCTION 'G_SET_AUTHORITY_CHECK' EXPORTING actvt = activity-add authgr = rgsbs-authgr EXCEPTIONS OTHERS = 1.
G_TABLE_READ CALL FUNCTION 'G_TABLE_READ' EXPORTING add_flag = 'X' table = rgsbm-utab utable = 'X' IMPORTING table_attr = table_attr EXCEPTIONS not_found = 4.
G_SET_AUTHORITY_CHECK CALL FUNCTION 'G_SET_AUTHORITY_CHECK' EXPORTING actvt = activity-add EXCEPTIONS OTHERS = 1.
G_SET_AUTHORITY_CHECK CALL FUNCTION 'G_SET_AUTHORITY_CHECK' EXPORTING actvt = activity-delete EXCEPTIONS OTHERS = 1.
G_SET_AUTHORITY_CHECK CALL FUNCTION 'G_SET_AUTHORITY_CHECK' EXPORTING actvt = activity-modify EXCEPTIONS OTHERS = 1.
G_SET_AUTHORITY_CHECK CALL FUNCTION 'G_SET_AUTHORITY_CHECK' EXPORTING actvt = activity-display EXCEPTIONS OTHERS = 1.
TR_TASK_OVERVIEW CALL FUNCTION 'TR_TASK_OVERVIEW' EXPORTING iv_username = sy-uname iv_category = 'SYST' iv_client = sy-mandt EXCEPTIONS invalid_username = 01 invalid_category = 02 invalid_client = 03 internal_error = 04.
G_LEAVE_TO_REPORT_WRITER CALL FUNCTION 'G_LEAVE_TO_REPORT_WRITER' EXPORTING mode = '1' ok_code = ok-code changed = flag_changed title = text-006 textline1 = text-001 textline2 = text-002 IMPORTING ok_code = ok-code EXCEPTIONS no_function_executed = 1 no_function_selected = 2 OTHERS = 3.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = text-006 "Popup title: exit set maintenance textline1 = text-001 "Saving desired? (Part 1) textline2 = text-002 "Saving desired? (Part 2) IMPORTING answer = answer.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = text-006 "Popup title: exit set maintenance textline1 = text-001 "Saving desired? (Part 1) textline2 = text-002 "Saving desired? (Part 2) IMPORTING answer = answer.
G_SET_AUTHORITY_CHECK CALL FUNCTION 'G_SET_AUTHORITY_CHECK' EXPORTING actvt = activity-add EXCEPTIONS OTHERS = 1.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = text-006 "Popup title: exit set maintenance textline1 = text-001 "Saving desired? (Part 1) textline2 = text-002 "Saving desired? (Part 2) IMPORTING answer = answer.
G_SET_AUTHORITY_CHECK CALL FUNCTION 'G_SET_AUTHORITY_CHECK' EXPORTING actvt = activity-delete EXCEPTIONS OTHERS = 1.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = text-006 "Popup title: exit set maintenance textline1 = text-001 "Saving desired? (Part 1) textline2 = text-002 "Saving desired? (Part 2) IMPORTING answer = answer.
G_SET_AUTHORITY_CHECK CALL FUNCTION 'G_SET_AUTHORITY_CHECK' EXPORTING actvt = activity-modify EXCEPTIONS OTHERS = 1.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = text-006 "Popup title: exit set maintenance textline1 = text-001 "Saving desired? (Part 1) textline2 = text-002 "Saving desired? (Part 2) IMPORTING answer = answer.
G_SET_AUTHORITY_CHECK CALL FUNCTION 'G_SET_AUTHORITY_CHECK' EXPORTING actvt = activity-display EXCEPTIONS OTHERS = 1.
CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = text-006 "Popup title: exit set maintenance textline1 = text-001 "Saving desired? (Part 1) textline2 = text-002 "Saving desired? (Part 2) IMPORTING answer = answer.
G_LEAVE_TO_REPORT_WRITER CALL FUNCTION 'G_LEAVE_TO_REPORT_WRITER' EXPORTING mode = '1' ok_code = ok-code changed = flag_changed title = text-006 textline1 = text-001 textline2 = text-002 IMPORTING ok_code = ok-code EXCEPTIONS no_function_executed = 1 no_function_selected = 2 OTHERS = 3.
TR_TASK_OVERVIEW CALL FUNCTION 'TR_TASK_OVERVIEW' EXPORTING iv_username = sy-uname iv_category = 'SYST' iv_client = sy-mandt * importing * ev_order = * ev_task = * ev_validdays = * ev_devclass = EXCEPTIONS invalid_username = 01 invalid_category = 02 invalid_client = 03 internal_error = 04.
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_AUTHORITY_GROUPS_MAINTAIN CALL FUNCTION 'G_AUTHORITY_GROUPS_MAINTAIN' EXPORTING i_authority_object = authority_object.
TR_TASK_OVERVIEW CALL FUNCTION 'TR_TASK_OVERVIEW' EXPORTING iv_username = sy-uname iv_category = 'SYST' iv_client = sy-mandt * importing * ev_order = * ev_task = * ev_validdays = * ev_devclass = EXCEPTIONS invalid_username = 01 invalid_category = 02 invalid_client = 03 internal_error = 04.
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_SET_FORMULA_MAINTENANCE CALL FUNCTION 'G_SET_FORMULA_MAINTENANCE' EXPORTING line_number = cursorindex set_header = rgsbs mode = mainmode-actual IMPORTING flag_formula_changed = flag_formula_modified TABLES set_lines = object_int formula_lines = formtab.
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_TABLE_SELECT CALL FUNCTION 'G_TABLE_SELECT' EXPORTING tabname_mask = tabname_aux * POPUP_TITLE = ' ' start_column = 0 start_row = 0 IMPORTING tabname = tabname_aux * TABLE_TEXT = EXCEPTIONS no_table_selected = 01 no_table_found = 02 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_SET_CHECK_NAME CALL FUNCTION 'G_SET_CHECK_NAME' EXPORTING setname = rgsbm-shortname no_name_convention_check = 'X' EXCEPTIONS illegal_name = 1 name_belongs_to_variable = 2 name_contains_wildcard = 3 OTHERS = 4.
G_OBJECT_NAME_CHECK CALL FUNCTION 'G_OBJECT_NAME_CHECK' EXPORTING object_name = rgsbm-shortname mainmode = action(1).
G_SET_GET_ID_FROM_NAME CALL FUNCTION 'G_SET_GET_ID_FROM_NAME' EXPORTING shortname = rgsbm-shortname old_setid = rgsbs-setnr setclass = wf_setclass IMPORTING new_setid = rgsbs-setnr EXCEPTIONS no_set_found = 1 no_set_picked_from_popup = 2 wrong_class = 3 wrong_subclass = 4 OTHERS = 5.
G_SET_DECRYPT_SETID CALL FUNCTION 'G_SET_DECRYPT_SETID' EXPORTING setid = rgsbs-setnr IMPORTING setclass = rgsbm-setclass.
G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING setclass = gsetc_dynamic_setclass shortname = rgsbm-shortname IMPORTING setid = rgsbs-setnr.
G_SET_GET_INFO CALL FUNCTION 'G_SET_GET_INFO' EXPORTING no_set_title = 'X' setname = rgsbs-setnr EXCEPTIONS OTHERS = 3.
G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING setclass = rgsbm-setclass shortname = rgsbm-shortname IMPORTING setid = rgsbs-setnr.
G_SET_GET_INFO CALL FUNCTION 'G_SET_GET_INFO' EXPORTING no_set_title = 'X' setname = rgsbs-setnr EXCEPTIONS 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.
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 MGSBMIAA or its description.