<?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: Dropdown Listbox issue again in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-listbox-issue-again/m-p/2056837#M424711</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot see any other issue at all Boy because there is no explicit logic that you will have to write for the assignment of the selected value in the List box to the screen field and this logic is internal to the FM only. the most i can do is to suggest you to refer the program RSDEMO_DROPDOWN_LISTBOX to check if you can get anything out of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 18 Mar 2007 06:33:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-18T06:33:50Z</dc:date>
    <item>
      <title>Dropdown Listbox issue again</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-listbox-issue-again/m-p/2056834#M424708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have this dropdown TBBILLDATEFROM. it is binded to the date field of the table zvbap. I can see the list of items on the dropdown when I click it. I am just wondering why after clicking the item on the dropdown list, the dropdown will just be blank, as if I did not select anything. why is that happening? thanks for the help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------" /&gt;&lt;PRE&gt;&lt;CODE&gt;data: rb1(1), rb2(1), rb3(1), field1(10).

type-pools: vrm.
data: datevalues type vrm_values with header line,
      int_zvbap type table of zvbap with header line.


initialization.
select distinct erdat
       from zvbap
       into corresponding fields of table int_zvbap.

    loop at int_zvbap.
      datevalues-key = int_zvbap-erdat.
      append datevalues.
    endloop.


start-of-selection.
  set screen 0100.


module pbo output.
* DATEFROM DROPDOWN
  call function 'VRM_SET_VALUES'
    exporting
      id      = 'TBBILLDATEFROM'
      values  = datevalues[].
endmodule.

module pai input.
  case sy-ucomm.
    when 'BTNEXIT'.
      leave program.
    when 'RADIO'.
      if rb1 = 'X'.
         field1 = '5'.
      elseif rb2 = 'X'.
         field1 = '10'.
      elseif rb3 = 'X'.
         field1 = 'All'.
      endif.

  endcase.
endmodule.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Mar 2007 06:08:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-listbox-issue-again/m-p/2056834#M424708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-18T06:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown Listbox issue again</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-listbox-issue-again/m-p/2056835#M424709</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;Is the TBBILLDATEFROM the name of the variable in the Screen field. You will have to assign the Screen Name in the Interface of the FM VRM_SET_VALUES.&lt;/P&gt;&lt;P&gt;That is the only issue i can see in the code.&lt;/P&gt;&lt;P&gt;Also you will have to refresh the Internal table datevalues before you append records to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Mar 2007 06:18:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-listbox-issue-again/m-p/2056835#M424709</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-18T06:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown Listbox issue again</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-listbox-issue-again/m-p/2056836#M424710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;Mahesh&amp;lt;/b&amp;gt;, yes the name of my dropdown on the screen is TBBILLDATEFROM and my listbox is getting the expected record. the only problem is when I click an  item on the listbob, it doesnt get selected because blank space overrides listbox (as if I did not click any item on the list). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You get to see always the items on the listbox though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the reply &amp;lt;b&amp;gt;Mahesh&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Mar 2007 06:28:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-listbox-issue-again/m-p/2056836#M424710</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-18T06:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown Listbox issue again</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-listbox-issue-again/m-p/2056837#M424711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot see any other issue at all Boy because there is no explicit logic that you will have to write for the assignment of the selected value in the List box to the screen field and this logic is internal to the FM only. the most i can do is to suggest you to refer the program RSDEMO_DROPDOWN_LISTBOX to check if you can get anything out of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Mar 2007 06:33:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-listbox-issue-again/m-p/2056837#M424711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-18T06:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown Listbox issue again</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-listbox-issue-again/m-p/2056838#M424712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;actually im also wondering why it is happening because I have another program which has the same format and it works well. I just wonder why on this very simple program, it wont do. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your effort&amp;lt;b&amp;gt; Mahesh&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Mar 2007 06:39:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-listbox-issue-again/m-p/2056838#M424712</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-18T06:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown Listbox issue again</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-listbox-issue-again/m-p/2056839#M424713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the answer now. I declared another variable (see below) for that listbox and it worked normal. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: tbbilldatefrom(20).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Mar 2007 06:58:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-listbox-issue-again/m-p/2056839#M424713</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-18T06:58:18Z</dc:date>
    </item>
  </channel>
</rss>

