<?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 Problem in select-options value request in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options-value-request/m-p/1897706#M375125</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;I have one select-option s_opt for vendor description. I want to have value request for both s_opt-low and s_opt-high. For that i have to write the functonal module &lt;/P&gt;&lt;P&gt;at selection-screen on value-request for s_opt-low. and at selection-screen on value-request for s_opt-high. for both or any other procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In s_opt using drop down menu user can enter vendor description up to 10 Char, lower or upper case acceptable, &amp;amp; Wild card .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one help with code for the above two problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assured points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With thanks in advance.&lt;/P&gt;&lt;P&gt;Ashok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 20 Jan 2007 07:53:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-20T07:53:39Z</dc:date>
    <item>
      <title>Problem in select-options value request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options-value-request/m-p/1897706#M375125</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;I have one select-option s_opt for vendor description. I want to have value request for both s_opt-low and s_opt-high. For that i have to write the functonal module &lt;/P&gt;&lt;P&gt;at selection-screen on value-request for s_opt-low. and at selection-screen on value-request for s_opt-high. for both or any other procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In s_opt using drop down menu user can enter vendor description up to 10 Char, lower or upper case acceptable, &amp;amp; Wild card .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one help with code for the above two problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assured points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With thanks in advance.&lt;/P&gt;&lt;P&gt;Ashok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jan 2007 07:53:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options-value-request/m-p/1897706#M375125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-20T07:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in select-options value request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options-value-request/m-p/1897707#M375126</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;take a look at this thread &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="180509"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically you have to use the FM &lt;/P&gt;&lt;P&gt;F4IF_INT_TABLE_VALUE_REQUEST  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to enable drop down on any field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;VJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jan 2007 08:16:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options-value-request/m-p/1897707#M375126</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-20T08:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in select-options value request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options-value-request/m-p/1897708#M375127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , check the code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just populate the itab entries either with a select on lfa1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here im populating with sy-index values . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT zforum12.
tables : lfa1.
select-options : so_lifnr FOR lfa1-lifnr.

data: begin of itab_LIFNR occurs 0,
lifnr like lfa1-lifnr,
end of itab_LIFnr.

DATA: ITAB_SELECTED_lifnr TYPE DDSHRETVAL OCCURS 0 WITH HEADER LINE.


initialization.
do 20 times.
move sy-index to itab_lifnr.
append itab_lifnr.
enddo.


at selection-screen on value-request for SO_LIFNR-LOW.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'SO_LIFNR-LOW'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = itab_LIFNR
return_tab = ITAB_SELECTED_LIFNR
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3
.
IF SY-SUBRC eq 0.
READ TABLE ITAB_SELECTED_LIFNR INDEX 1.
MOVE ITAB_SELECTED_LIFNR-FIELDVAL TO SO_LIFNR-LOW.
ELSE.
* MESSAGE ....
ENDIF.

at selection-screen on value-request for SO_LIFNR-HIGH.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'SO_LIFNR-HIGH'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = itab_LIFNR
return_tab = ITAB_SELECTED_LIFNR
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3
.
IF SY-SUBRC eq 0.
READ TABLE ITAB_SELECTED_LIFNR INDEX 1.
MOVE ITAB_SELECTED_LIFNR-FIELDVAL TO SO_LIFNR-HIGH.
ELSE.
* MESSAGE ....
ENDIF.


start-of-selection.

write:/ SO_LIFnr-LOW, SO_LIFNR-HIGH.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jan 2007 08:34:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options-value-request/m-p/1897708#M375127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-20T08:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in select-options value request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options-value-request/m-p/1897709#M375128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashok , &lt;/P&gt;&lt;P&gt;  Do you want a dropdown or a F4 help for the select option.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jan 2007 09:28:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options-value-request/m-p/1897709#M375128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-20T09:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in select-options value request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options-value-request/m-p/1897710#M375129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need both options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me with code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assured points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ashok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jan 2007 09:36:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options-value-request/m-p/1897710#M375129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-20T09:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in select-options value request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options-value-request/m-p/1897711#M375130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashok , &lt;/P&gt;&lt;P&gt;  I dont think you can have both and secondly i feel it is not possible to have drop down for select-options , now if you want it then you will have to define two parameters on the same line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you find a way to have drop down for select-options please do post it here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrads&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jan 2007 17:35:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options-value-request/m-p/1897711#M375130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-20T17:35:03Z</dc:date>
    </item>
  </channel>
</rss>

