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

MGSBMI00 SAP ABAP INCLUDE - Forms: BAPI processing







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

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_RW_SET_SELECT CALL FUNCTION 'G_RW_SET_SELECT' EXPORTING class = setclass_aux set = setname_aux show_table_name = 'X' lib = '*' rname = '*' IMPORTING setid = setid_aux set_name = setname_aux class_name = setclass_aux EXCEPTIONS no_set_picked = 01 no_sets = 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_GET_ID_FROM_NAME CALL FUNCTION 'G_SET_GET_ID_FROM_NAME' EXPORTING lib = '*' "Allow generated rname = '*' "RW sets also shortname = rgsbm-shortnref old_setid = rgsbm-setidref setclass = wf_setrefclass IMPORTING new_setid = rgsbm-setidref set_info = set_info EXCEPTIONS OTHERS = 1.

G_SET_AUTHORITY_CHECK CALL FUNCTION 'G_SET_AUTHORITY_CHECK' EXPORTING actvt = activity-display authgr = rgsbs-authgr EXCEPTIONS OTHERS = 1.

G_SET_DECRYPT_SETID CALL FUNCTION 'G_SET_DECRYPT_SETID' EXPORTING setid = rgsbm-setidref IMPORTING setclass = wf_setrefclass.

G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING setclass = wf_setrefclass shortname = rgsbm-shortname IMPORTING setid = rgsbs-setnr.

G_SET_SELECT_MATCHING_FIELD CALL FUNCTION 'G_SET_SELECT_MATCHING_FIELD' EXPORTING set_fieldname = set_info-fld set_tabname = set_info-tabname tabname = rgsbs-table IMPORTING fieldname = rgsbs-field.

G_SET_DETERMINE_DATA_ELEMENT2 CALL FUNCTION 'G_SET_DETERMINE_DATA_ELEMENT2' EXPORTING tabname = rgsbs-table fieldname = rgsbs-field IMPORTING set_data_element = rgsbm-rollname EXCEPTIONS field_not_found = 1 OTHERS = 2.

G_FIELD_READ CALL FUNCTION 'G_FIELD_READ' EXPORTING table = rgsbs-table fieldname = rgsbs-field text_flag = 'X' add_flag = 'X' IMPORTING field_attr = field_attr.

POPUP_TO_DECIDE_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_DECIDE_WITH_MESSAGE' EXPORTING diagnosetext1 = text-pd1 diagnosetext2 = text-pd2 diagnosetext3 = text-pd3 textline1 = text-pt1 textline2 = text-pt2 textline3 = text-pt3 text_option1 = text-po1 text_option2 = text-po2 titel = text-pot IMPORTING answer = wf_answer EXCEPTIONS OTHERS = 1.

G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING setclass = gsetc_dynamic_setclass shortname = rgsbm-shortname IMPORTING setid = rgsbs-setnr EXCEPTIONS no_co_area_specified = 1 illegal_setclass = 2 OTHERS = 3.



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