Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 18 at 07:54 AM

    Hello Nilesh,

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

    Best regards,
    Marc

    Add comment
    10|10000 characters needed characters exceeded