I have created a custom transaction called zguixt1. When I exit this transaction I call an InputScript that clears some flags and returns me to the SAP main menu. If I then press the yellow exit button I am returned to transaction zguixt1. Why?
Please use the statement

Disable auto return

in this InputScript. Otherwise GuiXT saves the current transactions code at the beginning of an InputScript and then calls this transaction again on F15.