<?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: Single program to execute several queries in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/single-program-to-execute-several-queries/m-p/9170018#M1711967</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sijin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That seems to work just fine!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Nov 2012 12:22:16 GMT</pubDate>
    <dc:creator>former_member237439</dc:creator>
    <dc:date>2012-11-27T12:22:16Z</dc:date>
    <item>
      <title>Single program to execute several queries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/single-program-to-execute-several-queries/m-p/9170016#M1711965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two queries that I have created in SQ01. Both queries have PRPS-PSPHI as a selection parameter and have variants with output into private files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above works just fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to do is execute a single program that calls both queries with just one selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that somehow possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;BR /&gt;Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. I have located the FM RSAQ_QUERY_CALL that might be usefull?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 09:26:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/single-program-to-execute-several-queries/m-p/9170016#M1711965</guid>
      <dc:creator>former_member237439</dc:creator>
      <dc:date>2012-11-27T09:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Single program to execute several queries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/single-program-to-execute-several-queries/m-p/9170017#M1711966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am not sure about FM &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;RSAQ_QUERY_CALL&lt;/SPAN&gt; , but I think that you can use SUBMIT command to accomplish your task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you execute your Query from SQ01 , selection screen appears just check the program name from System &amp;gt; Status.&lt;/P&gt;&lt;P&gt;The name usually is alpha numeric and a bit long.&lt;/P&gt;&lt;P&gt;I think you can use SUBMIT command with Variant option to call this from another program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg : SUBMIT AQZZ/GRC/APPL===FI_AP_21_Q1=== &lt;SPAN style="color: #000000; font-size: 10pt; background-color: #ffffef; font-family: 'Courier New';"&gt;&lt;STRONG&gt;USING SELECTION-SET &lt;EM&gt;variant.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; background-color: #ffffef; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 11:15:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/single-program-to-execute-several-queries/m-p/9170017#M1711966</guid>
      <dc:creator>Sijin_Chandran</dc:creator>
      <dc:date>2012-11-27T11:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Single program to execute several queries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/single-program-to-execute-several-queries/m-p/9170018#M1711967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sijin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That seems to work just fine!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 12:22:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/single-program-to-execute-several-queries/m-p/9170018#M1711967</guid>
      <dc:creator>former_member237439</dc:creator>
      <dc:date>2012-11-27T12:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Single program to execute several queries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/single-program-to-execute-several-queries/m-p/9170019#M1711968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For information on &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;RSAQ_QUERY_CALL and more recent &lt;/SPAN&gt;IQAPI_QCALL, read &lt;A class="urLnkFunction urVt1 active_link" href="https://service.sap.com/sap/support/notes/393160" title="Right mouse click to add this SAP Note to your browser favorites"&gt;&lt;SPAN class="urTxtH1" id="header_data"&gt;Note 393160 - SAP Query: Using queries&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also generate program name (and insure it is generated in a transport target system or after an upgrade, database change, etc.) with RSAQ_CREATE_QUERY_REPORT, then SUBMIT the returned program WITH parameters or selection set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 13:55:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/single-program-to-execute-several-queries/m-p/9170019#M1711968</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-11-27T13:55:57Z</dc:date>
    </item>
  </channel>
</rss>

