cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hello All. I am recording SAP vbScripts and have found that I can't use them unless I am at the Easy Access Screen (the screen you get when you first login to SAP). However, I am not always at the Easy Access Screen when I need to run the script.

I've tried creating adding several "Back" (or F3) entries in the script to get to the E.A.S., but sometimes there is a message box which that triggers after pressing the back button and the script errors out. Does anybody know if there is a solution to this?

Also, I don't want to record a script going back to the E.A.S. because I could be at any transaction at the time of running the script.

Thanks in advance.

0 Likes
View Entire Topic
Stefan-Schnell
Active Contributor
0 Likes

Hello Steve,

welcome in the Scripting forum.

You can use /n in front of you transaction code, e.g.

session.findById("wnd[0]/tbar[0]/okcd").text = "/nSE38"

On this way you jump back and start the new transaction in the same session.

Hope it helps. Let us know.

Cheers

Stefan