<?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: Listbox Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/1040337#M86300</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roland,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I suppose in dynpro u are using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   PROCESS ON VALUE-REQUEST.&lt;/P&gt;&lt;P&gt;   field mylist module abc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   (some sort of the above)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I tried the same with&lt;/P&gt;&lt;P&gt;    on eg of BUKRS, BUTXT&lt;/P&gt;&lt;P&gt;   It works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. The Code for on-request is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE abc INPUT.&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 : BEGIN OF itab OCCURS 0,&lt;/P&gt;&lt;P&gt;         bukrs LIKE t001-bukrs,&lt;/P&gt;&lt;P&gt;         butxt like t001-butxt,&lt;/P&gt;&lt;P&gt;         END OF itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT * FROM t001 INTO CORRESPONDING FIELDS OF TABLE itab.&lt;/P&gt;&lt;P&gt;&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        = 'BUKRS'&lt;/P&gt;&lt;P&gt;      value_org       = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      value_tab       = itab&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;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " abc  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Dec 2005 08:27:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-12-21T08:27:41Z</dc:date>
    <item>
      <title>Listbox Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/1040336#M86299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a very interessting Problem with Listboxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example:&lt;/P&gt;&lt;P&gt;There is a Table with Car-Manufacturer. The Key is "BWM" and the Description in the Text Table is also "BWM".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the Problem: Showing the data in a dynpro-listbox with option "show keys" presents me the key, but the description is lost. switching off the option "show keys" the description is shown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone here know how to solv the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings and merry X-Mas!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 08:22:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/1040336#M86299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-21T08:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/1040337#M86300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roland,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I suppose in dynpro u are using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   PROCESS ON VALUE-REQUEST.&lt;/P&gt;&lt;P&gt;   field mylist module abc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   (some sort of the above)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I tried the same with&lt;/P&gt;&lt;P&gt;    on eg of BUKRS, BUTXT&lt;/P&gt;&lt;P&gt;   It works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. The Code for on-request is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE abc INPUT.&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 : BEGIN OF itab OCCURS 0,&lt;/P&gt;&lt;P&gt;         bukrs LIKE t001-bukrs,&lt;/P&gt;&lt;P&gt;         butxt like t001-butxt,&lt;/P&gt;&lt;P&gt;         END OF itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT * FROM t001 INTO CORRESPONDING FIELDS OF TABLE itab.&lt;/P&gt;&lt;P&gt;&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        = 'BUKRS'&lt;/P&gt;&lt;P&gt;      value_org       = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      value_tab       = itab&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;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " abc  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 08:27:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/1040337#M86300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-21T08:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/1040338#M86301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check whether u maintained all 4  filed label for that particular dataelement of the field...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May solve u r problem ?&lt;/P&gt;&lt;P&gt;or check whether u have user like or type for that field in the program while declaring...&lt;/P&gt;&lt;P&gt;Regards..&lt;/P&gt;&lt;P&gt;Sridhar Reddy k&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: sridhar reddy kondam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 08:28:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/1040338#M86301</guid>
      <dc:creator>sridharreddy_kondam</dc:creator>
      <dc:date>2005-12-21T08:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/1040339#M86302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to pass all your key and description to text attribute of the list box.&lt;/P&gt;&lt;P&gt;For eg,&lt;/P&gt;&lt;P&gt;DATA: name  TYPE vrm_id,&lt;/P&gt;&lt;P&gt;      list  TYPE vrm_values,&lt;/P&gt;&lt;P&gt;      value LIKE LINE OF list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;value-text = &amp;lt;all your key and description&amp;gt;&lt;/P&gt;&lt;P&gt;Afterwards call the FM VRM_SET_VALUES&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;Abdul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 08:56:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/1040339#M86302</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2005-12-21T08:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/1040340#M86303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roland,&lt;/P&gt;&lt;P&gt;For this problem I think you have to use VRM_SET_VALUES function module,where export parameter VALUES you have to send an internal table which is type VRM_VALUES.In VRM_VALUES there are two fields NAME(Char 40) and TEXT(Char 80).to get the description you have to populate the text.&lt;/P&gt;&lt;P&gt;If this is a module pool programe and if you want standard table entries then put 'L' in the list box else 'A'.Please remember that you are going to use the FM VRM_SET_VALUES when the list box entry is 'A',and you have to code in PBO for this.But this is not recomended by SAP.  &lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;Warm Regards.&lt;/P&gt;&lt;P&gt;SK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 11:35:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/1040340#M86303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-21T11:35:08Z</dc:date>
    </item>
  </channel>
</rss>

