<?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 Script: error due to popup in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-error-due-to-popup/m-p/5196336#M1202489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't know there were different "SAP script", I don't know were to assign this one...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use "SAP gui scripting" actually: it is a direct interface with SAP gui which can be used to emulate user interaction.&lt;/P&gt;&lt;P&gt;You can any actions that you do and execute them later on.&lt;/P&gt;&lt;P&gt;It is part of the SAP gui itself and works with any SAP system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You access it through "customixe local layout (Alt + F12)&amp;gt; script recording and play back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well my explanations might not be very clear... you can go to: &lt;A href="http://service.sap.com/sapgui" target="test_blank"&gt;http://service.sap.com/sapgui&lt;/A&gt; and find some documentation there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will see if I can reassign it to another forum!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Julien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Feb 2009 09:51:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-16T09:51:19Z</dc:date>
    <item>
      <title>SAP Script: error due to popup</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-error-due-to-popup/m-p/5196334#M1202487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to mass generate (or clear) orders using SAP script fonctionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I first record one example, then amend the script, and then re run for multiple products in one go.&lt;/P&gt;&lt;P&gt;It works fine most of the time...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately due to some master data setup the script sometime needs to be slighly changed from one orders to another (e.g if there is a minimum qty maintained I got a popup "are you sure you want to save", then my script bug...)&lt;/P&gt;&lt;P&gt;Most of the time just pressing enter or yes will help me, but I can't (or I don't want to) find out in advance when it will. So basically I want my script to be flexible enough to handle differents scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to modify the code to include a condition but I am not sure what the condition should look like... (obviously it should not look like anything I tried)&lt;/P&gt;&lt;P&gt;E.g:&lt;/P&gt;&lt;P&gt;If xxxxxxxx Then&lt;/P&gt;&lt;P&gt;session.findById("wnd[0]").sendVKey 0&lt;/P&gt;&lt;P&gt;(or session.findById("wnd[1]/usr/btnBUTTON_1").press)&lt;/P&gt;&lt;P&gt;End if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help me to fill the xxxxxxxxxxxxx, or explain to me how I can find out by myself?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it makes some sense for some of you (I am not sure to be very clear...)&lt;/P&gt;&lt;P&gt;If it does and you have a solution for me, please bear in mind that I am not an ABAP consultant and it is more or less my first day with SAP script, so please be gentle &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Julien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2009 15:58:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-error-due-to-popup/m-p/5196334#M1202487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-13T15:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Script: error due to popup</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-error-due-to-popup/m-p/5196335#M1202488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you explain what is "SAP Script" (this term is very well known by ABAPers but it means something else). Which SAP product do you use, which script language is it, which transaction (if applicable) is it ? Maybe you'll need to post to another forum if it's not related to abap.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2009 21:52:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-error-due-to-popup/m-p/5196335#M1202488</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2009-02-13T21:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Script: error due to popup</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-error-due-to-popup/m-p/5196336#M1202489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't know there were different "SAP script", I don't know were to assign this one...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use "SAP gui scripting" actually: it is a direct interface with SAP gui which can be used to emulate user interaction.&lt;/P&gt;&lt;P&gt;You can any actions that you do and execute them later on.&lt;/P&gt;&lt;P&gt;It is part of the SAP gui itself and works with any SAP system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You access it through "customixe local layout (Alt + F12)&amp;gt; script recording and play back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well my explanations might not be very clear... you can go to: &lt;A href="http://service.sap.com/sapgui" target="test_blank"&gt;http://service.sap.com/sapgui&lt;/A&gt; and find some documentation there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will see if I can reassign it to another forum!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Julien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2009 09:51:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-error-due-to-popup/m-p/5196336#M1202489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-16T09:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Script: error due to popup</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-error-due-to-popup/m-p/5196337#M1202490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will close the message and reopen it under the right forum.&lt;/P&gt;&lt;P&gt;(Expert Forums » Scripting Languages » Scripting, General )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Julien&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2009 10:00:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-error-due-to-popup/m-p/5196337#M1202490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-16T10:00:50Z</dc:date>
    </item>
  </channel>
</rss>

