I guess most of SAP developers went through this case. You are remotely connected to SAP system through SAP Logon working on code, when your colleague comes/phone rings/bladder burns. So you interrupt your work for a couple of minutes and … SAP Logon automatically quits the session after some time with error-message saying that it has been closed due to time-out.
Solution: Keep on-line with ABAP programm running in background.
Step by step:
- Go to transaction SE38.
- Type “ZKEEP” into the input field.
- Click on “Create”.
- Paste the following code.
- Activate!
*&---------------------------------------------------------------------*
*& Report ZKEEP *
*&---------------------------------------------------------------------*
REPORT ZKEEP .
start-of-selection.
do.
wait up to 15 seconds.
CALL FUNCTION 'PROGRESS_INDICATOR'
EXPORTING
I_TEXT = 'Keeping...'.
enddo.
Next time you log in to SAP, just open two sessions and in one go to SE38 and run this programm. You can than work in the other session (first one will be taken by the ZKEEP report).
That’s it for today.
