<?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 How to set paramter id using a range in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-paramter-id-using-a-range/m-p/5452674#M1249760</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to set a parameter ID using a range instead of a field like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'KOS' FIELD gr_kostl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to do this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every helpful answer will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Roberto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Apr 2009 22:47:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-01T22:47:35Z</dc:date>
    <item>
      <title>How to set paramter id using a range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-paramter-id-using-a-range/m-p/5452674#M1249760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to set a parameter ID using a range instead of a field like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'KOS' FIELD gr_kostl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to do this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every helpful answer will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Roberto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2009 22:47:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-paramter-id-using-a-range/m-p/5452674#M1249760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-01T22:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to set paramter id using a range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-paramter-id-using-a-range/m-p/5452675#M1249761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope at a time you can set only one value to the parameter ID.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2009 23:20:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-paramter-id-using-a-range/m-p/5452675#M1249761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-01T23:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to set paramter id using a range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-paramter-id-using-a-range/m-p/5452676#M1249762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think that you cant use parameter id with range, but you can change you mind like that &lt;/P&gt;&lt;P&gt;to find program of system which you want to call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT report1. 

DATA text TYPE c LENGTH 10. 

SELECTION-SCREEN BEGIN OF SCREEN 1100. 
  SELECT-OPTIONS: selcrit1 FOR text, 
                  selcrit2 FOR text. 
SELECTION-SCREEN END OF SCREEN 1100.

*************************************************************
REPORT report2. 

DATA: text       TYPE c LENGTH 10, 
      rspar_tab  TYPE TABLE OF rsparams, 
      rspar_line LIKE LINE OF rspar_tab, 
      range_tab  LIKE RANGE OF text, 
      range_line LIKE LINE OF range_tab. 

rspar_line-selname = 'SELCRIT1'. 
rspar_line-kind    = 'S'. 
rspar_line-sign    = 'I'. 
rspar_line-option  = 'EQ'. 
rspar_line-low     = 'ABAP'. 
APPEND rspar_line TO rspar_tab. 

range_line-sign   = 'E'. 
range_line-option = 'EQ'. 
range_line-low    = 'H'. 
APPEND range_line TO range_tab. 

range_line-sign   = 'E'. 
range_line-option = 'EQ'. 
range_line-low    = 'K'. 
APPEND range_line TO range_tab. 

SUBMIT report1 USING SELECTION-SCREEN '1100' 
               WITH SELECTION-TABLE rspar_tab 
               WITH selcrit2 BETWEEN 'H' AND 'K' 
               WITH selcrit2 IN range_tab 
               AND RETURN.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 01:38:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-paramter-id-using-a-range/m-p/5452676#M1249762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T01:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to set paramter id using a range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-paramter-id-using-a-range/m-p/5452677#M1249763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think i'll use EXPORT TO MEMORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Roberto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 14:25:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-paramter-id-using-a-range/m-p/5452677#M1249763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T14:25:49Z</dc:date>
    </item>
  </channel>
</rss>

