SAP Reports / Programs | Logistics Execution | Mobile data entry(LE-MOB) SAP LE

MAINMENU SAP ABAP INCLUDE - Include MAINMENU







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

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:

DETERMINE_SCREEN_NUMBER CALL FUNCTION 'DETERMINE_SCREEN_NUMBER' EXPORTING LSCRN = MENU_SCREEN IMPORTING PSCRN = PSCRN EXCEPTIONS SCREEN_NOT_FOUND = 01.

CALL_SCREEN_LOGON CALL FUNCTION 'CALL_SCREEN_LOGON' EXPORTING I_WHS_ID = WHS_ID I_USER_PRF = USER_PRF I_SORT_VALUE = SORT_VALUE I_B_MNU_SCR = B_MNU_SCR I_PRESENT = PRESENT I_EXVER = EXVER I_PERNR = PERSONAL_NUMBER I_AUTHO = AUTHO I_DOCNUM = DOCNUM IMPORTING O_AUTHO = AUTHO O_WHS_ID = WHS_ID O_USER_PRF = USER_PRF O_SCREEN_FCODE = SCREEN_FCODE O_SORT_VALUE = SORT_VALUE O_B_MNU_SCR = B_MNU_SCR O_PRESENT = PRESENT O_EXVER = EXVER O_PERNR = PERSONAL_NUMBER O_DOCNUM = DOCNUM EXCEPTIONS FAIL_IN_PHYSICAL_SCREEN_NUMBER = 01.

SUSR_USER_STARTMENU_GET * CALL FUNCTION 'SUSR_USER_STARTMENU_GET' * EXPORTING * USER_NAME = SY-UNAME * IMPORTING * USER_STARTMENU = TRANSNUM.

RF_QUEUE_READ * CALL FUNCTION 'RF_QUEUE_READ' * EXPORTING * IV_LGNUM = WHS_ID * IV_QUEUE = USER_PRF ** importing ** sv_t346 = lv_t346 * EXCEPTIONS * NOT_FOUND = 1 * OTHERS = 2.

UPDATE_LAST_MENU * CALL FUNCTION 'UPDATE_LAST_MENU' * EXPORTING * I_MEN_TRANS = B_MNU_SCR ** EXCEPTIONS * UPDATE_ERROR = 01.

L_MOB_USR_CHECK CALL FUNCTION 'L_MOB_USR_CHECK' EXPORTING IV_BNAME = SY-UNAME IMPORTING EV_SESSIONS = LOGON_NO.

L_USER_DATA_GET CALL FUNCTION 'L_USER_DATA_GET' EXPORTING I_UNAME = SY-UNAME TABLES t_XUSER = XUSER EXCEPTIONS NO_ENTRY_FOUND = 01.

L_RFMON_USER_UPDATE CALL FUNCTION 'L_RFMON_USER_UPDATE' EXPORTING IV_WKQU = XUSER EXCEPTIONS UPDATE_FAILED = 01.



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