<?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: VRm set vAlues in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values/m-p/5320432#M1226320</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi you can give in &lt;/P&gt;&lt;P&gt;process on value-request event.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Mar 2009 06:51:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-04T06:51:33Z</dc:date>
    <item>
      <title>VRm set vAlues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values/m-p/5320425#M1226313</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;i am tryiNg to provide drop down list In a module pool program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In which event i need to write?PAI or PBo?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a chain staTement alsO Defined for this Field&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 06:22:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values/m-p/5320425#M1226313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-04T06:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: VRm set vAlues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values/m-p/5320426#M1226314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it should be in PBO,&lt;/P&gt;&lt;P&gt;before displaying the DropDown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the field is created in screen painter...&lt;/P&gt;&lt;P&gt;Double click on it....In the pop up..select the field on the box called "Dropdown"&lt;/P&gt;&lt;P&gt;We will have -&amp;gt; list box and list box with key.....select list box(...list box with key is just like extra field display in addition to the dropdown value...eg:if material is dropdown we can give material/material description in the dropdown and give material as the key)..Assign a function code to the field of the dropdown say "DROP"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the field is ready as dropdown...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are many options to fill the dropdown&lt;/P&gt;&lt;P&gt;Static filling -&amp;gt;&lt;/P&gt;&lt;P&gt;(1) We can give fixed values in the domain and use the field referring to the data element..so that values&lt;/P&gt;&lt;P&gt;will always come from domain&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dynamic filling-&amp;gt;&lt;/P&gt;&lt;P&gt;(2) use the function module VRM_SET_VALUES&lt;/P&gt;&lt;P&gt;check progrm DEMO_DYNPRO_DROPDOWN_LISTBOX&lt;/P&gt;&lt;P&gt;basically we have 2 fields for the table as dropdown ..key/text...we need to fill the field 'key' and pass it to the function module&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 = param -&amp;gt; field name in Caps&lt;/P&gt;&lt;P&gt;values = values. -&amp;gt; internal table that contains values to be shown in dropdown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rajnesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rajnesh Dharmat on Mar 4, 2009 12:00 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 06:27:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values/m-p/5320426#M1226314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-04T06:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: VRm set vAlues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values/m-p/5320427#M1226315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this [link|&lt;A class="jive_macro jive_macro_community" href="https://community.sap.com/" __jive_macro_name="community" modifiedtitle="true" __default_attr="2024"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 06:27:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values/m-p/5320427#M1226315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-04T06:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: VRm set vAlues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values/m-p/5320428#M1226316</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;Kindly refer:&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="1289964"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tarun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 06:28:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values/m-p/5320428#M1226316</guid>
      <dc:creator>I355602</dc:creator>
      <dc:date>2009-03-04T06:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: VRm set vAlues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values/m-p/5320429#M1226317</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 would suggest to put your codes in initialization section because each time you perform some action on the selection screen this will trigger PBO and run your codes again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 06:34:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values/m-p/5320429#M1226317</guid>
      <dc:creator>dev_parbutteea</dc:creator>
      <dc:date>2009-03-04T06:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: VRm set vAlues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values/m-p/5320430#M1226318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chitra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly go through this link below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.niraj.tripod.com/id38.html" target="test_blank"&gt;http://sap.niraj.tripod.com/id38.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mansi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 06:42:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values/m-p/5320430#M1226318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-04T06:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: VRm set vAlues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values/m-p/5320431#M1226319</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;First create drop down list box on screen and push values into it in PBO &lt;/P&gt;&lt;P&gt; using VRM_SET_VALUES. i think you know how to provide values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PBO.&lt;/P&gt;&lt;P&gt;Module list_box.(Double Click on it and write the code to enter values into list box)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then goto PAI module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAI.&lt;/P&gt;&lt;P&gt;CHAIN.&lt;/P&gt;&lt;P&gt;xxxxxxxx.&lt;/P&gt;&lt;P&gt;ENDCHAIN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 06:44:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values/m-p/5320431#M1226319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-04T06:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: VRm set vAlues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values/m-p/5320432#M1226320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi you can give in &lt;/P&gt;&lt;P&gt;process on value-request event.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 06:51:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values/m-p/5320432#M1226320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-04T06:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: VRm set vAlues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values/m-p/5320433#M1226321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;You have to code in any include of PBO event &lt;/P&gt;&lt;P&gt;please find the below relevant code for you clarification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

FORM update_listbox_material.

  REFRESH: values.

    values-key = '121101'.
    values-text = 'SHG'.
    APPEND values.
    values-key = '121102'.
    values-text = 'TOLL SHG'.
    APPEND values.
    values-key = '121104'.
    values-text = 'J.SHG'.
    APPEND values.
    values-key = '121111'.
    values-text = 'HG'.
    APPEND values.
    values-key = '121113'.
    values-text = 'J.HG'.
    APPEND values.
    values-key = '121121'.
    values-text = 'PW'.
    APPEND values.

    values-key = '121201'.
    values-text = 'LEAD'.
    APPEND values.
 
    v_id = 'WA_MATDET-MATNR'.

  CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
      id              = v_id
      values          = values[]
    EXCEPTIONS
      id_illegal_name = 1
      OTHERS          = 2.
  IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.

ENDFORM.                               " Update_Listbox_Tables

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Murugan.B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 07:01:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values/m-p/5320433#M1226321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-04T07:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: VRm set vAlues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values/m-p/5320434#M1226322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2009 05:51:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values/m-p/5320434#M1226322</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-18T05:51:54Z</dc:date>
    </item>
  </channel>
</rss>

