cancel
Showing results for 
Search instead for 
Did you mean: 

Bypass a pop up message from SAP

Former Member
0 Kudos

Hello Expert..

I am trying to extract SAP data from Excel , but everytime to connect to SAP , system always asking "A script is trying to attach to the GUI" , I need to make an automate execution on every lunch time , so by this pop up message excel can not run the macro right away..

Is there are any code to bypassing this pop up message ?

the script is contain as below:

If SAPApp Is Nothing Then

Set SAPGUIAuto = GetObject("SAPGUI")

Set SAPApp = SAPGUIAuto.GetScriptingEngine

End If

Thank you .

Regards,

Agung

Accepted Solutions (1)

Accepted Solutions (1)

thomas_brutigam2
Active Participant
0 Kudos

Hi Agung,

yes there is a possibility ;)=

go to the Options ->Scritping and uncheck the "Remind me if a Script trys to connect" and the Check below it-

Then it will never argue you (only if a new Patch comes out)

Greetings

Thomas Br

Former Member
0 Kudos

Hello Thomas BR,

Thank you so much for your advise..

It's work great and solved my problem.

Regards,

Agung

Answers (0)