How to get rid of SAP scripting pop ups?

Everyone, who launched macro connecting SAP for the first time, have encountered this. Those 2 pop ups are destroying the idea of automation. You can’t record them and don’t know how to avoid them. In this article I’m going to present how to turn off SAP scripting pop ups.

What are those SAP pop ups?

Those SAP scripting pop ups are simple message boxes telling You about:

that script is attemping to access SAP GUI and

that a script is opening the connection.

In general, those message boxes are good. I mean that kind of information is important in case if You are not the one who launched the script. But probably in your case it is only annoying and disturbing during the daily SAP report creation.

So, if You are tired of clicking twice everytime You want to create SAP report automatically and totally aware of those coding attemps it is ok to turn those pop ups off.

Turn off SAP scripting pop ups

You need to go to the options – firstly click on the last icon in that row of top bar, it looks like a double gearwheel. Then choose Options… from the list.

There, in the Accessibility & Scripting category, choose Scripting.

Here You got probably 3 checkboxes set as true:
-enable scripting,
-notify when a script attaches to SAP GUI,
-notify when a script opens a connection.

Leave the first one – You want to use SAP scripts. But those 2 below are responsible for those pops ups. Unchecked those 2 checkboxes and that’s it! Those SAP scripting messages are gone!

That’s not all!

In this article I showed You how to turn off SAP scripting pop ups. From now on those message boxes should not bother You. Your SAP reports are now completely automated!

I invite You to my YouTube channel, where You can find this post as a video!
Enjoy!

Author: Tomasz Płociński

I'm very advanced in VBA, Excel, also easily linking VBA with other Office applications (e.g. PowerPoint) and external applications (e.g. SAP). I take part also in RPA processes (WebQuery, DataCache, IBM Access Client Solutions) where I can also use my SQL basic skillset. I'm trying now to widen my knowledge into TypeScript/JavaScript direction.

Leave a Reply

Your email address will not be published. Required fields are marked *