on 02-23-2007 1:27 PM
Hi All,
I am trying to get ( from Macro VBA ) the user logged on to BW system.
To do this i use the following vb code :
Dim objsapgui As Object
Dim objsapguitable As Object
Set obj1BAPIControl = CreateObject("SAP.Functions")
'objet for gui funbction
Set objsapgui = obj1BAPIControl.Add("GUI_GET_DESKTOP_INFO")
'objet
Set objsapguitable = objsapgui.exports("TYPE")
objsapguitable.Value = 5
' Function call
objsapgui.Call
My problem is that i don't know how to get the return value of the FM GUI_GET_DESKTOP_INFO in my VBA code ?
Best regards
Matihi
Hi,
I think this question is related BW .. post this in BW forum.. you will get more answers..
Regards
Chilla..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
try checking on google for sample code:
http://www.tek-tips.com/viewthread.cfm?qid=386919
http://abap4.tripod.com/download/AccessCode.txt
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for your answer .
I check on google for the sample code but i did not found the solution of my problem.
I found some sample with the FM using tables in parameters but the FM GUI_GET_DESKTOP_INFO has no parameter table.
maybe it's not possible to get in VBA the value of FM GUI_GET_DESKTOP_INFO because this FM has no parameters tables ?
Regards
User | Count |
---|---|
87 | |
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.