Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3316

Re: AO 2.0 Addin VBA Functions

$
0
0

Hi Tobias,

the solution for your Problem is that you Need a Refresh for one (or every) DS in your Excel:


Next

Dim lresult As Long

 

Put in here:


lresult = Application.Run("SAPExecuteCommand", "Refresh", "DS_1")

 

before you do:

 

lresult = Application.Run("SAPListOF", "DATASOURCES", , "DESCRIPTION")

 

If you have many datasources, you can do it with "do ... loop" for dynamic: "DS_" & i)

 

The "Refresh"-Problem is well-known and also exists at the Ideaplace already.

 

--> You always need to do the refresh, first.

 

Best regards, Martin


Viewing all articles
Browse latest Browse all 3316

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>