Hi Sayuti,
I can run the script concurrently, but i found the other problem there.
I'm using c# to call vbs script (macro) in excel concurrently using backgroundworker component. I can call it concurrently until display logon form in sap gui. but the new problem is when entering below part, the script was executed sequencely per user.
With sapsession
.FindById("wnd[0]/usr/txtRSYST-MANDT").Text = "200"
.FindById("wnd[0]/usr/txtRSYST-BNAME").Text = sapID
.FindById("wnd[0]/usr/pwdRSYST-BCODE").Text = sapPassword
.FindById("wnd[0]/usr/txtRSYST-LANGU").Text = "EN"
.FindById("wnd[0]").SendVKey 0
.StartTransaction "IW33" '//transaction to test
-=== guiscript code ===-
End With
So my assumption is with sapsession ... end with cannot be executed concurrently. there is something behavior that make sapsession scope is not concurrently.
Is there anyone experienced with this?
Please give suggestion on this.
Thanks & Regards,
Husin