<?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: using the values entered in select options.. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233489#M1010864</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No way man, you do NOT have to use the 'DYNP_VALUES_READ' function to get the values from a select-option.  There is another reason why he is not seeing the values in S_KUNNR.&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>Mon, 28 Jul 2008 18:41:17 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2008-07-28T18:41:17Z</dc:date>
    <item>
      <title>using the values entered in select options..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233480#M1010855</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;when i enter some value in my select option at runtime, it is not stored in the field, for e.g. S_KUNNR !! , i debugged and checked in my select statement, S_KUNNR is blank !! i checked the S_KUNNR structure and it's low and high both were blank !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why so ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * INTO CORRESPONDING FIELDS OF TABLE I_TAB  FROM ZXXX  WHERE VSTEL IN S_VSTEL AND KUNNR IN S_KUNNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 17:41:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233480#M1010855</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T17:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: using the values entered in select options..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233481#M1010856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Select-options are tables, so look at the body of the table, not the header line.  &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>Mon, 28 Jul 2008 17:42:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233481#M1010856</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2008-07-28T17:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: using the values entered in select options..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233482#M1010857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be you are checking the header, Check the Body of the S_KUNNR .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 17:47:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233482#M1010857</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T17:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: using the values entered in select options..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233483#M1010858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What's different from this post, other than now you don't have a value for s_kunnr?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5880378"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 17:47:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233483#M1010858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T17:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: using the values entered in select options..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233484#M1010859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Duplicate post - marked as solved in other one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 17:59:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233484#M1010859</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T17:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: using the values entered in select options..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233485#M1010860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am very sorry, if my questions sound silly !! But I am new to this and trying my best to learn. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rich, u said "Select-options are tables, so look at the body of the table, not the header line."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In debugger, I checked the table contents for  S_KUNNR, the screen which had &lt;/P&gt;&lt;P&gt;LINE SIGN OPTION LOW HIGH columns. All were blank !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I tried modifying my select statement as Vijay told me earlier, S_KUNNR[] instead of S_KUNNR. Did not work !! Still the table content is blank !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other way ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 18:01:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233485#M1010860</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T18:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: using the values entered in select options..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233486#M1010861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post your coding, lets take a look.&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>Mon, 28 Jul 2008 18:16:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233486#M1010861</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2008-07-28T18:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: using the values entered in select options..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233487#M1010862</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;select options is a table. So when you are passing values dynamically to the table you have to append the select option.like append s_aufnr after passing the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;radhakrishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 18:25:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233487#M1010862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T18:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: using the values entered in select options..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233488#M1010863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes it is behaving exactly what you said...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the solution is using the Function DYNP_VALUES_READ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  ztest_mod.

DATA: kunnr TYPE kunnr.

* Custom Selection Screen 0200
SELECTION-SCREEN BEGIN OF SCREEN 0200 AS SUBSCREEN.
SELECT-OPTIONS: s_kunnr FOR  kunnr.
SELECTION-SCREEN END OF SCREEN 0200.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_kunnr-low.
  BREAK-POINT.

START-OF-SELECTION.
  "in this screen i have a button with function code 'SEARCH'
  " and a subscreen area with name sub
  CALL SCREEN 100.

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  STATUS_0100  OUTPUT
*&amp;amp;---------------------------------------------------------------------*
MODULE status_0100 OUTPUT.
  SET PF-STATUS 'STATUS'.
ENDMODULE.                    "status_0100 OUTPUT
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  USER_COMMAND_0100  INPUT
*&amp;amp;---------------------------------------------------------------------*
MODULE user_command_0100 INPUT.
  DATA:
      i_dyn_fields LIKE TABLE
                     OF dynpread
                   WITH HEADER LINE.
  MOVE:
    'S_KUNNR-LOW' TO i_dyn_fields-fieldname.
  APPEND i_dyn_fields.
  CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
      dyname               = sy-repid
      dynumb               = '0200'
    TABLES
      dynpfields           = i_dyn_fields
    EXCEPTIONS
      invalid_abapworkarea = 1
      invalid_dynprofield  = 2
      invalid_dynproname   = 3
      invalid_dynpronummer = 4
      invalid_request      = 5
      no_fielddescription  = 6
      invalid_parameter    = 7
      undefind_error       = 8
      double_conversion    = 9
      stepl_not_found      = 10
      OTHERS               = 11.
  IF sy-subrc eq 0. 
   read table i_dyn_fields index 1.
    s_kunnr-low = i_dynp_fields-VALUE
    s_kunnr-sign = 'I'.
    s_kunnr-option = 'EQ'.
    append s_kunnr.
  ENDIF.

  DATA: it_kunnr TYPE TABLE OF kna1.
  CASE sy-ucomm.
    WHEN 'SEARCH'.
      SELECT * FROM kna1
      INTO TABLE it_kunnr
      WHERE kunnr IN s_kunnr.
    WHEN 'BACK'.
      LEAVE TO SCREEN 0.
  ENDCASE.
ENDMODULE.                    "user_command_0100 INPUT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flow Logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PROCESS BEFORE OUTPUT.
*
  MODULE status_0100.
*
  CALL SUBSCREEN sub INCLUDING sy-repid '0200'.
*
PROCESS AFTER INPUT.
*
  MODULE user_command_0100.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 18:37:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233488#M1010863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T18:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: using the values entered in select options..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233489#M1010864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No way man, you do NOT have to use the 'DYNP_VALUES_READ' function to get the values from a select-option.  There is another reason why he is not seeing the values in S_KUNNR.&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>Mon, 28 Jul 2008 18:41:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233489#M1010864</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2008-07-28T18:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: using the values entered in select options..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233490#M1010865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, when using the select-option in a subscreen, then maybe you would have to use the FM, Otheriwse, you would not.&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>Mon, 28 Jul 2008 18:44:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233490#M1010865</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2008-07-28T18:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: using the values entered in select options..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233491#M1010866</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 think problem could be...the SQL is in an event for a selection screen field which is declared above the field S_KUNNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's take this example...In this p_date is declared above so_date...and in the event ON p_date...The value so_date will not be available..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_date TYPE sy-datum.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: so_date FOR sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON p_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  BREAK-POINT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in this case you have might have to use the function module DYNP_VALUES_READ .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 18:47:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233491#M1010866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T18:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: using the values entered in select options..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233492#M1010867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I spend my full time with my slow system and Found that finally.  I tried differently , atlast i used that FM it is  working,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 18:48:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233492#M1010867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T18:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: using the values entered in select options..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233493#M1010868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vijay..Yes i am using as subscreen where the selection screen is displayed. So I am trying the Function module solution. One question on that ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   read table i_dyn_fields index 1.&lt;/P&gt;&lt;P&gt;    s_KUNNR-low = i_dyn_fields-FIELDVALUE.&lt;/P&gt;&lt;P&gt;    s_KUNNR-sign = 'I'.&lt;/P&gt;&lt;P&gt;    s_KUNNR-option = 'EQ'.&lt;/P&gt;&lt;P&gt;    append s_KUNNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this wont work in ECC 6.0 as i need to define a work area for S_KUNNR . what data type is it ? it has sign, low, high etc, right !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA WA_KUNNRSTRUCT TYPE ????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 19:15:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233493#M1010868</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T19:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: using the values entered in select options..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233494#M1010869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will work in ECC 6.0, its just not recommended, and it will not work if written in the OO context.  But you can define a work area like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: wa_kunnr like line of s_kunnr.&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>Mon, 28 Jul 2008 19:18:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233494#M1010869</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2008-07-28T19:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: using the values entered in select options..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233495#M1010870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;data: r_kunnr type range of kna1-kunnr.
        w_kunnr like line of r_kunnr.
data: wa_dynfield like line of i_dyn_fields.

read table i_dyn_fields into wa_dynfield index 1.

w_kunnr-low = wa_dynfield-fieldvalue.
w_KUNNR-sign = 'I'.
w_KUNNR-option = 'EQ'.
append w_KUNNR to s_kunnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 19:19:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233495#M1010870</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T19:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: using the values entered in select options..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233496#M1010871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes got it..now the value is read !! one last related question..the code looks like we r handling only the low value !! so i need to read the high values also like this ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE: 'S_VSTEL-LOW' TO i_dyn_fields-fieldname.&lt;/P&gt;&lt;P&gt; APPEND i_dyn_fields.&lt;/P&gt;&lt;P&gt;MOVE: 'S_VSTEL-HIGH' TO i_dyn_fields-fieldname.&lt;/P&gt;&lt;P&gt;  APPEND i_dyn_fields.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table i_dyn_fields into wa_dynfield index 1. &lt;/P&gt;&lt;P&gt;w_kunnr-low = wa_dynfield-fieldvalue.&lt;/P&gt;&lt;P&gt;w_KUNNR-sign = 'I'.&lt;/P&gt;&lt;P&gt;w_KUNNR-option = 'EQ'.&lt;/P&gt;&lt;P&gt;append w_KUNNR to s_kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table i_dyn_fields into wa_dynfield index 2. &lt;/P&gt;&lt;P&gt;w_kunnr-high = wa_dynfield-fieldvalue.&lt;/P&gt;&lt;P&gt;w_KUNNR-sign = 'I'.&lt;/P&gt;&lt;P&gt;w_KUNNR-option = 'EQ'.&lt;/P&gt;&lt;P&gt;append w_KUNNR to s_kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will this hold good ?? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then my select statement will check for all values in this range and fetch the data based on that, right ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 19:45:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233496#M1010871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T19:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: using the values entered in select options..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233497#M1010872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes you need to pass HIGH also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but little modification to your code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;read table i_dyn_fields into wa_dynfield index 1. &amp;lt;==SKUNNR-LOW
w_kunnr-low = wa_dynfield-fieldvalue.
w_KUNNR-sign = 'I'.
w_KUNNR-option = 'BT'.

read table i_dyn_fields into wa_dynfield index 2. &amp;lt;== you suppose to read it with S_KUNNR-HIGH
w_kunnr-high = wa_dynfield-fieldvalue.

append w_KUNNR to s_kunnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;if you enter &lt;/P&gt;&lt;P&gt;1 to 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you want between 1 to 10&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 19:52:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233497#M1010872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T19:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: using the values entered in select options..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233498#M1010873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;read table i_dyn_fields into wa_dynfield with key fieldname = 'S_KUNNR-LOW'. 
w_kunnr-low = wa_dynfield-fieldvalue.
w_KUNNR-sign = 'I'.
w_KUNNR-option = 'BT'.


read table i_dyn_fields into wa_dynfield with key fieldname = 'S_KUNNR-HIGH'.
w_kunnr-HIGH = wa_dynfield-fieldvalue.
append w_KUNNR to s_kunnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 19:55:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233498#M1010873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T19:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: using the values entered in select options..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233499#M1010874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually Vijay, user may enter just one value which i think will be automatically assigned to kunnr-low ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if he enters for both low and high, this code what u sent will work with w_KUNNR-option = 'BT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but, in my case user may enter a single value or a range !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so what to do ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for a note, i have 4 such select options in my subscreen and like this I have 3 subscreens !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 19:57:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-values-entered-in-select-options/m-p/4233499#M1010874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T19:57:17Z</dc:date>
    </item>
  </channel>
</rss>

