<?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: PROBLEM IN USING VRM SET VALUE FM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-vrm-set-value-fm/m-p/2625210#M603185</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check with below example code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: tvdir.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Selection screento table View&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  selection-screen skip 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  parameter p_tabnm(30) as listbox visible length 30 obligatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  selection-screen skip 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  selection-screen begin of block s1 with frame title text-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  parameter: p_radio1 radiobutton group g1,&lt;/P&gt;&lt;P&gt;             p_radio radiobutton group g1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  selection-screen end of block s1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Add values to list box&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;  type-pools: vrm.&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;  name = 'P_TABNM'.&lt;/P&gt;&lt;P&gt;  refresh list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  value-key = 'V_024'.&lt;/P&gt;&lt;P&gt;  value-text = text-002. "'V_024-Purchasing Groups'.&lt;/P&gt;&lt;P&gt;  append value to list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  value-key = 'V_T024D'.&lt;/P&gt;&lt;P&gt;  value-text = text-003. "'V_T024D-MRP Controllers'.&lt;/P&gt;&lt;P&gt;  append value to list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  value-key = 'ZT604'.&lt;/P&gt;&lt;P&gt;  value-text = text-004. "'T604-Commodity Codes'.&lt;/P&gt;&lt;P&gt;  append value to list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  value-key = 'T179'.&lt;/P&gt;&lt;P&gt;  value-text = text-005. "'T179-Product Hierarchies'.&lt;/P&gt;&lt;P&gt;  append value to list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  value-key = 'TVM1T'.&lt;/P&gt;&lt;P&gt;  value-text = text-006. "'TVM1T-Business Manager'.&lt;/P&gt;&lt;P&gt;  append value to list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  value-key = 'TVM2T'.&lt;/P&gt;&lt;P&gt;  value-text = text-007. "'TVM2T-Division manager'.&lt;/P&gt;&lt;P&gt;  append value to list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  value-key = 'TVM3T'.&lt;/P&gt;&lt;P&gt;  value-text = text-008. "'TVM3T-Director'.&lt;/P&gt;&lt;P&gt;  append value to list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  value-key = 'V_TVV2'.&lt;/P&gt;&lt;P&gt;  value-text = text-009. "'V_TVV2-Customer Group 2'.&lt;/P&gt;&lt;P&gt;  append value to list.&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&lt;/P&gt;&lt;P&gt;            values = list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Get flag of corresponding table view&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  select single tabname flag from tvdir into tvdir&lt;/P&gt;&lt;P&gt;                where tabname = p_tabnm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Set flag of corresponding table view&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if p_radio1 eq 'X'.&lt;/P&gt;&lt;P&gt;    if tvdir-flag ne 'X'.&lt;/P&gt;&lt;P&gt;      update tvdir set: flag  = 'X'&lt;/P&gt;&lt;P&gt;                 where tabname = p_tabnm.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if p_radio eq 'X'.&lt;/P&gt;&lt;P&gt;    if tvdir-flag eq 'X'.&lt;/P&gt;&lt;P&gt;      update tvdir set: flag  = ''&lt;/P&gt;&lt;P&gt;                   where tabname = p_tabnm.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Execute View/Table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'VIEW_MAINTENANCE_CALL'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      action                               = 'U'&lt;/P&gt;&lt;P&gt;      view_name                            = p_tabnm&lt;/P&gt;&lt;P&gt;   exceptions&lt;/P&gt;&lt;P&gt;     client_reference                     = 1&lt;/P&gt;&lt;P&gt;     foreign_lock                         = 2&lt;/P&gt;&lt;P&gt;     invalid_action                       = 3&lt;/P&gt;&lt;P&gt;     no_clientindependent_auth            = 4&lt;/P&gt;&lt;P&gt;     no_database_function                 = 5&lt;/P&gt;&lt;P&gt;     no_editor_function                   = 6&lt;/P&gt;&lt;P&gt;     no_show_auth                         = 7&lt;/P&gt;&lt;P&gt;     no_tvdir_entry                       = 8&lt;/P&gt;&lt;P&gt;     no_upd_auth                          = 9&lt;/P&gt;&lt;P&gt;     only_show_allowed                    = 10&lt;/P&gt;&lt;P&gt;     system_failure                       = 11&lt;/P&gt;&lt;P&gt;     unknown_field_in_dba_sellist         = 12&lt;/P&gt;&lt;P&gt;     view_not_found                       = 13&lt;/P&gt;&lt;P&gt;     others                               = 14.&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    message id sy-msgid type sy-msgty number sy-msgno&lt;/P&gt;&lt;P&gt;            with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Reset flag of corresponding table view&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  update tvdir set: flag  = tvdir-flag&lt;/P&gt;&lt;P&gt;                where tabname = p_tabnm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jul 2007 15:33:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-25T15:33:59Z</dc:date>
    <item>
      <title>PROBLEM IN USING VRM SET VALUE FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-vrm-set-value-fm/m-p/2625208#M603183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI EXPERTS,&lt;/P&gt;&lt;P&gt;                 I AM USING VRM FM TO PUT VALUE INTO LIST BOX .THE VALUES ARE COMING BUT I CANNOT SELECT THE VALUES FROM THE LIST .WHAT MAY BE THE PROBLEM .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I AM USING THE BELOW CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select POSNR from LIPS into corresponding fields of table i_pstyp WHERE VBELN EQ VBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT I_PSTYP .&lt;/P&gt;&lt;P&gt;W_DDLIST-TEXT = I_PSTYP-POSNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND W_DDLIST TO POSNR.&lt;/P&gt;&lt;P&gt;CLEAR W_DDLIST.&lt;/P&gt;&lt;P&gt;ENDLOOP.&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 = 'POSNR'&lt;/P&gt;&lt;P&gt;VALUES = POSNR&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;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS IN ADVANCE &lt;/P&gt;&lt;P&gt;MANI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 15:26:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-vrm-set-value-fm/m-p/2625208#M603183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T15:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM IN USING VRM SET VALUE FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-vrm-set-value-fm/m-p/2625209#M603184</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;Please check demo program RSDEMO_DROPDOWN_LISTBOX for sample codes.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 15:31:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-vrm-set-value-fm/m-p/2625209#M603184</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-07-25T15:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM IN USING VRM SET VALUE FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-vrm-set-value-fm/m-p/2625210#M603185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check with below example code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: tvdir.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Selection screento table View&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  selection-screen skip 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  parameter p_tabnm(30) as listbox visible length 30 obligatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  selection-screen skip 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  selection-screen begin of block s1 with frame title text-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  parameter: p_radio1 radiobutton group g1,&lt;/P&gt;&lt;P&gt;             p_radio radiobutton group g1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  selection-screen end of block s1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Add values to list box&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;  type-pools: vrm.&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;  name = 'P_TABNM'.&lt;/P&gt;&lt;P&gt;  refresh list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  value-key = 'V_024'.&lt;/P&gt;&lt;P&gt;  value-text = text-002. "'V_024-Purchasing Groups'.&lt;/P&gt;&lt;P&gt;  append value to list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  value-key = 'V_T024D'.&lt;/P&gt;&lt;P&gt;  value-text = text-003. "'V_T024D-MRP Controllers'.&lt;/P&gt;&lt;P&gt;  append value to list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  value-key = 'ZT604'.&lt;/P&gt;&lt;P&gt;  value-text = text-004. "'T604-Commodity Codes'.&lt;/P&gt;&lt;P&gt;  append value to list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  value-key = 'T179'.&lt;/P&gt;&lt;P&gt;  value-text = text-005. "'T179-Product Hierarchies'.&lt;/P&gt;&lt;P&gt;  append value to list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  value-key = 'TVM1T'.&lt;/P&gt;&lt;P&gt;  value-text = text-006. "'TVM1T-Business Manager'.&lt;/P&gt;&lt;P&gt;  append value to list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  value-key = 'TVM2T'.&lt;/P&gt;&lt;P&gt;  value-text = text-007. "'TVM2T-Division manager'.&lt;/P&gt;&lt;P&gt;  append value to list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  value-key = 'TVM3T'.&lt;/P&gt;&lt;P&gt;  value-text = text-008. "'TVM3T-Director'.&lt;/P&gt;&lt;P&gt;  append value to list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  value-key = 'V_TVV2'.&lt;/P&gt;&lt;P&gt;  value-text = text-009. "'V_TVV2-Customer Group 2'.&lt;/P&gt;&lt;P&gt;  append value to list.&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&lt;/P&gt;&lt;P&gt;            values = list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Get flag of corresponding table view&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  select single tabname flag from tvdir into tvdir&lt;/P&gt;&lt;P&gt;                where tabname = p_tabnm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Set flag of corresponding table view&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if p_radio1 eq 'X'.&lt;/P&gt;&lt;P&gt;    if tvdir-flag ne 'X'.&lt;/P&gt;&lt;P&gt;      update tvdir set: flag  = 'X'&lt;/P&gt;&lt;P&gt;                 where tabname = p_tabnm.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if p_radio eq 'X'.&lt;/P&gt;&lt;P&gt;    if tvdir-flag eq 'X'.&lt;/P&gt;&lt;P&gt;      update tvdir set: flag  = ''&lt;/P&gt;&lt;P&gt;                   where tabname = p_tabnm.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Execute View/Table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'VIEW_MAINTENANCE_CALL'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      action                               = 'U'&lt;/P&gt;&lt;P&gt;      view_name                            = p_tabnm&lt;/P&gt;&lt;P&gt;   exceptions&lt;/P&gt;&lt;P&gt;     client_reference                     = 1&lt;/P&gt;&lt;P&gt;     foreign_lock                         = 2&lt;/P&gt;&lt;P&gt;     invalid_action                       = 3&lt;/P&gt;&lt;P&gt;     no_clientindependent_auth            = 4&lt;/P&gt;&lt;P&gt;     no_database_function                 = 5&lt;/P&gt;&lt;P&gt;     no_editor_function                   = 6&lt;/P&gt;&lt;P&gt;     no_show_auth                         = 7&lt;/P&gt;&lt;P&gt;     no_tvdir_entry                       = 8&lt;/P&gt;&lt;P&gt;     no_upd_auth                          = 9&lt;/P&gt;&lt;P&gt;     only_show_allowed                    = 10&lt;/P&gt;&lt;P&gt;     system_failure                       = 11&lt;/P&gt;&lt;P&gt;     unknown_field_in_dba_sellist         = 12&lt;/P&gt;&lt;P&gt;     view_not_found                       = 13&lt;/P&gt;&lt;P&gt;     others                               = 14.&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    message id sy-msgid type sy-msgty number sy-msgno&lt;/P&gt;&lt;P&gt;            with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Reset flag of corresponding table view&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  update tvdir set: flag  = tvdir-flag&lt;/P&gt;&lt;P&gt;                where tabname = p_tabnm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 15:33:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-vrm-set-value-fm/m-p/2625210#M603185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T15:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM IN USING VRM SET VALUE FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-vrm-set-value-fm/m-p/2625211#M603186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are not setting the "KEY", just the "TEXT" in your code ... see the example at:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://help.sap.com/saphelp_46c/helpdata/en/9f/dbabe435c111d1829f0000e829fbfe/content.htm"&amp;gt;http://help.sap.com/saphelp_46c/helpdata/en/9f/dbabe435c111d1829f0000e829fbfe/content.htm&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe set KEY to the value of I_PSTYP-POSNR too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 07:11:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-vrm-set-value-fm/m-p/2625211#M603186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T07:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM IN USING VRM SET VALUE FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-vrm-set-value-fm/m-p/2625212#M603187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes i have corrected it and it is woking now .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i select multiple entries the previous entries are also coming what to do for it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 07:26:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-vrm-set-value-fm/m-p/2625212#M603187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T07:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM IN USING VRM SET VALUE FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-vrm-set-value-fm/m-p/2625213#M603188</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 think you might have not considered the VALUES-KEY and VALUES-TEXT fields of the ITAB VALUES . so , in your case fill the POSNR with the KEY and TEXT values and then use that in FM VRM_SET_VALUES . it should work ..&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;Ranjita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 07:28:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-vrm-set-value-fm/m-p/2625213#M603188</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2007-07-26T07:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM IN USING VRM SET VALUE FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-vrm-set-value-fm/m-p/2625214#M603189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please be more clearer.... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 07:29:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-vrm-set-value-fm/m-p/2625214#M603189</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2007-07-26T07:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM IN USING VRM SET VALUE FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-vrm-set-value-fm/m-p/2625215#M603190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ranjitha&lt;/P&gt;&lt;P&gt;         i am using delivery doc number and in sy-ucomm whn enter &lt;/P&gt;&lt;P&gt;i am selecting the corresponding line item and material for it and saving .&lt;/P&gt;&lt;P&gt;when i am entering for the first time it is running correctly .without exiting if i enter some doc no the line items for the number comes along with the previous line items .so how to clear those values.????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 08:15:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-vrm-set-value-fm/m-p/2625215#M603190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T08:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM IN USING VRM SET VALUE FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-vrm-set-value-fm/m-p/2625216#M603191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;  
  CALL FUNCTION 'VRM_SET_VALUES'
       EXPORTING
            id              = 'POSNR'
            values          = posnr
       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.
  clear : posnr " use the clear to avoid repetetive values
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 08:23:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-vrm-set-value-fm/m-p/2625216#M603191</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2007-07-26T08:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM IN USING VRM SET VALUE FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-vrm-set-value-fm/m-p/2625217#M603192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suspect , you might have missed out to refresh/clear the itab you are using . &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;Ranjita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 09:09:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-vrm-set-value-fm/m-p/2625217#M603192</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2007-07-26T09:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM IN USING VRM SET VALUE FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-vrm-set-value-fm/m-p/2625218#M603193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanx gopi and ranjitha &lt;/P&gt;&lt;P&gt;,,i have got it .hot to use table controls .&lt;/P&gt;&lt;P&gt;i have used it thru table control wizards is it advisible ?&lt;/P&gt;&lt;P&gt;in that method all the rows in the tables are displyed .if i want to filter it can i do ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 10:26:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-vrm-set-value-fm/m-p/2625218#M603193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T10:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM IN USING VRM SET VALUE FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-vrm-set-value-fm/m-p/2625219#M603194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are always welcome &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Using table control wizard is not really advisable for a beginners level  as, if you want any modifications then it will be difficult for understanding the system defined code and chaning them . So always try to create by your own codings.&lt;/P&gt;&lt;P&gt;Yes the filtering option can be added to table controls . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 10:34:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-vrm-set-value-fm/m-p/2625219#M603194</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2007-07-26T10:34:18Z</dc:date>
    </item>
  </channel>
</rss>

