<?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: program for SAP query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-for-sap-query/m-p/2469490#M555008</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;To create a TCODE for Query&lt;/P&gt;&lt;P&gt;No need to use small report&lt;/P&gt;&lt;P&gt;No need to use generated program name (it really can change)&lt;/P&gt;&lt;P&gt;Just create a parameter transaction with reference to START_REPORT transaction. When creating a parameter transaction you have to set the following parameters:&lt;/P&gt;&lt;P&gt;D_SREPOVARI-REPORTTYPE = AQ&lt;/P&gt;&lt;P&gt;D_SREPOVARI-REPORT = precisely the first 12 characters - query user group (including trailing spaces), 13-th character is G for global queries&lt;/P&gt;&lt;P&gt;D_SREPOVARI-EXTDREPORT = Query name as shown in SQ01.&lt;/P&gt;&lt;P&gt;That's it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, and do not forget to check the flag "Skip first screen".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To all others interested: just try to add some SAP query into a role via PFCG, then run it, and then via System -&amp;gt; Status look into the definition of the transaction generated, and you'll see the answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1622155"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jul 2007 06:46:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-02T06:46:46Z</dc:date>
    <item>
      <title>program for SAP query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-for-sap-query/m-p/2469489#M555007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;              I have created a SAP query in sq03.Now i have to create a tcode for it.where shall i get the program name and screen name for it .when i enter the tcode it has to go to the selection screen of my SAP query.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 06:39:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-for-sap-query/m-p/2469489#M555007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T06:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: program for SAP query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-for-sap-query/m-p/2469490#M555008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;To create a TCODE for Query&lt;/P&gt;&lt;P&gt;No need to use small report&lt;/P&gt;&lt;P&gt;No need to use generated program name (it really can change)&lt;/P&gt;&lt;P&gt;Just create a parameter transaction with reference to START_REPORT transaction. When creating a parameter transaction you have to set the following parameters:&lt;/P&gt;&lt;P&gt;D_SREPOVARI-REPORTTYPE = AQ&lt;/P&gt;&lt;P&gt;D_SREPOVARI-REPORT = precisely the first 12 characters - query user group (including trailing spaces), 13-th character is G for global queries&lt;/P&gt;&lt;P&gt;D_SREPOVARI-EXTDREPORT = Query name as shown in SQ01.&lt;/P&gt;&lt;P&gt;That's it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, and do not forget to check the flag "Skip first screen".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To all others interested: just try to add some SAP query into a role via PFCG, then run it, and then via System -&amp;gt; Status look into the definition of the transaction generated, and you'll see the answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1622155"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 06:46:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-for-sap-query/m-p/2469490#M555008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T06:46:46Z</dc:date>
    </item>
  </channel>
</rss>

