SAP Reports / Programs | Financial Accounting | Special Purpose Ledger | Basic Functions(FI-SL-SL) SAP FI

MGPLCI30 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

RS_VARIANT_EXISTS CALL FUNCTION 'RS_VARIANT_EXISTS' EXPORTING report = varid_tab-report variant = varid_tab-variant IMPORTING r_c = rc EXCEPTIONS not_authorized = 01 no_report = 02 report_not_existent = 03 report_not_supplied = 04.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = text-010 textline2 = text-011 titel = text-012 IMPORTING answer = answer EXCEPTIONS OTHERS = 1.

RS_CHANGE_CREATED_VARIANT CALL FUNCTION 'RS_CHANGE_CREATED_VARIANT' EXPORTING curr_report = varid_tab-report curr_variant = varid_tab-variant vari_desc = varid_tab TABLES vari_contents = selparams vari_text = varit_tab EXCEPTIONS illegal_report_or_variant = 01 illegal_variantname = 02 not_authorized = 03 not_executed = 04 report_not_existent = 05 report_not_supplied = 06 variant_doesnt_exist = 07 variant_locked = 08 selections_no_match = 09.

RS_CREATE_VARIANT CALL FUNCTION 'RS_CREATE_VARIANT' EXPORTING curr_report = varid_tab-report curr_variant = varid_tab-variant vari_desc = varid_tab TABLES vari_contents = selparams vari_text = varit_tab EXCEPTIONS illegal_report_or_variant = 01 illegal_variantname = 02 not_authorized = 03 not_executed = 04 report_not_existent = 05 report_not_supplied = 06 variant_exists = 07 variant_locked = 08.

RS_VARIANT_EXISTS CALL FUNCTION 'RS_VARIANT_EXISTS' EXPORTING report = varid_tab-report variant = varid-variant IMPORTING r_c = rc EXCEPTIONS not_authorized = 01 no_report = 02 report_not_existent = 03 report_not_supplied = 04.

RS_VARIANT_TEXT CALL FUNCTION 'RS_VARIANT_TEXT' EXPORTING CURR_REPORT = VARID_TAB-REPORT LANGU = sy-langu VARIANT = VARID-VARIANT * ALL_VARIANTS = ' ' IMPORTING V_TEXT = varit-vtext * TABLES * VARTEXT = EXCEPTIONS NO_TEXT = 1 OTHERS = 2.

RS_VARIANT_VALUES_TECH_DATA CALL FUNCTION 'RS_VARIANT_VALUES_TECH_DATA' EXPORTING report = varid_tab-report variant = varid-variant * SEL_TEXT = ' ' move_or_write = 'M' sorted = 'X' IMPORTING techn_data = varid_tab TABLES variant_values = selparams * VARIANT_TEXT = EXCEPTIONS variant_non_existent = 1 variant_obsolete = 2 OTHERS = 3.

RS_VARIANT_CATALOG CALL FUNCTION 'RS_VARIANT_CATALOG' "PH817988 EXPORTING REPORT = varid_tab-report VARIANT = varid-variant dynnr = '1000' masked = 'X' pop_up = 'X' IMPORTING SEL_VARIANT = varid-variant SEL_VARIANT_TEXT = s_vartext EXCEPTIONS NO_REPORT = 1 REPORT_NOT_EXISTENT = 2 REPORT_NOT_SUPPLIED = 3 NO_VARIANTS = 4 NO_VARIANT_SELECTED = 5 VARIANT_NOT_EXISTENT = 6 OTHERS = 7.

RS_VARIANT_DELETE CALL FUNCTION 'RS_VARIANT_DELETE' EXPORTING report = varid_tab-report variant = varid-variant * importing * variant = EXCEPTIONS not_authorized = 1 not_executed = 2 no_report = 3 report_not_existent = 4 report_not_supplied = 5 variant_locked = 6 variant_not_existent = 7 variant_protected = 8 OTHERS = 9.



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