on 03-10-2014 6:48 PM
Hi again everyone.
I have small simple question.
When I connect through Excel VBA to sap:
Dim App, Connection, session As Object
Set sapguiauto = GetObject("SAPGUI")
Set App = sapguiauto.GetScriptingEngine
Set Connection = App.Children(0)
Set session = Connection.Children(0)
The message, see attachement, pops up - you just have to click ok or press enter. I tried Sendkeys and application.displayalerts but neither of it works.
Is there a way, how to jump it over/ skip it/ press the OK button via script.
BTW: when I had older version of SAP - pre 7 version I think, It worked without note.
Thanks for your advices.
Ahoj Miroslav,
this issue is so old as the SAP GUI Scripting. You can try the following:
SAP GUI -> Alt / F12 (local layout tune) -> Options -> Scripting:
- Notify when a script connects to SAP GUI -> deactivate
- Notify when a script establishes a connection -> deactivate
Regards ScriptMan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.