Skip to Content
avatar image
Former Member

Bypass a pop up message from SAP

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 24, 2012 at 08:57 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Thomas BR,

      Thank you so much for your advise..

      It's work great and solved my problem.

      Regards,

      Agung