<?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: Module-pool: List-Box in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-list-box/m-p/7783516#M1585716</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;&lt;/P&gt;&lt;P&gt;The function module VRM_SET_VALUES is used to fill the value list associated with a List Box .This FM uses types which are declared in type group VRM. So&lt;/P&gt;&lt;P&gt;we should declare TYPE-POOLS VRM before using this FM.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; Some important types declared in the VRM type group are&lt;/P&gt;&lt;P&gt;VRM_ID&lt;/P&gt;&lt;P&gt;   It refers to the name of the input/output field associated with list box&lt;/P&gt;&lt;P&gt;VRM_VALUES&lt;/P&gt;&lt;P&gt;  It refers to the internal table consisting of two fields TEXT(80C) and KEY(40)C&lt;/P&gt;&lt;P&gt;that will be used to create the list values.&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                =  name of screen element ,it is of TYPE VRM_ID&lt;/P&gt;&lt;P&gt;      VALUES      =  internal table containing values,of TYPE VRM_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;Maruthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 Apr 2011 13:05:59 GMT</pubDate>
    <dc:creator>MaruthiKona217</dc:creator>
    <dc:date>2011-04-17T13:05:59Z</dc:date>
    <item>
      <title>Module-pool: List-Box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-list-box/m-p/7783515#M1585715</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;I am customizing a Z- module pool transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am displaying shipment numbet in I/O field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If LoadID exists for more than one shipment, display other shipments as drop-down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the transaction is executed for the first time, I should be able to enter the shipment no., then based on LOAD ID, I should display multiple shipments in the same I/O field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the FM : vrm_set_values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, m not able to achieve this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Apr 2011 09:39:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-list-box/m-p/7783515#M1585715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-17T09:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Module-pool: List-Box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-list-box/m-p/7783516#M1585716</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;&lt;/P&gt;&lt;P&gt;The function module VRM_SET_VALUES is used to fill the value list associated with a List Box .This FM uses types which are declared in type group VRM. So&lt;/P&gt;&lt;P&gt;we should declare TYPE-POOLS VRM before using this FM.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; Some important types declared in the VRM type group are&lt;/P&gt;&lt;P&gt;VRM_ID&lt;/P&gt;&lt;P&gt;   It refers to the name of the input/output field associated with list box&lt;/P&gt;&lt;P&gt;VRM_VALUES&lt;/P&gt;&lt;P&gt;  It refers to the internal table consisting of two fields TEXT(80C) and KEY(40)C&lt;/P&gt;&lt;P&gt;that will be used to create the list values.&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                =  name of screen element ,it is of TYPE VRM_ID&lt;/P&gt;&lt;P&gt;      VALUES      =  internal table containing values,of TYPE VRM_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;Maruthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Apr 2011 13:05:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-list-box/m-p/7783516#M1585716</guid>
      <dc:creator>MaruthiKona217</dc:creator>
      <dc:date>2011-04-17T13:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Module-pool: List-Box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-list-box/m-p/7783517#M1585717</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;TYPE-POOLS : VRM&lt;/P&gt;&lt;P&gt;DATA : field_id TYPE VRM_ID ,&lt;/P&gt;&lt;P&gt;            values  TYPE VRM_VALUES,&lt;/P&gt;&lt;P&gt;             value   LIKE LINE OF values.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT&lt;/P&gt;&lt;P&gt;MODULE list_fill_100&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MODULE list_fill_100 OUTPUT&lt;/P&gt;&lt;P&gt;SELECT f1 f2 f3  FROM tab WHERE condition.&lt;/P&gt;&lt;P&gt;value-KEY = f1.&lt;/P&gt;&lt;P&gt;value-TEXT = f2&lt;/P&gt;&lt;P&gt;APPEND value TO VALUES&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     = 'i/o screen field' &lt;/P&gt;&lt;P&gt;            values = values.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be this sample  help you.&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;Maruthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Apr 2011 13:09:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-list-box/m-p/7783517#M1585717</guid>
      <dc:creator>MaruthiKona217</dc:creator>
      <dc:date>2011-04-17T13:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Module-pool: List-Box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-list-box/m-p/7783518#M1585718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2011 05:43:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-list-box/m-p/7783518#M1585718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-18T05:43:25Z</dc:date>
    </item>
  </channel>
</rss>

