cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to use vbscript for browser base applications eg ITS, WEBGUI

Former Member
0 Kudos

Hi,

I am fairly new to vb script.I am following script (vb script) to get the scripting engine code

Dim Wrp

Set Wrp = CreateObject("SapROTWr.SapROTWrapper")

Dim objSapGui

Set objSapGui = Wrp.GetROTEntry("SAPGUI")

Dim objScriptingEngine

Set objScriptingEngine = objSapGui.GetScriptingEngine

Furthermore, able to catch status bar messages using following statement

Session.findById("wnd[0]/sbar").Text. This works fine when I logon to SAPGUI and use any transaction code

However, when I execute same transaction using WEBGUI or Portal iView, the script does not work. Is it a browser issue (using IE11) ?

Secondly, whenever I am using script, should I have SAPGUI (saplogon.exe) installed on my machine? Most of the users, are using TCODES through WEBGUI or Portal and not logging on to SAP system (they dont have SAPGUI installed)

Is there any workaround for this (it should catch the status bar messages whenever executed from web browser)?

Regards,

Nilesh Rane

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hello Nilesh,

It is not possible to use vb scripts / GUI scripting via WebGUI.

Best regards,
Marc