<?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: Variants -- with changing value!!! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/variants-with-changing-value/m-p/2323466#M510425</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, you could set up multiple variants and change which variant you call the program with each time you SUBMIT.  Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT program_name USING SELECTION-SET variant1 AND RETURN.&lt;/P&gt;&lt;P&gt;SUBMIT program_name USING SELECTION-SET variant2 AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(and so on).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way to do it is to specify the fields separately, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT program_name WITH parameter1 = w_field1 AND parameter2 = w_field2&lt;/P&gt;&lt;P&gt;AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use this same statement multiple times, changing the values of w_field1 and w_field2 between calls (for instance, by putting the submit statement inside a LOOP, ENDLOOP).  I hope this helps.&lt;/P&gt;&lt;P&gt; - April King&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jun 2007 13:08:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-06T13:08:46Z</dc:date>
    <item>
      <title>Variants -- with changing value!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variants-with-changing-value/m-p/2323464#M510423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to run a program by using the SUBMIT keyword and passing a variant using USING SELECTION-SET &amp;lt;variant name&amp;gt;&lt;/P&gt;&lt;P&gt; And the variant changes its values for each execution of the SUBMIT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the replies to a similar question posted in this forum, I found that we can have constant input values in a VARIANT and pass the changing values using the WITH keyword.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any other way to achieve this other than the above solution..........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help wud greatly be appreciated.!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 12:45:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variants-with-changing-value/m-p/2323464#M510423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T12:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Variants -- with changing value!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variants-with-changing-value/m-p/2323465#M510424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ramya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant might be changed by someone else explicitly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex: if there is a variant test, some one would have gone to the program and selected that vairant changed, and saved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;apart from this hope no other way af value changing in variant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;prabhu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if it is helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 12:49:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variants-with-changing-value/m-p/2323465#M510424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T12:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Variants -- with changing value!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variants-with-changing-value/m-p/2323466#M510425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, you could set up multiple variants and change which variant you call the program with each time you SUBMIT.  Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT program_name USING SELECTION-SET variant1 AND RETURN.&lt;/P&gt;&lt;P&gt;SUBMIT program_name USING SELECTION-SET variant2 AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(and so on).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way to do it is to specify the fields separately, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT program_name WITH parameter1 = w_field1 AND parameter2 = w_field2&lt;/P&gt;&lt;P&gt;AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use this same statement multiple times, changing the values of w_field1 and w_field2 between calls (for instance, by putting the submit statement inside a LOOP, ENDLOOP).  I hope this helps.&lt;/P&gt;&lt;P&gt; - April King&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 13:08:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variants-with-changing-value/m-p/2323466#M510425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T13:08:46Z</dc:date>
    </item>
  </channel>
</rss>

