MGSBMF18 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 MGSBMF18 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_GENERATE_DATA_SET CALL FUNCTION 'G_GENERATE_DATA_SET' EXPORTING set_header = rgsbs ref_set = setnrref_save TABLES formula_lines = formtab set_lines = setlines_data.
POPUP_TO_DECIDE CALL FUNCTION 'POPUP_TO_DECIDE' EXPORTING textline1 = loc_text_popup textline2 = text-pe4 text_option1 = text-pe1 text_option2 = text-pe2 titel = text-pet IMPORTING answer = answer EXCEPTIONS OTHERS = 0.
POPUP_TO_CONFIRM_WITH_VALUE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_VALUE' EXPORTING objectvalue = rgsbl-fname text_before = text-pf1 text_after = loc_text_popup titel = text-pet IMPORTING answer = answer EXCEPTIONS text_too_long = 1 OTHERS = 2.
G_RW_DSE_MAINTENANCE CALL FUNCTION 'G_RW_DSE_MAINTENANCE' EXPORTING tab = rgsbs-table dse = rgsbl-fname mode = 'CREATE' IMPORTING new_dse_name = rgsbl-fname EXCEPTIONS not_found = 1 already_exists = 2 OTHERS = 3.
G_RW_DSE_MAINTENANCE CALL FUNCTION 'G_RW_DSE_MAINTENANCE' EXPORTING tab = rgsbs-table dse = rgsbl-fname mode = 'CREATE' IMPORTING new_dse_name = rgsbl-fname EXCEPTIONS not_found = 1 already_exists = 2 OTHERS = 3.
G_SET_DECRYPT_SETID CALL FUNCTION 'G_SET_DECRYPT_SETID' EXPORTING setid = rgsbs-setnr IMPORTING lib = rgsbm-lib rname = rgsbm-rname EXCEPTIONS OTHERS = 0.
G_RW_GET_DSE_PREFIX CALL FUNCTION 'G_RW_GET_DSE_PREFIX' EXPORTING lib = rgsbm-lib rname = rgsbm-rname IMPORTING prefix = loc_fname_prefix EXCEPTIONS OTHERS = 0.
G_RW_DSENTRY_READ CALL FUNCTION 'G_RW_DSENTRY_READ' EXPORTING tab = rgsbs-table dsentry = loc_new_dse_name no_description = 'X' EXCEPTIONS not_found = 1 OTHERS = 2.
POPUP_TO_CONFIRM * call function 'POPUP_TO_CONFIRM' * exporting * titlebar = text-pet * diagnose_object = 'G_RW_DSE_ASK_FOR_NAME' * text_question = text-pf3 * importing * answer = answer * tables * parameter = loc_spar * exceptions * text_not_found = 1 * others = 2.
G_RW_DSE_MAINTENANCE CALL FUNCTION 'G_RW_DSE_MAINTENANCE' EXPORTING tab = rgsbs-table dse = loc_new_dse_name mode = 'CREATE' IMPORTING new_dse_name = rgsbl-fname EXCEPTIONS not_found = 1 already_exists = 2 processing_cancelled = 3 OTHERS = 4.
G_SET_DECRYPT_SETID CALL FUNCTION 'G_SET_DECRYPT_SETID' EXPORTING setid = rgsbs-setnr IMPORTING lib = rgsbm-lib rname = rgsbm-rname EXCEPTIONS OTHERS = 0.
G_RW_GET_DSE_PREFIX CALL FUNCTION 'G_RW_GET_DSE_PREFIX' EXPORTING lib = rgsbm-lib rname = rgsbm-rname IMPORTING prefix = loc_fname EXCEPTIONS OTHERS = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.