<?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: Problems using WITH SELECTION-TABLE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-with-selection-table/m-p/4630010#M1090402</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured it out, using my original code I added a call to RS_REFRESH_FROM_SELECTOPTIONS and found that for some reason the first entry in S_SGRNRS is getting padded with 0's but the 2nd one is not. I manually padded the numbers with 0's and now it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the results of the call to RS_REFRESH_FROM_SELECTOPTIONS before I padded the numbers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1	S_BUKRS	S&lt;/P&gt;&lt;P&gt;2	S_FUNLOC	S&lt;/P&gt;&lt;P&gt;3	S_MUNKEY	S&lt;/P&gt;&lt;P&gt;4	S_ORDER	S&lt;/P&gt;&lt;P&gt;5	S_REGKEY	S&lt;/P&gt;&lt;P&gt;6	S_SGRNR	S	I	EQ	00000273&lt;/P&gt;&lt;P&gt;7	S_SGRNR	S	I	EQ	275&lt;/P&gt;&lt;P&gt;8	S_SURF	S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Oct 2008 20:05:05 GMT</pubDate>
    <dc:creator>mike_reader3</dc:creator>
    <dc:date>2008-10-24T20:05:05Z</dc:date>
    <item>
      <title>Problems using WITH SELECTION-TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-with-selection-table/m-p/4630003#M1090395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to call rfrecpsfa140 using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SUBMIT rfrecpsfa140&lt;/P&gt;&lt;P&gt;  "VIA SELECTION-SCREEN&lt;/P&gt;&lt;P&gt;  WITH SELECTION-TABLE gt_rsparams. "parameter table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am setting up the table gt_rsparams like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  "Company Code&lt;/P&gt;&lt;P&gt;  wa_rsparams-selname = 'S_BUKRS'.&lt;/P&gt;&lt;P&gt;  wa_rsparams-kind    = 'S'.&lt;/P&gt;&lt;P&gt;  wa_rsparams-low     = '1000'.&lt;/P&gt;&lt;P&gt;  wa_rsparams-sign    = 'I'.&lt;/P&gt;&lt;P&gt;  wa_rsparams-option  = 'EQ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND wa_rsparams TO gt_rsparams.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  "Land Record&lt;/P&gt;&lt;P&gt;  wa_rsparams-selname = 'S_SGRNR'.&lt;/P&gt;&lt;P&gt;  wa_rsparams-kind    = 'S'.&lt;/P&gt;&lt;P&gt;  wa_rsparams-low     = '287'.&lt;/P&gt;&lt;P&gt;  wa_rsparams-sign    = 'I'.&lt;/P&gt;&lt;P&gt;  wa_rsparams-option  = 'EQ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND wa_rsparams TO gt_rsparams.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; "Land Record&lt;/P&gt;&lt;P&gt;  wa_rsparams-selname = 'S_SGRNR'.&lt;/P&gt;&lt;P&gt;  wa_rsparams-kind    = 'S'.&lt;/P&gt;&lt;P&gt;  wa_rsparams-low     = '392'.&lt;/P&gt;&lt;P&gt;  wa_rsparams-sign    = 'I'.&lt;/P&gt;&lt;P&gt;  wa_rsparams-option  = 'EQ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND wa_rsparams TO gt_rsparams.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table is defined like this&lt;/P&gt;&lt;P&gt;       gt_rsparams            TYPE STANDARD TABLE OF rsparams,            "parameter table&lt;/P&gt;&lt;P&gt;       wa_rsparams            like line of gt_rsparams.                   "Work area for gt_rsparams&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I am having is that I am only seeing the results for the first land record, if I uncomment the VIA SELECTION SCREEN and run it, the Multiple Selections is Active, when I go into the multiple selections I can see both land records, however, if I close out of that window I get a message "The entered selections were not copied". If I select Copy from that screen, then run it I get info for both land records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems like I am setting up the gt_rsparams table wrong, or maybe calling the program incorrectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 21:58:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-with-selection-table/m-p/4630003#M1090395</guid>
      <dc:creator>mike_reader3</dc:creator>
      <dc:date>2008-10-23T21:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problems using WITH SELECTION-TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-with-selection-table/m-p/4630004#M1090396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this way..&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: r_bukrs type range of bukrs,
        wa_bukrs like line of r_bukrs,
        r_sgrnr type range of sgrnr,
        w_sgrnr like line of r_sgrnr.

*wa_bukrs-selname = 'S_BUKRS'.
wa_bukrs-low = '1000'.
wa_bukrs-sign = 'I'.
wa_bukrs-option = 'EQ'.
APPEND wa_bukrs TO r_bukrs.

*w_sgrnr-selname = 'S_SGRNR'.
w_sgrnr-low = '287'.
w_sgrnr-sign = 'I'.
w_sgrnr-option = 'EQ'.
APPEND w_sgrnr TO r_sgrnr.

*w_sgrnr-selname = 'S_SGRNR'.
w_sgrnr-low = '392'.
w_sgrnr-sign = 'I'.
w_sgrnr-option = 'EQ'.
APPEND w_sgrnr TO r_sgrnr.

SUBMIT rfrecpsfa140
  with s_bukrs in r_bukrs
  with s_rgrnr in r_sgrnr
  and return.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 04:20:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-with-selection-table/m-p/4630004#M1090396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T04:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problems using WITH SELECTION-TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-with-selection-table/m-p/4630005#M1090397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A little clarification, I only want records 392 and 287, not a range of those numbers - which I think is what you were going for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 13:43:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-with-selection-table/m-p/4630005#M1090397</guid>
      <dc:creator>mike_reader3</dc:creator>
      <dc:date>2008-10-24T13:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problems using WITH SELECTION-TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-with-selection-table/m-p/4630006#M1090398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;even the above code in my post will give only 392 and 287&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 13:49:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-with-selection-table/m-p/4630006#M1090398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T13:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problems using WITH SELECTION-TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-with-selection-table/m-p/4630007#M1090399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried it out, still only getting record 287&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 14:23:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-with-selection-table/m-p/4630007#M1090399</guid>
      <dc:creator>mike_reader3</dc:creator>
      <dc:date>2008-10-24T14:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problems using WITH SELECTION-TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-with-selection-table/m-p/4630008#M1090400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check it once again, you have any entry in the database table with other value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 15:20:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-with-selection-table/m-p/4630008#M1090400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T15:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problems using WITH SELECTION-TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-with-selection-table/m-p/4630009#M1090401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I checked, I do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 15:54:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-with-selection-table/m-p/4630009#M1090401</guid>
      <dc:creator>mike_reader3</dc:creator>
      <dc:date>2008-10-24T15:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problems using WITH SELECTION-TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-with-selection-table/m-p/4630010#M1090402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured it out, using my original code I added a call to RS_REFRESH_FROM_SELECTOPTIONS and found that for some reason the first entry in S_SGRNRS is getting padded with 0's but the 2nd one is not. I manually padded the numbers with 0's and now it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the results of the call to RS_REFRESH_FROM_SELECTOPTIONS before I padded the numbers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1	S_BUKRS	S&lt;/P&gt;&lt;P&gt;2	S_FUNLOC	S&lt;/P&gt;&lt;P&gt;3	S_MUNKEY	S&lt;/P&gt;&lt;P&gt;4	S_ORDER	S&lt;/P&gt;&lt;P&gt;5	S_REGKEY	S&lt;/P&gt;&lt;P&gt;6	S_SGRNR	S	I	EQ	00000273&lt;/P&gt;&lt;P&gt;7	S_SGRNR	S	I	EQ	275&lt;/P&gt;&lt;P&gt;8	S_SURF	S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 20:05:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-using-with-selection-table/m-p/4630010#M1090402</guid>
      <dc:creator>mike_reader3</dc:creator>
      <dc:date>2008-10-24T20:05:05Z</dc:date>
    </item>
  </channel>
</rss>

