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

MGSBMF18 SAP ABAP INCLUDE - documentation and ABAP source code







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


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

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:

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.



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