I am new in SAP development, so it is possible that my problem is easy, but I cant find any solution.I need to integrate in the system wide menu of SAP GUI a call of external program with parameters similar to data from STAT function in MENUSYST program or on menu item System-Status (transaction number, program name, ). It is possible to add a self defined transaction in menu painter to the related menu. But in this case the transaction run in new run time environment and it is not possible to access to the old sy-tcode and other values. Now I have developed a function module which performs the necessary task. Is it possible (and how if yes) to integrate this function call in the MENYSYST menu or what alternative way can I use?