<?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: How to programmatically obtain the input parameters for a report? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-obtain-the-input-parameters-for-a-report/m-p/974807#M70605</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you are correct.  You can pass the paramters using the WITH extension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SUBMIT report_name 
         with P_PARM1 = "Whatever"
         and return.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here P_PARM1 is a parameter in the &amp;lt;report_name&amp;gt; program. It works with select-options in a simular fashion.  You can do F1 help for more info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, please remember to award points for helpful answers.  Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Aug 2005 19:07:49 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2005-08-03T19:07:49Z</dc:date>
    <item>
      <title>How to programmatically obtain the input parameters for a report?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-obtain-the-input-parameters-for-a-report/m-p/974802#M70600</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;Is there a programmtic way to obtain the list of input parameters for a report?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pradeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jul 2005 18:53:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-obtain-the-input-parameters-for-a-report/m-p/974802#M70600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-23T18:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to programmatically obtain the input parameters for a report?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-obtain-the-input-parameters-for-a-report/m-p/974803#M70601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0003.


data:
      selctab type table of rsscr with header line.

data:  syrepid type sy-repid.


parameters: p_chk type c.
select-options: s_chk for sy-datum.

syrepid = sy-repid.


load report syrepid part 'SSCR' into selctab.


loop at selctab.

  if selctab-kind = 'S'
    or selctab-kind = 'P'.

    write:/ selctab-name, selctab-kind.
  endif.

endloop.

check sy-subrc = 0.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Jul 2005 02:48:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-obtain-the-input-parameters-for-a-report/m-p/974803#M70601</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-07-24T02:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to programmatically obtain the input parameters for a report?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-obtain-the-input-parameters-for-a-report/m-p/974804#M70602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you give more detail about your requirement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sasi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Jul 2005 03:56:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-obtain-the-input-parameters-for-a-report/m-p/974804#M70602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-24T03:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to programmatically obtain the input parameters for a report?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-obtain-the-input-parameters-for-a-report/m-p/974805#M70603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or you could use the following function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;RS_REPORTSELECTIONS_INFO&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just pass the report name and get back all the parameters /select-options details along with their DB reference filed info and defaults as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Jul 2005 04:46:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-obtain-the-input-parameters-for-a-report/m-p/974805#M70603</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-07-24T04:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to programmatically obtain the input parameters for a report?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-obtain-the-input-parameters-for-a-report/m-p/974806#M70604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the background on what I need to accomplish. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating an ABAP report that in turn must call other ABAP reports and aggregate the output of all these reports. To run a report, it appears that I need to call "Submit" with a report name. Is this right? How do I pass the parameters to submit?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you once again for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pradeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2005 19:03:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-obtain-the-input-parameters-for-a-report/m-p/974806#M70604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-03T19:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to programmatically obtain the input parameters for a report?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-obtain-the-input-parameters-for-a-report/m-p/974807#M70605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you are correct.  You can pass the paramters using the WITH extension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SUBMIT report_name 
         with P_PARM1 = "Whatever"
         and return.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here P_PARM1 is a parameter in the &amp;lt;report_name&amp;gt; program. It works with select-options in a simular fashion.  You can do F1 help for more info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, please remember to award points for helpful answers.  Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2005 19:07:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-obtain-the-input-parameters-for-a-report/m-p/974807#M70605</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-08-03T19:07:49Z</dc:date>
    </item>
  </channel>
</rss>

