<?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 Pass values dynamically to selection screen through SUBMIT program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-values-dynamically-to-selection-screen-through-submit-program/m-p/6383771#M1403597</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can refer this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;link:[http://www.sapfans.com/forums/viewtopic.php?f=13&amp;amp;t=175884&amp;amp;start=0&amp;amp;st=0&amp;amp;sk=t&amp;amp;sd=a]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Nov 2009 09:32:28 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2009-11-26T09:32:28Z</dc:date>
    <item>
      <title>How to Pass values dynamically to selection screen through SUBMIT program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-values-dynamically-to-selection-screen-through-submit-program/m-p/6383770#M1403596</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;&lt;/P&gt;&lt;P&gt;How to Pass values dynamically to selection screen (to transaction FAGLL03) through SUBMIT program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have tried the below code, but its not working.Please check and let know..if anything i have to add to my code.&lt;/P&gt;&lt;P&gt;kindly give me any suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: trange TYPE rsds_trange,&lt;/P&gt;&lt;P&gt;trange_line&lt;/P&gt;&lt;P&gt;LIKE LINE OF trange,&lt;/P&gt;&lt;P&gt;trange_frange_t_line&lt;/P&gt;&lt;P&gt;LIKE LINE OF trange_line-frange_t,&lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line&lt;/P&gt;&lt;P&gt;LIKE LINE OF trange_frange_t_line-selopt_t,&lt;/P&gt;&lt;P&gt;texpr TYPE rsds_texpr.&lt;/P&gt;&lt;P&gt;trange_line-tablename = 'BSIS'. "'FAGLFLEXA_FS'.&lt;/P&gt;&lt;P&gt;trange_frange_t_line-fieldname = 'PRCTR'.&lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line-sign = 'I'.&lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line-option = 'EQ'.&lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line-low = l_prctr.&lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line-high = l_prctr.&lt;/P&gt;&lt;P&gt;APPEND trange_frange_t_selopt_t_line&lt;/P&gt;&lt;P&gt;TO trange_frange_t_line-selopt_t.&lt;/P&gt;&lt;P&gt;APPEND trange_frange_t_line TO trange_line-frange_t.&lt;/P&gt;&lt;P&gt;APPEND trange_line TO trange.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;curr_report = l_report&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SP =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;selection_table = lt_params&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;NOT_FOUND = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;NO_REPORT = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;OTHERS = 3&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;field_ranges = trange&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;expressions = texpr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_params-selname = 'RLDNR'.&lt;/P&gt;&lt;P&gt;ls_params-low = '0L'.&lt;/P&gt;&lt;P&gt;APPEND ls_params TO lt_params.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_params-selname = 'X_NORM'.&lt;/P&gt;&lt;P&gt;ls_params-low = 'X'.&lt;/P&gt;&lt;P&gt;APPEND ls_params TO lt_params.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_params-selname = 'SD_SAKNR-LOW'.&lt;/P&gt;&lt;P&gt;ls_params-low = l_acct.&lt;/P&gt;&lt;P&gt;APPEND ls_params TO lt_params.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT s_bukrs INTO lwa_bukrs.&lt;/P&gt;&lt;P&gt;ls_params-selname = 'SD_BUKRS-LOW'.&lt;/P&gt;&lt;P&gt;ls_params-kind = 'S'.&lt;/P&gt;&lt;P&gt;ls_params-sign = lwa_bukrs-sign.&lt;/P&gt;&lt;P&gt;ls_params-option = lwa_bukrs-option.&lt;/P&gt;&lt;P&gt;ls_params-low = lwa_bukrs-low.&lt;/P&gt;&lt;P&gt;ls_params-high = lwa_bukrs-high.&lt;/P&gt;&lt;P&gt;APPEND ls_params TO lt_params.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;IF NOT l_report IS INITIAL AND lt_params[] IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;SUBMIT (l_report) WITH SELECTION-TABLE lt_params&lt;/P&gt;&lt;P&gt;WITH FREE SELECTIONS texpr AND RETURN.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;PLP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2009 09:21:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-values-dynamically-to-selection-screen-through-submit-program/m-p/6383770#M1403596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-26T09:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to Pass values dynamically to selection screen through SUBMIT program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-values-dynamically-to-selection-screen-through-submit-program/m-p/6383771#M1403597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can refer this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;link:[http://www.sapfans.com/forums/viewtopic.php?f=13&amp;amp;t=175884&amp;amp;start=0&amp;amp;st=0&amp;amp;sk=t&amp;amp;sd=a]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2009 09:32:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-values-dynamically-to-selection-screen-through-submit-program/m-p/6383771#M1403597</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-11-26T09:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to Pass values dynamically to selection screen through SUBMIT program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-values-dynamically-to-selection-screen-through-submit-program/m-p/6383772#M1403598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello PLP Reddy,&lt;/P&gt;&lt;P&gt;You can simply pass values to any transaction provided you know the screen-field names;&lt;/P&gt;&lt;P&gt;1. Run transaction FAGLL03;&lt;/P&gt;&lt;P&gt;for instance you got to pass value to the screen-field G/L account; place the cursor over it-&amp;gt;press F1-&amp;gt;technical information(harware tools icon)-&amp;gt;Parameter ID. &lt;/P&gt;&lt;P&gt;2. Copy the parameter ID;&lt;/P&gt;&lt;P&gt;3. Code in your program;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data:
  w_saknr type sak1-saknr.

w_saknr = 1000.

  set parameter id 'SAK' field w_saknr.
    call transaction 'FAGLL03' and skip first screen.
    commit work.
    wait up to 10 seconds.      " optional&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like-wise you can set as many paramters you want and call your desired transactions provided Parameter-ID should match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Zahack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2009 09:45:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-values-dynamically-to-selection-screen-through-submit-program/m-p/6383772#M1403598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-26T09:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to Pass values dynamically to selection screen through SUBMIT program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-values-dynamically-to-selection-screen-through-submit-program/m-p/6383773#M1403599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anybody help me..............&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2009 10:09:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-values-dynamically-to-selection-screen-through-submit-program/m-p/6383773#M1403599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-26T10:09:17Z</dc:date>
    </item>
  </channel>
</rss>

