<?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: Get back dropdown list data. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-back-dropdown-list-data/m-p/6189866#M1374409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi VamShi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. The code you provided is almost the same with my code. However my problem now is after I selected the value from the dropdown list in tab Customer Data, the value in the dropdown list will missing if I go to tab Text and back to tab Customer Data. My question is how can I save the dropdown list data in the system, and retrieve the value when back to tab Customer Data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may understand what I am trying to describe if you go to transaction code ME21N.&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 Oct 2009 11:44:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-10T11:44:20Z</dc:date>
    <item>
      <title>Get back dropdown list data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-back-dropdown-list-data/m-p/6189864#M1374407</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 am adding a new customer screen into transaction code ME21N. I managed to see the new tab Customer Data created, I have also created a dropdown list in the screen with data for example, Text 1, Text 2, Text 3.&lt;/P&gt;&lt;P&gt;My problem now is whenever I selected the dropdown list to Text2, I go tab Delivery/Invoice, and come back to tab Customer Data, the dropdown list data is blank. How could I set the dropdown list data and display the selected data whenever I come back to Customer Data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your answer is very much appreciated.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Oct 2009 06:24:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-back-dropdown-list-data/m-p/6189864#M1374407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-10T06:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Get back dropdown list data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-back-dropdown-list-data/m-p/6189865#M1374408</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;Define separate module for Drop down assignment. Using Fn Module VRM_SET_VALUES assign the values u want to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code{&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE list_def_code OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR: value,list , name ,  wa_defect.&lt;/P&gt;&lt;P&gt;  REFRESH: list , it_sale , it_defect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT * FROM zcrm_defect INTO TABLE it_defect WHERE division = division.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT it_defect INTO wa_defect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    value-key = wa_defect-def_code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    value-text = wa_defect-def_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    APPEND value TO list.&lt;/P&gt;&lt;P&gt;    CLEAR value.&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;  SORT LIST BY TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'VRM_SET_VALUES'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      id              = 'DEFECT'&lt;/P&gt;&lt;P&gt;      values          = list[]&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      id_illegal_name = 1&lt;/P&gt;&lt;P&gt;      OTHERS          = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;} Try this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Oct 2009 10:20:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-back-dropdown-list-data/m-p/6189865#M1374408</guid>
      <dc:creator>former_member374410</dc:creator>
      <dc:date>2009-10-10T10:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Get back dropdown list data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-back-dropdown-list-data/m-p/6189866#M1374409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi VamShi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. The code you provided is almost the same with my code. However my problem now is after I selected the value from the dropdown list in tab Customer Data, the value in the dropdown list will missing if I go to tab Text and back to tab Customer Data. My question is how can I save the dropdown list data in the system, and retrieve the value when back to tab Customer Data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may understand what I am trying to describe if you go to transaction code ME21N.&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Oct 2009 11:44:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-back-dropdown-list-data/m-p/6189866#M1374409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-10T11:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Get back dropdown list data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-back-dropdown-list-data/m-p/6189867#M1374410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dropdown listbox value (not the list of possible of values) is easy to initialize, it works like any other fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is probably that the variable is cleared somewhere. Add a watchpoint on this variable and you'll see when it's cleared, and you'll then be able to fix the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Oct 2009 21:15:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-back-dropdown-list-data/m-p/6189867#M1374410</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2009-10-10T21:15:30Z</dc:date>
    </item>
  </channel>
</rss>

