<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: SAP GUI VBScript scripting not running / Not recording / Playback doesn't work in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sap-gui-vbscript-scripting-not-running-not-recording-playback-doesn-t-work/qaa-p/356737#M21713</link>
    <description>&lt;P&gt;Hello Pedro,&lt;/P&gt;&lt;P&gt;execute the report RSPARAM in the SE38 and set the filter for the parameter name to *script* and you will find a few backend parameters which controls the SAP GUI Scripting. Look at sapgui/user_scripting - should be true, sapgui/user_scripting_disable_recording - should be false, sapgui/user_scripting_force_notification - should be false, sapgui/user_scripting_set_readonly - should be false and sapgui/user_scripting_per_user - better false, otherwise you need explicite rights.&lt;/P&gt;&lt;P&gt;Cheers&lt;BR /&gt;Stefan &lt;/P&gt;</description>
    <pubDate>Wed, 07 Dec 2016 05:59:29 GMT</pubDate>
    <dc:creator>Stefan-Schnell</dc:creator>
    <dc:date>2016-12-07T05:59:29Z</dc:date>
    <item>
      <title>SAP GUI VBScript scripting not running / Not recording / Playback doesn't work</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-gui-vbscript-scripting-not-running-not-recording-playback-doesn-t-work/qaq-p/356735</link>
      <description>&lt;P&gt;Perhaps someone with experience in SAP GUI and VBScripts can help me.&lt;/P&gt;&lt;P&gt;I am trying to run the following VBScript in SAP GUI&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;If Not IsObject(application) Then
    Set SapGuiAuto = GetObject("SAPGUI")
    Set application = SapGuiAuto.GetScriptingEngine
End If
If Not IsObject(connection) Then
    Set connection= application.Children(0)
End If
If Not IsObject(session) Then
    Set session = connection.Children(0)
End If
If IsObject(WScript) Then
    WScript.ConnectObject session,"on"
    WScript.ConnectObject application, "on"
End If
session.findById("wnd[0]").maximize
session.findById("wnd[0]/tbar[0]/okcd").text="cv04n"
session.findById("wnd[0]").sendVkey 0&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I keep getting the 
error: The server threw an exception.
Code: 80010105&lt;/P&gt;&lt;P&gt;This error is in this line: session.findById("wnd[0]").maximize&lt;/P&gt;&lt;P&gt;Can the server block my scripts?&lt;/P&gt;&lt;P&gt;The SAPGUI scripts are enable in the SAP GUI configuration, but when i
 try to record one it doesn't record and the symbol down in the window 
always says that script is running but nothing happens and doesn't 
record anything to the .vbs file.
When i try to run my script inside the GUI the same happens and it will 
stay running but nothing happens.&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Feb 2024 18:19:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-gui-vbscript-scripting-not-running-not-recording-playback-doesn-t-work/qaq-p/356735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2024-02-03T18:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAP GUI VBScript scripting not running / Not recording / Playback doesn't work</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-gui-vbscript-scripting-not-running-not-recording-playback-doesn-t-work/qaa-p/356736#M21712</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Are you running the script through SAP BPA?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards Gerben&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 13:07:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-gui-vbscript-scripting-not-running-not-recording-playback-doesn-t-work/qaa-p/356736#M21712</guid>
      <dc:creator>gmblom</dc:creator>
      <dc:date>2016-11-14T13:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAP GUI VBScript scripting not running / Not recording / Playback doesn't work</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-gui-vbscript-scripting-not-running-not-recording-playback-doesn-t-work/qaa-p/356737#M21713</link>
      <description>&lt;P&gt;Hello Pedro,&lt;/P&gt;&lt;P&gt;execute the report RSPARAM in the SE38 and set the filter for the parameter name to *script* and you will find a few backend parameters which controls the SAP GUI Scripting. Look at sapgui/user_scripting - should be true, sapgui/user_scripting_disable_recording - should be false, sapgui/user_scripting_force_notification - should be false, sapgui/user_scripting_set_readonly - should be false and sapgui/user_scripting_per_user - better false, otherwise you need explicite rights.&lt;/P&gt;&lt;P&gt;Cheers&lt;BR /&gt;Stefan &lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 05:59:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-gui-vbscript-scripting-not-running-not-recording-playback-doesn-t-work/qaa-p/356737#M21713</guid>
      <dc:creator>Stefan-Schnell</dc:creator>
      <dc:date>2016-12-07T05:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: SAP GUI VBScript scripting not running / Not recordin...</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-gui-vbscript-scripting-not-running-not-recording-playback-doesn-t-work/qaa-p/13668044#M4825495</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the same problem. What was the solution for your problem?&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Yvonne&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 09:34:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-gui-vbscript-scripting-not-running-not-recording-playback-doesn-t-work/qaa-p/13668044#M4825495</guid>
      <dc:creator>Yvonne1984</dc:creator>
      <dc:date>2024-04-12T09:34:19Z</dc:date>
    </item>
  </channel>
</rss>

