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