<?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 Scripting in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sap-scripting/qaa-p/12570571#M4713554</link>
    <description>&lt;P&gt;Welcome to the SAP Community! Thank you for visiting us to get
answers to your questions.&lt;/P&gt;

&lt;P&gt;Since you're asking a question here for the first time, I'd like
to offer some friendly advice on how to get the most out of your community
membership and experience.&lt;/P&gt;

&lt;P&gt;First, please see &lt;A href="https://community.sap.com/resources/questions-and-answers" target="_blank"&gt;https://community.sap.com/resources/questions-and-answers&lt;/A&gt;, as this resource page provides tips for preparing questions that
draw responses from our members. Secondly, feel free to take our Q&amp;amp;A
tutorial at &lt;A href="https://developers.sap.com/tutorials/community-qa.html" target="_blank"&gt;https://developers.sap.com/tutorials/community-qa.html&lt;/A&gt; as well, as that will help you when submitting questions to
the community.&lt;/P&gt;

&lt;P&gt;Finally, I recommend that you include a profile picture. By
personalizing your profile, you encourage readers to respond: &lt;A href="https://developers.sap.com/tutorials/community-profile.html" target="_blank"&gt;https://developers.sap.com/tutorials/community-profile.html&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;I hope you find this advice
useful, and we're happy to have you as part of SAP Community!&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Dedi&lt;/P&gt;</description>
    <pubDate>Sun, 04 Sep 2022 14:50:44 GMT</pubDate>
    <dc:creator>former_member27</dc:creator>
    <dc:date>2022-09-04T14:50:44Z</dc:date>
    <item>
      <title>SAP Scripting</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-scripting/qaq-p/12570570</link>
      <description>&lt;P&gt;Olá Pessoal,&lt;/P&gt;
  &lt;P&gt;Gostaria de ajuda de vocês para execução de um SAP Scripting onde aparece uma janela com campo de seleção.&lt;/P&gt;
  &lt;P&gt;Nos exemplos em anexo uma consulta da instalação abre uma janela com 3 dados diferentes mas eu só preciso selecionar 1 delas. Fiz a gravação do script mas ocorre um problema pois fiz a 2 ou 4 esses dados para escolher, mas em outras podem somente 2 e assim por diante.&lt;/P&gt;
  &lt;P&gt;Haveria uma forma de definir que ele olhe não pela "posição" marcada e sim pela data?&lt;/P&gt;
  &lt;P&gt;Segue o código gravado.&lt;/P&gt;
  &lt;P&gt;If Not IsObject(application) Then &lt;BR /&gt;Set SapGuiAuto = GetObject("SAPGUI") &lt;BR /&gt;Set application = SapGuiAuto.GetScriptingEngine &lt;BR /&gt;End If &lt;BR /&gt;If Not IsObject(connection) Then &lt;BR /&gt;Set connection = application.Children(0) &lt;BR /&gt;End If &lt;BR /&gt;If Not IsObject(session) Then &lt;BR /&gt;Set session = connection.Children(0) &lt;BR /&gt;End If &lt;BR /&gt;If IsObject(WScript) Then &lt;BR /&gt;WScript.ConnectObject sessão, "on" &lt;BR /&gt;aplicativo WScript.ConnectObject, "on" &lt;BR /&gt;End If &lt;BR /&gt;session.findById("wnd[0]").maximize &lt;BR /&gt;session.findById ("wnd[0]").sendVKey 0&lt;BR /&gt;session.findById("wnd[1]/usr/chk[1,6]").selected = true - &lt;STRONG&gt;Esse é o ponto onde ele marca a caixa que esta com dados de 02/08 - Onde esta [1,6] pode ser uma valor. &lt;/STRONG&gt;&lt;STRONG&gt;Para uma consulta poder ser [1,6] mas para outra [1,5] ou [1,4]&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;session.findById("wnd[1]/usr/chk[1,6]").setFocus &lt;BR /&gt;session.findById("wnd[1]/tbar[0]/btn[0]").press&lt;/P&gt;
  &lt;P&gt;Desde já!&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2089769-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2089768-image.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Sep 2022 14:50:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-scripting/qaq-p/12570570</guid>
      <dc:creator>former_member819926</dc:creator>
      <dc:date>2022-09-04T14:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Scripting</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-scripting/qaa-p/12570571#M4713554</link>
      <description>&lt;P&gt;Welcome to the SAP Community! Thank you for visiting us to get
answers to your questions.&lt;/P&gt;

&lt;P&gt;Since you're asking a question here for the first time, I'd like
to offer some friendly advice on how to get the most out of your community
membership and experience.&lt;/P&gt;

&lt;P&gt;First, please see &lt;A href="https://community.sap.com/resources/questions-and-answers" target="_blank"&gt;https://community.sap.com/resources/questions-and-answers&lt;/A&gt;, as this resource page provides tips for preparing questions that
draw responses from our members. Secondly, feel free to take our Q&amp;amp;A
tutorial at &lt;A href="https://developers.sap.com/tutorials/community-qa.html" target="_blank"&gt;https://developers.sap.com/tutorials/community-qa.html&lt;/A&gt; as well, as that will help you when submitting questions to
the community.&lt;/P&gt;

&lt;P&gt;Finally, I recommend that you include a profile picture. By
personalizing your profile, you encourage readers to respond: &lt;A href="https://developers.sap.com/tutorials/community-profile.html" target="_blank"&gt;https://developers.sap.com/tutorials/community-profile.html&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;I hope you find this advice
useful, and we're happy to have you as part of SAP Community!&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Dedi&lt;/P&gt;</description>
      <pubDate>Sun, 04 Sep 2022 14:50:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-scripting/qaa-p/12570571#M4713554</guid>
      <dc:creator>former_member27</dc:creator>
      <dc:date>2022-09-04T14:50:44Z</dc:date>
    </item>
  </channel>
</rss>

