on 10-14-2014 12:22 PM
Dear Comunity,
I am brand new in this comunity, and I am located in Germany. Maybe somebody can help me to get an answere to my question.
For a full automatic report i am using the SAP BusinessObjects Analysis for Excel an i need to know how i can log in in Excel on the SAP system to refresh my data via VBA Macro.
From Tammy Powlas, I found some informations in the following discussion but in my case I get an error.
I dont know how to implementat my SAP System in my VBA script.
Can somebody help me to build the script?
With kind regards
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andreas,
the link you have there is from 2011 ... I guess some things changed in the meanwhile?!
When you want to refresh your query, e.g. "DS_1", there is no need to "implement" the SAP System Information, since Excel already stored if you inserted the query from your Dev., QA, or Prod. System...
Just use the example coding
Sub refresh()
Dim lResult as Long
lResult = Application.Run("SAPExecuteCommand", "Refresh", "DS_1")
End Sub
What is the error message, you were talking about?
Of course, the user who is executing the macro must have a valid user with proper authorization...
Best regards,
Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.