<?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: Submit Report. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1450866#M213528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are calling the report dynamically, then you shouldn't be passing values thru the selection screen "Statically".    You should send the parameters thru with a selection-table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001.

data: isels type table of RSPARAMS with header line.

clear isels.
isels-SELNAME = 'S_DATUM'.
isels-KIND    = 'S'.
isels-SIGN    = 'I'.
isels-OPTION  = 'BT'.
isels-LOW     = sy-datum.
isels-HIGH    = sy-datum .
append isels.

clear isels.
isels-SELNAME = 'P_CHK'.
isels-KIND    = 'P'.
isels-LOW     = 'X'.
append isels.

submit &amp;lt;report_Name&amp;gt; via selection-screen
             with selection-table isels
                         and return.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&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, 28 Jun 2006 13:11:12 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2006-06-28T13:11:12Z</dc:date>
    <item>
      <title>Submit Report.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1450863#M213525</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 need to pass dynamic values to Submit (REPORT) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT  (L_REP)&lt;/P&gt;&lt;P&gt;       USING SELECTION-SET L_VARI&lt;/P&gt;&lt;P&gt;       WITH &amp;lt;b&amp;gt;ER_EBELN&amp;lt;/b&amp;gt; IN &amp;lt;b&amp;gt;R_EBELN&amp;lt;/b&amp;gt; AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above statement is it possible to pass dynamic values instead of ER_EBELN. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2006 12:58:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1450863#M213525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-28T12:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Submit Report.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1450864#M213526</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 to use the option WITH SELECTION-TABLE &amp;lt;seltab&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2006 13:05:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1450864#M213526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-28T13:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Submit Report.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1450865#M213527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you can declare field symbols.&lt;/P&gt;&lt;P&gt;Assign field name to that field sysmbol.&lt;/P&gt;&lt;P&gt;Pass the field symbol to ER_EBELN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;TM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2006 13:06:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1450865#M213527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-28T13:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Submit Report.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1450866#M213528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are calling the report dynamically, then you shouldn't be passing values thru the selection screen "Statically".    You should send the parameters thru with a selection-table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001.

data: isels type table of RSPARAMS with header line.

clear isels.
isels-SELNAME = 'S_DATUM'.
isels-KIND    = 'S'.
isels-SIGN    = 'I'.
isels-OPTION  = 'BT'.
isels-LOW     = sy-datum.
isels-HIGH    = sy-datum .
append isels.

clear isels.
isels-SELNAME = 'P_CHK'.
isels-KIND    = 'P'.
isels-LOW     = 'X'.
append isels.

submit &amp;lt;report_Name&amp;gt; via selection-screen
             with selection-table isels
                         and return.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&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, 28 Jun 2006 13:11:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1450866#M213528</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-06-28T13:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Submit Report.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1450867#M213529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rich Heilman ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I GOT IT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Pavan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Pavan Kothapalli&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2006 13:25:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1450867#M213529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-28T13:25:50Z</dc:date>
    </item>
  </channel>
</rss>

