<?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: Pass select option and parameter with submit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-option-and-parameter-with-submit/m-p/5152157#M1193806</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;Try this for select-options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SUBMIT PROGRAM_B
WITH S_MATNR *IN* S_MATNR -&amp;gt;pass all the values from a select option.
WITH P_WERKS EQ P_WERKS -&amp;gt;pass a single value from a parameter.
AND RETURN&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gilberto Li&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Gilberto Li on Feb 2, 2009 10:24 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Gilberto Li on Feb 2, 2009 10:33 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Gilberto Li on Feb 2, 2009 10:33 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Feb 2009 21:24:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-02T21:24:34Z</dc:date>
    <item>
      <title>Pass select option and parameter with submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-option-and-parameter-with-submit/m-p/5152156#M1193805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two programs and what i have to do is to use the selection screen information from program A and submit it to program B so that this second program will generate a report with this information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After program B is executed it creates some files in a server, which i will have to use later in program A. I cannot modify the program B since its not part of the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the thing is that i am having problems when submiting a select option and a parameter together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be really useful if someone could give some examples of this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of what i want to do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT PROGRAM_B&lt;/P&gt;&lt;P&gt;WITH S_MATNR EQ S_MATNR      -&amp;gt;pass all the values from a select option.&lt;/P&gt;&lt;P&gt;WITH P_WERKS EQ P_WERKS    -&amp;gt;pass a single value from a parameter.&lt;/P&gt;&lt;P&gt;AND RETURN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Roberto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2009 21:19:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-option-and-parameter-with-submit/m-p/5152156#M1193805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-02T21:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Pass select option and parameter with submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-option-and-parameter-with-submit/m-p/5152157#M1193806</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;Try this for select-options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SUBMIT PROGRAM_B
WITH S_MATNR *IN* S_MATNR -&amp;gt;pass all the values from a select option.
WITH P_WERKS EQ P_WERKS -&amp;gt;pass a single value from a parameter.
AND RETURN&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gilberto Li&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Gilberto Li on Feb 2, 2009 10:24 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Gilberto Li on Feb 2, 2009 10:33 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Gilberto Li on Feb 2, 2009 10:33 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2009 21:24:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-option-and-parameter-with-submit/m-p/5152157#M1193806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-02T21:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Pass select option and parameter with submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-option-and-parameter-with-submit/m-p/5152158#M1193807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you looked at the help (F1) for SUBMIT??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2009 21:24:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-option-and-parameter-with-submit/m-p/5152158#M1193807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-02T21:24:39Z</dc:date>
    </item>
  </channel>
</rss>

