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

MGPLPI20 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_SET_GET_INFO * CALL FUNCTION 'G_SET_GET_INFO' * EXPORTING * SETNAME = T820-SETNR * TABLE = HELP_TABLE * USE_TABLE_BUFFER = 'X' * IMPORTING * INFO = HELP_SETINFO * EXCEPTIONS * SET_NOT_FOUND = 01.

G_SET_GET_ID_FROM_NAME CALL FUNCTION 'G_SET_GET_ID_FROM_NAME' EXPORTING SHORTNAME = SETINFO-SHORTNAME OLD_SETID = T820-SETNR IMPORTING NEW_SETID = T820-SETNR SET_INFO = HELP_SETINFO EXCEPTIONS NO_SET_FOUND = 1 NO_SET_PICKED_FROM_POPUP = 2 WRONG_CLASS = 3 WRONG_SUBCLASS = 4 TABLE_FIELD_NOT_FOUND = 5 FIELDS_DONT_MATCH = 6 SET_IS_EMPTY = 7 FORMULA_IN_SET = 8 OTHERS = 9.

G_SET_SELECT_MATCHING_FIELD CALL FUNCTION 'G_SET_SELECT_MATCHING_FIELD' EXPORTING SET_FIELDNAME = SETINFO-FLD SET_TABNAME = SETINFO-TABNAME TABNAME = SETINFO-TABNAME IMPORTING FIELDNAME = T820-SET_FIELD EXCEPTIONS NO_FIELDNAME_FOUND = 1 NO_FIELDNAME_PICKED = 2 OTHERS = 3.

G_SELECT_SET

G_SET_SELECT * * CALL FUNCTION 'G_SELECT_SET' "<-- delete --- * CALL FUNCTION 'G_SET_SELECT' "<-- insert --- * EXPORTING * CLASS = ' ' * * NO_CLASS_DISPLAY = 'X' "<-- delete --- * NO_TABLE_DISPLAY = 'X' "<-- insert --- * SET = T820-SETNR * TABLE = 'GLU1' * IMPORTING * SET_NAME = T820-SETNR * EXCEPTIONS * NO_SET_PICKED = 01 * NO_SETS = 02.

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 SET = SETNAME_AUX * TABLE = 'GLU1' TYPELIST = 'BSM' NO_MAINTENANCE = 'X' IMPORTING SETID = SETID_AUX SET_NAME = SETNAME_AUX SET_TITLE = SETTEXT_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.



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