<?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: Excel Macro screen update in Additional Q&amp;A</title>
    <link>https://community.sap.com/t5/additional-q-a/excel-macro-screen-update/qaa-p/7939651#M81359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Scriptman  Thank you , problem  resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 29 May 2011 06:32:59 GMT</pubDate>
    <dc:creator>Ziv_Marcovich</dc:creator>
    <dc:date>2011-05-29T06:32:59Z</dc:date>
    <item>
      <title>Excel Macro screen update</title>
      <link>https://community.sap.com/t5/additional-q-a/excel-macro-screen-update/qaq-p/7939649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm using  the above  approach to connect to SAP in order to upload data from excel to SAP R/3  transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Myquestions is there exist  away to prevent the screen flickering from EXCEL to SAP during the macro processing , tried to the statement at the excel macro :   Application.ScreenUpdating =FALSE  which didn't  worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words my requirement is not see SAP screen at all during the macro processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Not IsObject(SAPguiApp) Then&lt;/P&gt;&lt;P&gt;    Set SAPguiApp = CreateObject("Sapgui.ScriptingCtrl.1")&lt;/P&gt;&lt;P&gt;End If&lt;/P&gt;&lt;P&gt;If Not IsObject(Connection) Then&lt;/P&gt;&lt;P&gt;    Set Connection = SAPguiApp.OpenConnection("SYSTEM", True)&lt;/P&gt;&lt;P&gt;End If&lt;/P&gt;&lt;P&gt;If Not IsObject(Session) Then&lt;/P&gt;&lt;P&gt;    Set Session = Connection.Children(0)&lt;/P&gt;&lt;P&gt;End If&lt;/P&gt;&lt;P&gt;Session.findById("wnd[0]/usr/txtRSYST-MANDT").Text = "CLIENT"&lt;/P&gt;&lt;P&gt;Session.findById("wnd[0]/usr/txtRSYST-BNAME").Text = "USER"&lt;/P&gt;&lt;P&gt;Session.findById("wnd[0]/usr/pwdRSYST-BCODE").Text = "PASSWORD"&lt;/P&gt;&lt;P&gt;Session.findById("wnd[0]/usr/txtRSYST-LANGU").Text = "EN"&lt;/P&gt;&lt;P&gt;Session.findById("wnd[0]/usr/txtRSYST-LANGU").SetFocus&lt;/P&gt;&lt;P&gt;Session.findById("wnd[0]/usr/txtRSYST-LANGU").caretPosition = 2&lt;/P&gt;&lt;P&gt;Session.findById("wnd[0]").sendVKey 0&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;'Here follows the recorded VBScript . . .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2011 15:39:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/excel-macro-screen-update/qaq-p/7939649</guid>
      <dc:creator>Ziv_Marcovich</dc:creator>
      <dc:date>2011-05-28T15:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Macro screen update</title>
      <link>https://community.sap.com/t5/additional-q-a/excel-macro-screen-update/qaa-p/7939650#M81358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark, welcome to the forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd test it with session.findById("wnd [0]"). iconify. &lt;/P&gt;&lt;P&gt;And I would eliminate the command session.findById("wnd [0]").maximize.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ScriptMan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2011 21:21:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/excel-macro-screen-update/qaa-p/7939650#M81358</guid>
      <dc:creator>script_man</dc:creator>
      <dc:date>2011-05-28T21:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Macro screen update</title>
      <link>https://community.sap.com/t5/additional-q-a/excel-macro-screen-update/qaa-p/7939651#M81359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Scriptman  Thank you , problem  resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 May 2011 06:32:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/excel-macro-screen-update/qaa-p/7939651#M81359</guid>
      <dc:creator>Ziv_Marcovich</dc:creator>
      <dc:date>2011-05-29T06:32:59Z</dc:date>
    </item>
  </channel>
</rss>

