SAP Reports / Programs | Basis Components | Security(BC-SEC) SAP BC

MSM20I01 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

RSLG_SEL_ST_WHICHLOG CALL FUNCTION 'RSLG_SEL_ST_WHICHLOG' EXPORTING FILE = REP_ON_LOCAL.

RSLG_SEL_GET_WHICHLOG CALL FUNCTION 'RSLG_SEL_GET_WHICHLOG' IMPORTING FILE = TA___WHICHLOG.

RSLG_LAYOUT_GET_PRINT CALL FUNCTION 'RSLG_LAYOUT_GET_PRINT' IMPORTING TO_PRINTER = DY_PRINT LAYOUT = DY_OUT_DEST.

POPUP_WITH_WARNING * CALL FUNCTION 'POPUP_WITH_WARNING' * EXPORTING * TEXTLINE1 = rsauinfo-uname * TEXTLINE2 = 'Sterne wirken nur am Ende generisch'(575).

POPUP_WITH_WARNING CALL FUNCTION 'POPUP_WITH_WARNING' EXPORTING TEXTLINE1 = RSLGTYPE-TCODE TEXTLINE2 = 'Sterne wirken nur am Ende generisch'(575).

POPUP_WITH_WARNING CALL FUNCTION 'POPUP_WITH_WARNING' EXPORTING TEXTLINE1 = RSLGTYPE-TCODE TEXTLINE2 = 'Die Transaktion ist nicht vorhanden'(576).

F4_USER CALL FUNCTION 'F4_USER' EXPORTING OBJECT = USER_PATTERN IMPORTING RESULT = RSAUTYPE-SAPUSER .

F4_TRANSACTION CALL FUNCTION 'F4_TRANSACTION' EXPORTING OBJECT = TCODE_PATTERN * SEARCH_TYPE = 'A' * SUPPRESS_SELECTION = * DISPLAY_ONLY = * VARIANT = ' ' * MULTIPLE_SELECTION = IMPORTING RESULT = RSLGTYPE-TCODE * TABLES * MULTIPLE_OBJECTS = .

F4_PROGRAM CALL FUNCTION 'F4_PROGRAM' EXPORTING OBJECT = program_pattern * SUPPRESS_SELECTION = * DISPLAY_ONLY = IMPORTING RESULT = rslgtype-repna.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING LANGUAGE = SY-LANGU POPUP_TITLE = 'Hilfe zu Instanzenname bzw. RFC-Destination'(031)

F4_LISTBOX_INSTANCES CALL FUNCTION 'F4_LISTBOX_INSTANCES' EXCEPTIONS OTHERS = 0.

RSLG_SEL_ST_TIMES * CALL FUNCTION 'RSLG_SEL_ST_TIMES' * EXPORTING SDATE = DY_START_DATE * STIME = DY_START_TIME * EDATE = DY_END_DATE * ETIME = DY_END_TIME.

RSLG_SEL_GET_WHICHLOG * CALL FUNCTION 'RSLG_SEL_GET_WHICHLOG' * IMPORTING FILE = TA___WHICHLOG.

RSLG_SEL_ST_RFCDEST * CALL FUNCTION 'RSLG_SEL_ST_RFCDEST' * EXPORTING RFC_DESTINATION = DY_RFCDEST.

RSLG_SEL_ST_RFCDEST * CALL FUNCTION 'RSLG_SEL_ST_RFCDEST' * EXPORTING RFC_DESTINATION = 'ALL'.

RSLG_SEL_ST_INST * CALL FUNCTION 'RSLG_SEL_ST_INST' * EXPORTING INSTANCE = DY_INST.

RSLG_SEL_ST_TASK * CALL FUNCTION 'RSLG_SEL_ST_TASK' EXPORTING TASK = RSLGTYPE-TASK.

RSLG_SEL_ST_USER * CALL FUNCTION 'RSLG_SEL_ST_USER' * EXPORTING USER = RSAUTYPE-SAPUSER.

RSLG_SEL_ST_TCODE





* CALL FUNCTION 'RSLG_SEL_ST_TCODE' * EXPORTING TCODE = RSLGTYPE-TCODE.

RSLG_SEL_ST_REPNA * CALL FUNCTION 'RSLG_SEL_ST_REPNA' * EXPORTING REPNA = RSLGTYPE-REPNA.

RSLG_SEL_ST_TERM * CALL FUNCTION 'RSLG_SEL_ST_TERM' * EXPORTING TERMINAL = RSLGTYPE-TERMINAL.

RSLG_LAYOUT_ST_PAGES * CALL FUNCTION 'RSLG_LAYOUT_ST_PAGES' * EXPORTING PAGES = RSLGLAYOUT-MAXPAG.

RSLG_LAYOUT_ST_STATS * CALL FUNCTION 'RSLG_LAYOUT_ST_STATS' * EXPORTING WITH_STATISTICS = DY_STATISTICS.



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