<?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>topic RE: I know it, but i don´t want… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/SAP-Scripting-in-Code-Stage/m-p/57897#M11822</link>
    <description>Hi&amp;nbsp;&lt;SPAN&gt;&lt;SPAN&gt;Sharath Kumar Pennada,&lt;BR /&gt;&lt;BR /&gt;When I use&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;PRE class="language-markup"&gt;If Not IsObject(session) Then
   session    = Connection.Children(0)
End If&lt;/PRE&gt;
&lt;P&gt;then Blue Prism complained that IsObject is not declared. Do you know which namespace I have to import for that to work?&lt;BR /&gt;&lt;BR /&gt;Thank you and best regards&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Hoài Anh Ngô Vi&lt;BR /&gt;Technical Consultant&lt;BR /&gt;NTT DATA&lt;BR /&gt;Europe/Berlin&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 06 Feb 2020 11:53:00 GMT</pubDate>
    <dc:creator>Hoài_AnhNgô_Vi</dc:creator>
    <dc:date>2020-02-06T11:53:00Z</dc:date>
    <item>
      <title>SAP Scripting in Code Stage</title>
      <link>https://community.blueprism.com/t5/Product-Forum/SAP-Scripting-in-Code-Stage/m-p/57892#M11817</link>
      <description>Hi All,

I know the SAP GUI scripting works well with Microsoft Excel.

Is there a way to execute SAP scripts in code stage in Blue Prism?

If Yes, What needs to be done in this case?

&amp;nbsp;

Regards,

Daniel</description>
      <pubDate>Tue, 26 Feb 2019 16:00:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/SAP-Scripting-in-Code-Stage/m-p/57892#M11817</guid>
      <dc:creator>Daniel_JebarajJ</dc:creator>
      <dc:date>2019-02-26T16:00:00Z</dc:date>
    </item>
    <item>
      <title>I want to Know the same.
 …</title>
      <link>https://community.blueprism.com/t5/Product-Forum/SAP-Scripting-in-Code-Stage/m-p/57893#M11818</link>
      <description>I want to Know the same.
&amp;nbsp;
Please could somebody helps us?</description>
      <pubDate>Thu, 28 Feb 2019 16:38:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/SAP-Scripting-in-Code-Stage/m-p/57893#M11818</guid>
      <dc:creator>Davidde_Miguel</dc:creator>
      <dc:date>2019-02-28T16:38:00Z</dc:date>
    </item>
    <item>
      <title>Hi,
it is possible either by…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/SAP-Scripting-in-Code-Stage/m-p/57894#M11819</link>
      <description>Hi,
it is possible either by spying exact way as you would start SAP script manually.. OR faster way is to start SAP script via Utility - Environment --&amp;gt; ""Start process"" where you insert script path.
&amp;nbsp;
&amp;nbsp;</description>
      <pubDate>Thu, 28 Feb 2019 18:01:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/SAP-Scripting-in-Code-Stage/m-p/57894#M11819</guid>
      <dc:creator>RomanChrast</dc:creator>
      <dc:date>2019-02-28T18:01:00Z</dc:date>
    </item>
    <item>
      <title>I know it, but i don´t want…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/SAP-Scripting-in-Code-Stage/m-p/57895#M11820</link>
      <description>I know it, but i don´t want to put code in files to execute it, i want to develop the code in Blueprism</description>
      <pubDate>Fri, 01 Mar 2019 13:10:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/SAP-Scripting-in-Code-Stage/m-p/57895#M11820</guid>
      <dc:creator>Davidde_Miguel</dc:creator>
      <dc:date>2019-03-01T13:10:00Z</dc:date>
    </item>
    <item>
      <title>RE: I know it, but i don´t want…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/SAP-Scripting-in-Code-Stage/m-p/57896#M11821</link>
      <description>This can be achieved using Code Stage.&lt;BR /&gt;&lt;BR /&gt;Step 1:&amp;nbsp; Have your script ready. In my case , I use the SAP recording feature (Customize Layout - &amp;gt; Script Recording and Play Back) to generate&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;script.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;From the generated script Recording take code starting from "session.findById("wnd[0]").maximize ......"&lt;BR /&gt;&lt;BR /&gt;Step 2: Go to Initialize action in BO- under code options add the below name space&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"Microsoft.VisualBasic.Interaction"&lt;BR /&gt;&lt;BR /&gt;Step 3: Open your code stage in any action and add these lines in it :&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim SapGuiAuto As Object &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim session As Object &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim Application As Object &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim Connection As Object &lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SapGuiAuto&amp;nbsp; = GetObject("SAPGUI")&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Application = SapGuiAuto.GetScriptingEngine &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Connection = Application.Children(0)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;session&amp;nbsp;&amp;nbsp;&amp;nbsp; = Connection.Children(0)&lt;BR /&gt;&lt;BR /&gt;Step 4: Now add your code from Step 1 in the after above line in code stage.&lt;BR /&gt;&lt;BR /&gt;It will work fine.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sharath Kumar Pennada&lt;BR /&gt;Consultant&lt;BR /&gt;Deloitte Consulting India Private Limited&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 31 May 2019 08:31:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/SAP-Scripting-in-Code-Stage/m-p/57896#M11821</guid>
      <dc:creator>Sharath_KumarPe</dc:creator>
      <dc:date>2019-05-31T08:31:00Z</dc:date>
    </item>
    <item>
      <title>RE: I know it, but i don´t want…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/SAP-Scripting-in-Code-Stage/m-p/57897#M11822</link>
      <description>Hi&amp;nbsp;&lt;SPAN&gt;&lt;SPAN&gt;Sharath Kumar Pennada,&lt;BR /&gt;&lt;BR /&gt;When I use&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;PRE class="language-markup"&gt;If Not IsObject(session) Then
   session    = Connection.Children(0)
End If&lt;/PRE&gt;
&lt;P&gt;then Blue Prism complained that IsObject is not declared. Do you know which namespace I have to import for that to work?&lt;BR /&gt;&lt;BR /&gt;Thank you and best regards&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Hoài Anh Ngô Vi&lt;BR /&gt;Technical Consultant&lt;BR /&gt;NTT DATA&lt;BR /&gt;Europe/Berlin&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Feb 2020 11:53:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/SAP-Scripting-in-Code-Stage/m-p/57897#M11822</guid>
      <dc:creator>Hoài_AnhNgô_Vi</dc:creator>
      <dc:date>2020-02-06T11:53:00Z</dc:date>
    </item>
    <item>
      <title>RE: I know it, but i don´t want…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/SAP-Scripting-in-Code-Stage/m-p/57898#M11823</link>
      <description>Hi&amp;nbsp;Hoài Anh Ngô Vi ,&lt;BR /&gt;&lt;BR /&gt;Please follow the steps mentioned above.&lt;BR /&gt;Step 2: have the namespace.&lt;BR /&gt;Step 3: You have to use entire code mentioned there.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Sharath&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sharath Kumar Pennada&lt;BR /&gt;Consultant&lt;BR /&gt;Deloitte Consulting India Private Limited&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Feb 2020 13:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/SAP-Scripting-in-Code-Stage/m-p/57898#M11823</guid>
      <dc:creator>Sharath_KumarPe</dc:creator>
      <dc:date>2020-02-06T13:04:00Z</dc:date>
    </item>
  </channel>
</rss>

