<?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: SAP Gui 770 (Patch 7) ALV navigation problem in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/SAP-Gui-770-Patch-7-ALV-navigation-problem/m-p/63148#M16136</link>
    <description>&lt;P&gt;Hi Michael!&lt;/P&gt;
&lt;P&gt;Unfortunately, disabling accessibility is not an option. As accessibility changes some SAP screens (mainly popups, search helps, etc), disable it will bring more problems because of the number of robots we have running. In the past, We've decided to follow the BP instructions and activate it... now we cannot change without refactoring our bots (and they are many!)&lt;/P&gt;
&lt;P&gt;About your code, I've tried it. It works perfectly!&lt;/P&gt;
&lt;P&gt;We're waiting for an answer from our SAP Support... if they don't find an alternative, We'll adopt your code as a solution for these cases.&lt;/P&gt;
&lt;P&gt;I'll post the answer from SAP Team here.&lt;/P&gt;
&lt;P&gt;Thank you very much!&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Flavio Lara&lt;BR /&gt;System Analyst&lt;BR /&gt;Vallourec Tubos do Brasil&lt;BR /&gt;Belo HorizonteBrazil&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2023 11:53:00 GMT</pubDate>
    <dc:creator>flavio.lara</dc:creator>
    <dc:date>2023-02-09T11:53:00Z</dc:date>
    <item>
      <title>SAP Gui 770 (Patch 7) ALV navigation problem</title>
      <link>https://community.blueprism.com/t5/Product-Forum/SAP-Gui-770-Patch-7-ALV-navigation-problem/m-p/63146#M16134</link>
      <description>&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Hello Experts,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;When we have an ALV report (SAP GridView element type) with lots of lines, "Get All Items" returns many empty lines. We understood that SAP needs to return all lines to SAP Gui before BP could read them.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;To solve that, we navigate thru the ALV report sending "Page Down" commands until we reach the report's end. It forces SAP to return all lines to the ALV report and then, "Get All Items" works as expected.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="26826.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/26959i52981B168A298DBA/image-size/large?v=v2&amp;amp;px=999" role="button" title="26826.png" alt="26826.png" /&gt;&lt;/span&gt;
&lt;DIV&gt;&lt;SPAN&gt;Img1: My ALV report&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;After upgrading to SAP Gui 770 (Patch 7) we realized that "Page Down" does not work as expected. The cursor always moves back to the first (1st) line when SAP Gui reads a batch of lines from its database/memory to plot them in the ALV report.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;Check the scroll bar in the gif below. After load new lines, the cursor moves back to 1st line.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;After this, the lines still loaded and we can move down normally. Then, when we reach new lines, the cursor moves back again.&lt;/SPAN&gt;&lt;/DIV&gt;
This simulation does not uses blue prism. It&amp;nbsp; happens performing Page Down manually as well. It's a SAP Gui issue or new option that changed the behavior.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="26827.gif"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/26964i0E29413C7B059207/image-size/large?v=v2&amp;amp;px=999" role="button" title="26827.gif" alt="26827.gif" /&gt;&lt;/span&gt;
&lt;DIV&gt;&lt;SPAN&gt;Video1: Cursor moving back to 1st line&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;STRONG&gt;We did several tests, using SAP Gui 770 from patch 3 to patch 10.&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;The problem starts in Patch 7 and is still in further versions.&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="26828.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/26957i613152A03E7056BD/image-size/large?v=v2&amp;amp;px=999" role="button" title="26828.png" alt="26828.png" /&gt;&lt;/span&gt;
&lt;DIV&gt;&lt;SPAN&gt;Img2: SAP Gui Version and Patch Level&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;STRONG&gt;IMPORTANT: This behavior only occurs when accessibility options are active (as recommended in Blue Prism documentation).&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="26829.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/26958i2FE2818F2877A3C6/image-size/large?v=v2&amp;amp;px=999" role="button" title="26829.png" alt="26829.png" /&gt;&lt;/span&gt;
&lt;DIV&gt;&lt;SPAN&gt;Img3: Accessibility options in SAP Gui&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;Have you faced that situation in your projects? Is it possible to move back to the previous behavior, where the cursor does not move back to the 1st line after a page down, &lt;STRONG&gt;without performing an SAP Gui downgrade?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;We are trying some answer from our SAP provider as well.&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;We do appreciate any ideas/tips/guess.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
------------------------------&lt;BR /&gt;Flavio Lara&lt;BR /&gt;System Analyst&lt;BR /&gt;Vallourec Tubos do Brasil&lt;BR /&gt;Belo HorizonteBrazil&lt;BR /&gt;------------------------------</description>
      <pubDate>Tue, 07 Feb 2023 17:19:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/SAP-Gui-770-Patch-7-ALV-navigation-problem/m-p/63146#M16134</guid>
      <dc:creator>flavio.lara</dc:creator>
      <dc:date>2023-02-07T17:19:00Z</dc:date>
    </item>
    <item>
      <title>RE: SAP Gui 770 (Patch 7) ALV navigation problem</title>
      <link>https://community.blueprism.com/t5/Product-Forum/SAP-Gui-770-Patch-7-ALV-navigation-problem/m-p/63147#M16135</link>
      <description>&lt;P&gt;Hi Flavio, &lt;BR /&gt;&lt;BR /&gt;Disabling accessibility is not an option? We don't have it enabled and are using BluePrism since 2017 without any problems.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise you could&amp;nbsp; try code like this instead of sending Keystrokes.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;(Line is a variable that is incremented)&lt;/P&gt;
&lt;PRE class="language-vbnet"&gt;&lt;CODE&gt;dim oSession as Object


oSession = GetObject("SAPGUI").GetScriptingEngine.Children(0).Children(0) 

oSession.findById("wnd[0]/usr/cntlCUSTOM_SPLITTER/shellcont/shell/shellcont[2]/shell/shellcont[0]/shell").firstVisibleRow = Line
	
oSession = Nothing
&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael Wulf&lt;BR /&gt;Senior Developer Robotic Process Automation&lt;BR /&gt;e.kundenservice NETZ GmbH&lt;BR /&gt;Europe/Hamburg&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Feb 2023 15:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/SAP-Gui-770-Patch-7-ALV-navigation-problem/m-p/63147#M16135</guid>
      <dc:creator>michael.wulf</dc:creator>
      <dc:date>2023-02-08T15:49:00Z</dc:date>
    </item>
    <item>
      <title>RE: SAP Gui 770 (Patch 7) ALV navigation problem</title>
      <link>https://community.blueprism.com/t5/Product-Forum/SAP-Gui-770-Patch-7-ALV-navigation-problem/m-p/63148#M16136</link>
      <description>&lt;P&gt;Hi Michael!&lt;/P&gt;
&lt;P&gt;Unfortunately, disabling accessibility is not an option. As accessibility changes some SAP screens (mainly popups, search helps, etc), disable it will bring more problems because of the number of robots we have running. In the past, We've decided to follow the BP instructions and activate it... now we cannot change without refactoring our bots (and they are many!)&lt;/P&gt;
&lt;P&gt;About your code, I've tried it. It works perfectly!&lt;/P&gt;
&lt;P&gt;We're waiting for an answer from our SAP Support... if they don't find an alternative, We'll adopt your code as a solution for these cases.&lt;/P&gt;
&lt;P&gt;I'll post the answer from SAP Team here.&lt;/P&gt;
&lt;P&gt;Thank you very much!&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Flavio Lara&lt;BR /&gt;System Analyst&lt;BR /&gt;Vallourec Tubos do Brasil&lt;BR /&gt;Belo HorizonteBrazil&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 11:53:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/SAP-Gui-770-Patch-7-ALV-navigation-problem/m-p/63148#M16136</guid>
      <dc:creator>flavio.lara</dc:creator>
      <dc:date>2023-02-09T11:53:00Z</dc:date>
    </item>
    <item>
      <title>RE: SAP Gui 770 (Patch 7) ALV navigation problem</title>
      <link>https://community.blueprism.com/t5/Product-Forum/SAP-Gui-770-Patch-7-ALV-navigation-problem/m-p/63149#M16137</link>
      <description>&lt;P&gt;Hi Flavio,&lt;/P&gt;
&lt;P&gt;the solution may depend on what you need to do with the data in ALV report.&lt;/P&gt;
&lt;P&gt;If you need to examine all records and get to a particular record in SAP after reviewing the report data, one option may be saving report to CSV and working with text rather than SAP page scrolling.&lt;/P&gt;
&lt;P&gt;If you need to perform actions on the screen itself, then recording a macro would be an alternative. Bot account logged on to SAP would need access to Server Scripting for that.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Konstantin Kazantsev&lt;BR /&gt;Solutions Architect&lt;BR /&gt;Church and Dwight&lt;BR /&gt;America/New_York&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Feb 2023 16:37:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/SAP-Gui-770-Patch-7-ALV-navigation-problem/m-p/63149#M16137</guid>
      <dc:creator>kkazantsev</dc:creator>
      <dc:date>2023-02-09T16:37:00Z</dc:date>
    </item>
    <item>
      <title>RE: SAP Gui 770 (Patch 7) ALV navigation problem</title>
      <link>https://community.blueprism.com/t5/Product-Forum/SAP-Gui-770-Patch-7-ALV-navigation-problem/m-p/63150#M16138</link>
      <description>&lt;P&gt;Hi &amp;nbsp;Konstantin,&lt;/P&gt;
&lt;P&gt;Thank you for your answer.&lt;/P&gt;
&lt;P&gt;The requirement is to read all lines from an ALV grid without exporting the list. For that, we use "Get All Items" in Read stage.&lt;/P&gt;
&lt;P&gt;The issue is: we need to force SAP to return all lines to the screen before using "Get All Items". If not, the read stage returns blank lines.&lt;/P&gt;
&lt;P&gt;Your suggestion of downloading the list to an external file will work, but it will add a lot of steps to the process. Additionally, not all screens with an SAP GridView element have the "export" option available.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you again!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Flavio Lara&lt;BR /&gt;System Analyst&lt;BR /&gt;Vallourec Tubos do Brasil&lt;BR /&gt;Belo HorizonteBrazil&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Feb 2023 16:52:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/SAP-Gui-770-Patch-7-ALV-navigation-problem/m-p/63150#M16138</guid>
      <dc:creator>flavio.lara</dc:creator>
      <dc:date>2023-02-09T16:52:00Z</dc:date>
    </item>
    <item>
      <title>RE: SAP Gui 770 (Patch 7) ALV navigation problem</title>
      <link>https://community.blueprism.com/t5/Product-Forum/SAP-Gui-770-Patch-7-ALV-navigation-problem/m-p/63151#M16139</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1833"&gt;@michael.wulf&lt;/a&gt; and &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1343"&gt;@kkazantsev&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Just to give you feedback. Our SAP Support suggested creating the registry key below. We tried values 1 and 2 for this key without success.&lt;/P&gt;
&lt;P&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SAP\SAPGUI Front\SAP Frontend Server\Customize]&lt;BR /&gt;"AlvInitialFocusPosition"=dword:00000001&lt;/P&gt;
&lt;P&gt;The final decision is to downgrade SAP Gui to version 770 Patch 6 if using accessibility options.&lt;/P&gt;
&lt;P&gt;Thank you again for your help.&lt;/P&gt;
&lt;P&gt;Best regards!&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Flavio Lara&lt;BR /&gt;System Analyst&lt;BR /&gt;Vallourec Tubos do Brasil&lt;BR /&gt;Belo HorizonteBrazil&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Mar 2023 13:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/SAP-Gui-770-Patch-7-ALV-navigation-problem/m-p/63151#M16139</guid>
      <dc:creator>flavio.lara</dc:creator>
      <dc:date>2023-03-15T13:04:00Z</dc:date>
    </item>
  </channel>
</rss>

