<?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: Reading select optiosn and parameters ..confusion in Function Modules in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-select-optiosn-and-parameters-confusion-in-function-modules/m-p/2567426#M585889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;F4IF_FIELD_VALUE_REQUEST -  for f4 help&lt;/P&gt;&lt;P&gt;DYNP_VALUES_READ- for table control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can go thru following thread also &lt;/P&gt;&lt;P&gt;for DYNP_VALUES_READ&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="238142"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="22812"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for DYNP_VALUES_UPDATE&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="227950"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="45078"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for RS_REFRESH_FROM_SELECTOPTIONS&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="193117"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="226596"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;plz reward if useful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Swati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jul 2007 09:19:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-30T09:19:36Z</dc:date>
    <item>
      <title>Reading select optiosn and parameters ..confusion in Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-select-optiosn-and-parameters-confusion-in-function-modules/m-p/2567425#M585888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all&lt;/P&gt;&lt;P&gt;can any one tell me the exact use of the following fn modules &lt;/P&gt;&lt;P&gt;F4IF_FIELD_VALUE_REQUEST&lt;/P&gt;&lt;P&gt;DYNP_VALUES_READ&lt;/P&gt;&lt;P&gt;DYNP_VALUES_UPDATE&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;RS_REFRESH_FROM_SELECTOPTIONS&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be more specific i called the FM    'RS_REFRESH_FROM_SELECTOPTIONS 'but i dun understand how to use the table parameter in this afer wards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for EX .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : select-options s1 for sfliht-carrd no intervals.&lt;/P&gt;&lt;P&gt;DATA : ITAB1 LIKE RSPARAMS OCCURS 0 WITH HEADER LINE.       &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           = PROGNAME&lt;/P&gt;&lt;P&gt;              TABLES&lt;/P&gt;&lt;P&gt;                SELECTION_TABLE       = ITAB1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but now what to do ahead  ?how can i access the select options from this table ITAB1..whhat is the use of calling this function. ? &lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Nilesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 09:13:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-select-optiosn-and-parameters-confusion-in-function-modules/m-p/2567425#M585888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T09:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Reading select optiosn and parameters ..confusion in Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-select-optiosn-and-parameters-confusion-in-function-modules/m-p/2567426#M585889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;F4IF_FIELD_VALUE_REQUEST -  for f4 help&lt;/P&gt;&lt;P&gt;DYNP_VALUES_READ- for table control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can go thru following thread also &lt;/P&gt;&lt;P&gt;for DYNP_VALUES_READ&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="238142"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="22812"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for DYNP_VALUES_UPDATE&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="227950"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="45078"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for RS_REFRESH_FROM_SELECTOPTIONS&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="193117"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="226596"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;plz reward if useful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Swati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 09:19:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-select-optiosn-and-parameters-confusion-in-function-modules/m-p/2567426#M585889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T09:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Reading select optiosn and parameters ..confusion in Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-select-optiosn-and-parameters-confusion-in-function-modules/m-p/2567427#M585890</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;You can use this FM to get the details of the Parameters, Selectoptions and other input fields of an other program in your current program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can read ITAB1 and continue using the values in the current program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls award points if useful&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shruthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 09:20:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-select-optiosn-and-parameters-confusion-in-function-modules/m-p/2567427#M585890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T09:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Reading select optiosn and parameters ..confusion in Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-select-optiosn-and-parameters-confusion-in-function-modules/m-p/2567428#M585891</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;please check out the below program it will help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT zvenki.&lt;/P&gt;&lt;P&gt;  TABLES: t001w.&lt;/P&gt;&lt;P&gt;  DATA : it_marc TYPE STANDARD TABLE OF marc WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;         it_werks TYPE STANDARD TABLE OF t001w WITH HEADER LINE.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   PARAMETERS material RADIOBUTTON  GROUP  abc.     "Material General Details&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   PARAMETERS plant RADIOBUTTON GROUP abc DEFAULT 'X'.      "Material Plant Details&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;   IF material EQ 'X'.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;*If Material selected own code executes   &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    SELECT * FROM marc INTO TABLE it_marc UP TO 200 ROWS .&lt;/P&gt;&lt;P&gt;     LOOP AT it_marc.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;     WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; it_marc-matnr,&lt;/P&gt;&lt;P&gt;            it_marc-werks.&lt;/P&gt;&lt;P&gt;     ENDLOOP.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  IF plant EQ 'X'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*If Plant selected data fetched   &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    SELECT * FROM t001w INTO TABLE it_werks UP TO 50 ROWS.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;*Exported to Memory&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;    EXPORT it_werks[] TO MEMORY ID 'TEST'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*Declare on selection table type RSPARAMS&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    DATA :   stable	LIKE	rsparams OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*Call this FM to get the Selection screen details&lt;/P&gt;&lt;P&gt;*of Program ZZTEST_ARUN_2 (it returns Select Options, Parameters..)&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     = 'ZZTEST_ARUN_2'&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;         selection_table = stable&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;         not_found       = 1&lt;/P&gt;&lt;P&gt;         no_report       = 2&lt;/P&gt;&lt;P&gt;         OTHERS          = 3.&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;     MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   stable-sign = 'I'.&lt;/P&gt;&lt;P&gt;   stable-option = 'BT'.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;populate some selection condition&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   READ TABLE it_werks INDEX 10.&lt;/P&gt;&lt;P&gt;   stable-low = it_werks-werks.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   READ TABLE it_werks INDEX 40.&lt;/P&gt;&lt;P&gt;   stable-high = it_werks-werks.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   APPEND stable.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*Submit it then&lt;/P&gt;&lt;P&gt;   SUBMIT zztest_arun_2&lt;/P&gt;&lt;P&gt;       WITH SELECTION-TABLE stable&lt;/P&gt;&lt;P&gt;       AND RETURN.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**********&lt;STRONG&gt;please reward points if the information is helpful to you&lt;/STRONG&gt;**************&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 09:21:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-select-optiosn-and-parameters-confusion-in-function-modules/m-p/2567428#M585891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T09:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Reading select optiosn and parameters ..confusion in Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-select-optiosn-and-parameters-confusion-in-function-modules/m-p/2567429#M585892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nilesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To read all the values in a select-option,do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA:wa_param type rsparams,&lt;/P&gt;&lt;P&gt;         itab1 TYPE STANDARD TABLE OF rsparams .&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     = sy-repid&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      selection_table = itab1.&lt;/P&gt;&lt;P&gt;  DATA:s_matnr1 TYPE RANGE OF mara-matnr WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT itab1 wa_param .&lt;/P&gt;&lt;P&gt;    IF wa_param-selname = 'S_MATNR'.&lt;/P&gt;&lt;P&gt;      s_matnr1 = wa_param.&lt;/P&gt;&lt;P&gt;      APPEND s_matnr1.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;Here i am moving all the values in select-option s_matrn into s_matnr1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 09:30:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-select-optiosn-and-parameters-confusion-in-function-modules/m-p/2567429#M585892</guid>
      <dc:creator>former_member491305</dc:creator>
      <dc:date>2007-07-30T09:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Reading select optiosn and parameters ..confusion in Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-select-optiosn-and-parameters-confusion-in-function-modules/m-p/2567430#M585893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello all&lt;/P&gt;&lt;P&gt;I dun want to call another report using submit commnad.&lt;/P&gt;&lt;P&gt;here is my code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : ITAB1 LIKE RSPARAMS OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS S1 FOR SPFLI-CITYFROM.&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           = SY-repid&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       = ITAB1&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now on the selection screen when i enter 'Franfurt '' in the select option S1 ..then after the execuion of this F.M. i can see 'S1' in the table ITAB1 .but i should get value 'Frankfurt' in ITAB1-LOW'  field ,, m i ryte ? or do i need to use some other FM ?&lt;/P&gt;&lt;P&gt;so my qn is how to get the value entered int he select option S1 ?so that i can use it to restrict the values in other input fields on the screen ..&lt;/P&gt;&lt;P&gt;plz help !!!&lt;/P&gt;&lt;P&gt;Nilesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2007 06:59:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-select-optiosn-and-parameters-confusion-in-function-modules/m-p/2567430#M585893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-31T06:59:31Z</dc:date>
    </item>
  </channel>
</rss>

