<?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: Request for select-option content in VALUE-REQUEST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/request-for-select-option-content-in-value-request/m-p/7679282#M1575847</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;first &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------" /&gt;&lt;P&gt;**F4 help to fetch Accounting Document Number&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_belnr-low.&lt;/P&gt;&lt;P&gt;lv_string = 'S_BELNR-LOW'.&lt;/P&gt;&lt;P&gt;**Fatch the Accounting No. List from database table&lt;/P&gt;&lt;P&gt;PERFORM select_belnr USING lv_string&lt;/P&gt;&lt;P&gt;CHANGING i_bkpf.&lt;/P&gt;&lt;P&gt;**Show F4 list&lt;/P&gt;&lt;P&gt;PERFORM f4_belnr_list USING lv_string&lt;/P&gt;&lt;P&gt;CHANGING s_belnr-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_belnr-high.&lt;/P&gt;&lt;P&gt;lv_string = 'S_BELNR-HIGH'.&lt;/P&gt;&lt;P&gt;**Fatch the Accounting No. List from database table&lt;/P&gt;&lt;P&gt;PERFORM select_belnr USING lv_string&lt;/P&gt;&lt;P&gt;CHANGING i_bkpf.&lt;/P&gt;&lt;P&gt;**Show F4 list&lt;/P&gt;&lt;P&gt;PERFORM f4_belnr_list USING lv_string&lt;/P&gt;&lt;P&gt;CHANGING s_belnr-high.&lt;/P&gt;&lt;P&gt;FORM select_belnr USING lv_string TYPE dfies-fieldname&lt;/P&gt;&lt;P&gt;CHANGING p_i_bkpf TYPE t_bkpf.&lt;/P&gt;&lt;P&gt;RANGES: s_belnr1 FOR bkpf-belnr.&lt;/P&gt;&lt;P&gt;CLEAR: p_i_bkpf.&lt;/P&gt;&lt;P&gt;CLEAR s_belnr1[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Fetch the values entered by user on selection screen&lt;/P&gt;&lt;P&gt;PERFORM read_selection_screen USING lv_string.&lt;/P&gt;&lt;P&gt;**Read the value&lt;/P&gt;&lt;P&gt;READ TABLE dynfields WITH KEY fieldname = lv_string.&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0&lt;/P&gt;&lt;P&gt;AND dynfields-fieldvalue IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_belnr1-low = dynfields-fieldvalue.&lt;/P&gt;&lt;P&gt;s_belnr1-sign = 'I'.&lt;/P&gt;&lt;P&gt;s_belnr1-option ='CP'.&lt;/P&gt;&lt;P&gt;APPEND s_belnr1.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;**Fetch the data from database table&lt;/P&gt;&lt;P&gt;SELECT belnr&lt;/P&gt;&lt;P&gt;FROM bkpf&lt;/P&gt;&lt;P&gt;INTO TABLE p_i_bkpf&lt;/P&gt;&lt;P&gt;WHERE bukrs GE space&lt;/P&gt;&lt;P&gt;AND belnr IN s_belnr1&lt;/P&gt;&lt;P&gt;AND gjahr GE space&lt;/P&gt;&lt;P&gt;AND blart EQ 'AB'.&lt;/P&gt;&lt;P&gt;**Remove Duplicate Records&lt;/P&gt;&lt;P&gt;SORT p_i_bkpf BY belnr.&lt;/P&gt;&lt;P&gt;DELETE ADJACENT DUPLICATES FROM p_i_bkpf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM. " SELECT_BELNR&lt;/P&gt;&lt;P&gt;FORM f4_belnr_list USING p_retfield&lt;/P&gt;&lt;P&gt;CHANGING p_belnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR: ret_tab.&lt;/P&gt;&lt;P&gt;**Call F4 Help Value-request&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;retfield = p_retfield&lt;/P&gt;&lt;P&gt;value_org = 'S'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;value_tab = i_bkpf&lt;/P&gt;&lt;P&gt;return_tab = ret_tab&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;parameter_error = 1&lt;/P&gt;&lt;P&gt;no_values_found = 2&lt;/P&gt;&lt;P&gt;OTHERS = 3.&lt;/P&gt;&lt;P&gt;**Read the Value selected by user&lt;/P&gt;&lt;P&gt;READ TABLE ret_tab INTO w_ret_tab INDEX 1.&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;p_belnr = w_ret_tab-fieldval.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;CLEAR: i_bkpf,&lt;/P&gt;&lt;P&gt;ret_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM. " F4_BELNR_LIST&lt;/P&gt;&lt;P&gt;FORM read_selection_screen USING p_dynfields TYPE dfies-fieldname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR: dynfields.&lt;/P&gt;&lt;P&gt;REFRESH : dynfields.&lt;/P&gt;&lt;P&gt;**Append field name&lt;/P&gt;&lt;P&gt;dynfields-fieldname = p_dynfields.&lt;/P&gt;&lt;P&gt;APPEND dynfields.&lt;/P&gt;&lt;P&gt;**Fetch the field Values&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;dyname = sy-cprog&lt;/P&gt;&lt;P&gt;dynumb = sy-dynnr&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;dynpfields = dynfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM. " READ_SELECTION_SCREEN&lt;/P&gt;&lt;P&gt;DECLARATION PART&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF ty_bkpf,&lt;/P&gt;&lt;P&gt;belnr TYPE bkpf-belnr,&lt;/P&gt;&lt;P&gt;END OF ty_bkpf.&lt;/P&gt;&lt;P&gt;TYPES: t_bkpf TYPE TABLE OF ty_bkpf.&lt;/P&gt;&lt;P&gt;Data: i_bkpf TYPE t_bkpf.&lt;/P&gt;&lt;P&gt;DATA: dynfields TYPE TABLE OF dynpread WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA: ret_tab TYPE STANDARD TABLE OF ddshretval,&lt;/P&gt;&lt;P&gt;w_ret_tab TYPE ddshretval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the aboe code hope this will work for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;lalit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Mar 2011 06:50:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-03-09T06:50:17Z</dc:date>
    <item>
      <title>Request for select-option content in VALUE-REQUEST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/request-for-select-option-content-in-value-request/m-p/7679279#M1575844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Together,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm searching for a solution of the following problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need in the 'AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file_d' &lt;/P&gt;&lt;P&gt;part the content of a select-option variable (named 's_shiftd').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should happen in a normal report. p_file_d is declared as a parameter (char 128).&lt;/P&gt;&lt;P&gt;The select-option variable 's_shiftd' is declared in the same (entry) dynpro as a num 10 type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the latest content of 's_shiftd' when F4 was pressed for parameter p_file_d.&lt;/P&gt;&lt;P&gt;How can I get this content.&lt;/P&gt;&lt;P&gt;The function "DYNP_VALUES_READ" gives only the content of the fields 's_shiftd-low' and 's_shiftd-high'.&lt;/P&gt;&lt;P&gt;But I need every input made by the user in the ranges table behind 's_shiftd'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your support!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jens.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 17:12:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/request-for-select-option-content-in-value-request/m-p/7679279#M1575844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-08T17:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Request for select-option content in VALUE-REQUEST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/request-for-select-option-content-in-value-request/m-p/7679280#M1575845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No sure if I completely understand the request, but you could simply loop at your select-option field to get the low value for each:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: pa0000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN begin of BLOCK b0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT-OPTIONS: s_selopt for pa0000-pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN end of BLOCK b0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_selopt-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; perform get_value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end-of-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  GET_VALUE&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; --&amp;gt;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form GET_VALUE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at s_selopt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*validate s_selopt-low&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " GET_VALUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warren&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Warren Clements on Mar 8, 2011 8:39 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 19:38:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/request-for-select-option-content-in-value-request/m-p/7679280#M1575845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-08T19:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Request for select-option content in VALUE-REQUEST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/request-for-select-option-content-in-value-request/m-p/7679281#M1575846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Halo Jens,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you declare a select option in the selection screen . In the background an internal table is created( range for that select option ) . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This internal table will  have structure fields like LOW HIGH SIGN OPTION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So your select option s_shiftd will be an internal table structure like above.&lt;/P&gt;&lt;P&gt;LOW represents the from value&lt;/P&gt;&lt;P&gt;HIGH represents the to value&lt;/P&gt;&lt;P&gt;SIGN represents whether it is I(Inclusive) or E(Exclusive)&lt;/P&gt;&lt;P&gt;OPTION represents the comparison operator (Like EQ,NE,etc )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arshad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 20:21:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/request-for-select-option-content-in-value-request/m-p/7679281#M1575846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-08T20:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Request for select-option content in VALUE-REQUEST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/request-for-select-option-content-in-value-request/m-p/7679282#M1575847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;first &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------" /&gt;&lt;P&gt;**F4 help to fetch Accounting Document Number&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_belnr-low.&lt;/P&gt;&lt;P&gt;lv_string = 'S_BELNR-LOW'.&lt;/P&gt;&lt;P&gt;**Fatch the Accounting No. List from database table&lt;/P&gt;&lt;P&gt;PERFORM select_belnr USING lv_string&lt;/P&gt;&lt;P&gt;CHANGING i_bkpf.&lt;/P&gt;&lt;P&gt;**Show F4 list&lt;/P&gt;&lt;P&gt;PERFORM f4_belnr_list USING lv_string&lt;/P&gt;&lt;P&gt;CHANGING s_belnr-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_belnr-high.&lt;/P&gt;&lt;P&gt;lv_string = 'S_BELNR-HIGH'.&lt;/P&gt;&lt;P&gt;**Fatch the Accounting No. List from database table&lt;/P&gt;&lt;P&gt;PERFORM select_belnr USING lv_string&lt;/P&gt;&lt;P&gt;CHANGING i_bkpf.&lt;/P&gt;&lt;P&gt;**Show F4 list&lt;/P&gt;&lt;P&gt;PERFORM f4_belnr_list USING lv_string&lt;/P&gt;&lt;P&gt;CHANGING s_belnr-high.&lt;/P&gt;&lt;P&gt;FORM select_belnr USING lv_string TYPE dfies-fieldname&lt;/P&gt;&lt;P&gt;CHANGING p_i_bkpf TYPE t_bkpf.&lt;/P&gt;&lt;P&gt;RANGES: s_belnr1 FOR bkpf-belnr.&lt;/P&gt;&lt;P&gt;CLEAR: p_i_bkpf.&lt;/P&gt;&lt;P&gt;CLEAR s_belnr1[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Fetch the values entered by user on selection screen&lt;/P&gt;&lt;P&gt;PERFORM read_selection_screen USING lv_string.&lt;/P&gt;&lt;P&gt;**Read the value&lt;/P&gt;&lt;P&gt;READ TABLE dynfields WITH KEY fieldname = lv_string.&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0&lt;/P&gt;&lt;P&gt;AND dynfields-fieldvalue IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_belnr1-low = dynfields-fieldvalue.&lt;/P&gt;&lt;P&gt;s_belnr1-sign = 'I'.&lt;/P&gt;&lt;P&gt;s_belnr1-option ='CP'.&lt;/P&gt;&lt;P&gt;APPEND s_belnr1.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;**Fetch the data from database table&lt;/P&gt;&lt;P&gt;SELECT belnr&lt;/P&gt;&lt;P&gt;FROM bkpf&lt;/P&gt;&lt;P&gt;INTO TABLE p_i_bkpf&lt;/P&gt;&lt;P&gt;WHERE bukrs GE space&lt;/P&gt;&lt;P&gt;AND belnr IN s_belnr1&lt;/P&gt;&lt;P&gt;AND gjahr GE space&lt;/P&gt;&lt;P&gt;AND blart EQ 'AB'.&lt;/P&gt;&lt;P&gt;**Remove Duplicate Records&lt;/P&gt;&lt;P&gt;SORT p_i_bkpf BY belnr.&lt;/P&gt;&lt;P&gt;DELETE ADJACENT DUPLICATES FROM p_i_bkpf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM. " SELECT_BELNR&lt;/P&gt;&lt;P&gt;FORM f4_belnr_list USING p_retfield&lt;/P&gt;&lt;P&gt;CHANGING p_belnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR: ret_tab.&lt;/P&gt;&lt;P&gt;**Call F4 Help Value-request&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;retfield = p_retfield&lt;/P&gt;&lt;P&gt;value_org = 'S'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;value_tab = i_bkpf&lt;/P&gt;&lt;P&gt;return_tab = ret_tab&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;parameter_error = 1&lt;/P&gt;&lt;P&gt;no_values_found = 2&lt;/P&gt;&lt;P&gt;OTHERS = 3.&lt;/P&gt;&lt;P&gt;**Read the Value selected by user&lt;/P&gt;&lt;P&gt;READ TABLE ret_tab INTO w_ret_tab INDEX 1.&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;p_belnr = w_ret_tab-fieldval.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;CLEAR: i_bkpf,&lt;/P&gt;&lt;P&gt;ret_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM. " F4_BELNR_LIST&lt;/P&gt;&lt;P&gt;FORM read_selection_screen USING p_dynfields TYPE dfies-fieldname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR: dynfields.&lt;/P&gt;&lt;P&gt;REFRESH : dynfields.&lt;/P&gt;&lt;P&gt;**Append field name&lt;/P&gt;&lt;P&gt;dynfields-fieldname = p_dynfields.&lt;/P&gt;&lt;P&gt;APPEND dynfields.&lt;/P&gt;&lt;P&gt;**Fetch the field Values&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;dyname = sy-cprog&lt;/P&gt;&lt;P&gt;dynumb = sy-dynnr&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;dynpfields = dynfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM. " READ_SELECTION_SCREEN&lt;/P&gt;&lt;P&gt;DECLARATION PART&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF ty_bkpf,&lt;/P&gt;&lt;P&gt;belnr TYPE bkpf-belnr,&lt;/P&gt;&lt;P&gt;END OF ty_bkpf.&lt;/P&gt;&lt;P&gt;TYPES: t_bkpf TYPE TABLE OF ty_bkpf.&lt;/P&gt;&lt;P&gt;Data: i_bkpf TYPE t_bkpf.&lt;/P&gt;&lt;P&gt;DATA: dynfields TYPE TABLE OF dynpread WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA: ret_tab TYPE STANDARD TABLE OF ddshretval,&lt;/P&gt;&lt;P&gt;w_ret_tab TYPE ddshretval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the aboe code hope this will work for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;lalit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 06:50:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/request-for-select-option-content-in-value-request/m-p/7679282#M1575847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-09T06:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Request for select-option content in VALUE-REQUEST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/request-for-select-option-content-in-value-request/m-p/7679283#M1575848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Together,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answers. I think I have to add some infomation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is more, how can I access the &lt;STRONG&gt;latest&lt;/STRONG&gt; content in the ranges table behind s_shiftd.&lt;/P&gt;&lt;P&gt;If the user only fills the dynpro fields s_shiftd-low or/and s_shiftd-high in the screen and then presses F4 of parameter p_file_d, there won't be any entry in the range table of s_shiftd (handling the event 'AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file_d').&lt;/P&gt;&lt;P&gt;I find all entries - entered by the user - in the ranges table, when the user presses Enter before using the F4 of the other parameter p_file_d. Also if the user enters the values by the select-option extra window (pressing the button right from the select-option fields) everything is fine. &lt;/P&gt;&lt;P&gt;There is a workaround to use DYNP_VALUES_READ  and add the values entered in the screen fields into the ranges table manually.&lt;/P&gt;&lt;P&gt;But I'm searching for a more elegant way to get the latest content entered in the select-option in all possible situations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoping this would describe the situation a bit better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jens.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 08:04:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/request-for-select-option-content-in-value-request/m-p/7679283#M1575848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-09T08:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Request for select-option content in VALUE-REQUEST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/request-for-select-option-content-in-value-request/m-p/7679284#M1575849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jens,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there is nothing wrong in using the Function Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2011 04:42:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/request-for-select-option-content-in-value-request/m-p/7679284#M1575849</guid>
      <dc:creator>rathishr_nair</dc:creator>
      <dc:date>2011-03-10T04:42:27Z</dc:date>
    </item>
  </channel>
</rss>

