<?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: Help : Table control with dropdown list in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-table-control-with-dropdown-list/m-p/3501855#M842301</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TYPE-POOLS VRM.&lt;/P&gt;&lt;P&gt;&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;  CLEAR LIST.&lt;/P&gt;&lt;P&gt;  REFRESH LIST.&lt;/P&gt;&lt;P&gt;  VALUE-KEY  = '1'.&lt;/P&gt;&lt;P&gt;  VALUE-TEXT = 'Append'.&lt;/P&gt;&lt;P&gt;  APPEND VALUE TO LIST.&lt;/P&gt;&lt;P&gt;  VALUE-KEY  = '2'.&lt;/P&gt;&lt;P&gt;  VALUE-TEXT = 'Replace All'.&lt;/P&gt;&lt;P&gt;  APPEND VALUE TO LIST.&lt;/P&gt;&lt;P&gt;  VALUE-KEY  = '3'.&lt;/P&gt;&lt;P&gt;  VALUE-TEXT = 'Replace-Division'.&lt;/P&gt;&lt;P&gt;  APPEND VALUE TO LIST.&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     = 'UPLOADACTION'&lt;/P&gt;&lt;P&gt;            VALUES = LIST.&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;Reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Mar 2008 12:01:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-01T12:01:25Z</dc:date>
    <item>
      <title>Help : Table control with dropdown list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-table-control-with-dropdown-list/m-p/3501852#M842298</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 have a table control with a column call 'Operator' . This column is a LIST column. I need to populate standard default value like "+", "-", "*' &amp;amp; "/" in the list. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i do that? Any sample code for reference?&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;Rayden&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Mar 2008 06:43:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-table-control-with-dropdown-list/m-p/3501852#M842298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-01T06:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help : Table control with dropdown list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-table-control-with-dropdown-list/m-p/3501853#M842299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create an internal table with a single field 'operator'.&lt;/P&gt;&lt;P&gt;enter the values u want to get displayed in the list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : wa_operator like zoperator,&lt;/P&gt;&lt;P&gt;         it_operator like table of wa_operator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT * &lt;/P&gt;&lt;P&gt;     FROM zoperator &lt;/P&gt;&lt;P&gt;         INTO TABLE it_operator&lt;/P&gt;&lt;P&gt;              WHERE &amp;lt;cond&amp;gt;&lt;/P&gt;&lt;P&gt;                          &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  = 'IT_tablectrl-operator'&lt;/P&gt;&lt;P&gt;      value_org = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      value_tab = it_operator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the ret field is the table control column field that must hold the list box with these values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can give ur own condition according to the other table control fields,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward  points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Mar 2008 07:35:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-table-control-with-dropdown-list/m-p/3501853#M842299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-01T07:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help : Table control with dropdown list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-table-control-with-dropdown-list/m-p/3501854#M842300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Rayden ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the FLOW LOGIC SCREEN where u have PBO AND PAI events &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST.                       &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FIELD &amp;lt;table name - filed name&amp;gt; MODULE &amp;lt;any user defined name&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg table name  = ZSIGN&lt;/P&gt;&lt;P&gt;     filed name  = values&lt;/P&gt;&lt;P&gt;module name  = SIGN_VALUE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO,&lt;/P&gt;&lt;P&gt; FIELD ZSIGN-values MODULE SIGN_VALUE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now double click on the module name and create the module inside a new include.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and there code wat values u wish to display in the F4 help of the filed VALUES of table ZSIGN in  this eg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now populate the values in an internal table 1st and then display in F4 help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of int_sign occur 0,&lt;/P&gt;&lt;P&gt;         Sign type ztable-values,&lt;/P&gt;&lt;P&gt;end of int_sign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear int_sign .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int_sign-sign = '+'.&lt;/P&gt;&lt;P&gt;append int_sign.&lt;/P&gt;&lt;P&gt;int_sign-sign = '-'.&lt;/P&gt;&lt;P&gt;append int_sign.&lt;/P&gt;&lt;P&gt;int_sign-sign = '*'.&lt;/P&gt;&lt;P&gt;append int_sign.&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            = 'SIGN'     &amp;#147; Int tab field name&lt;/P&gt;&lt;P&gt;     DYNPPROG         = &amp;lt;    &amp;gt;     &amp;#147; Program name&lt;/P&gt;&lt;P&gt;     DYNPNR              = SY-DYNNR&lt;/P&gt;&lt;P&gt;     DYNPROFIELD   =  'VALUES'  &amp;#147; Field wer u need F4 help&lt;/P&gt;&lt;P&gt;     VALUE_ORG       = 'S'&lt;/P&gt;&lt;P&gt;   WINDOW_TITLE  = &amp;#145;Any description&amp;#146;&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      VALUE_TAB      = INT_SIGN.      &amp;#147; Internal table name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reward points if useful.... and mark it answered..... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Mar 2008 08:20:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-table-control-with-dropdown-list/m-p/3501854#M842300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-01T08:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help : Table control with dropdown list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-table-control-with-dropdown-list/m-p/3501855#M842301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TYPE-POOLS VRM.&lt;/P&gt;&lt;P&gt;&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;  CLEAR LIST.&lt;/P&gt;&lt;P&gt;  REFRESH LIST.&lt;/P&gt;&lt;P&gt;  VALUE-KEY  = '1'.&lt;/P&gt;&lt;P&gt;  VALUE-TEXT = 'Append'.&lt;/P&gt;&lt;P&gt;  APPEND VALUE TO LIST.&lt;/P&gt;&lt;P&gt;  VALUE-KEY  = '2'.&lt;/P&gt;&lt;P&gt;  VALUE-TEXT = 'Replace All'.&lt;/P&gt;&lt;P&gt;  APPEND VALUE TO LIST.&lt;/P&gt;&lt;P&gt;  VALUE-KEY  = '3'.&lt;/P&gt;&lt;P&gt;  VALUE-TEXT = 'Replace-Division'.&lt;/P&gt;&lt;P&gt;  APPEND VALUE TO LIST.&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     = 'UPLOADACTION'&lt;/P&gt;&lt;P&gt;            VALUES = LIST.&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;Reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Mar 2008 12:01:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-table-control-with-dropdown-list/m-p/3501855#M842301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-01T12:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help : Table control with dropdown list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-table-control-with-dropdown-list/m-p/3501856#M842302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;His code is workable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2008 09:08:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-table-control-with-dropdown-list/m-p/3501856#M842302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-03T09:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help : Table control with dropdown list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-table-control-with-dropdown-list/m-p/3501857#M842303</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;LIST OF VALUES:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------" /&gt;&lt;P&gt;Adding dropdown facility to the input fields is called as LIST OF VALUES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VRM is a predefined type group which has the following structure and internal table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VRM_VALUE is a structure with the components KEY and TEXT.&lt;/P&gt;&lt;P&gt;VRM_VALUES is an internal table declared for the above structure without header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above type group is used to fetch values from the internal table declared with user-defined records and insert into the input field in the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'VRM_SET_VALUES' is a function module used to carry the records from the internal table and populate in the input field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAVIGATIONS TO CREATE DROPDOWN FACILITY FOR INPUT BOX:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------" /&gt;&lt;P&gt;1. Create MPP program.&lt;/P&gt;&lt;P&gt;2. Create a screen.&lt;/P&gt;&lt;P&gt;3. Add a input box -&amp;gt; Double click -&amp;gt; Specify name (IO1) -&amp;gt; Select LISTBOX from the dropdown list -&amp;gt; A dropdown facility is added for the input field in the screen.&lt;/P&gt;&lt;P&gt;4. Create two pushbuttons (PRINT, EXIT).&lt;/P&gt;&lt;P&gt;5. In Top Include File, specify following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS VRM.&lt;/P&gt;&lt;P&gt;DATA IO1(20).&lt;/P&gt;&lt;P&gt;DATA A TYPE I.&lt;/P&gt;&lt;P&gt;DATA ITAB TYPE VRM_VALUES. * To create an internal table of an existing type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA WA LIKE LINE OF ITAB. * To create a temporary structure of sameline type of internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. In PBO, specify following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF A = 0.&lt;/P&gt;&lt;P&gt;WA-KEY = 'ABAP'.&lt;/P&gt;&lt;P&gt;WA-TEXT = 'ADVANCED PROGRAMMING'.&lt;/P&gt;&lt;P&gt;APPEND WA TO ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA-KEY = 'BW'.&lt;/P&gt;&lt;P&gt;WA-TEXT = 'BUSINESS WAREHOUSING'.&lt;/P&gt;&lt;P&gt;APPEND WA TO ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA-KEY = 'EP'.&lt;/P&gt;&lt;P&gt;WA-TEXT = 'ENTERPRISE PORTAL'.&lt;/P&gt;&lt;P&gt;APPEND WA TO ITAB.&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                    =  'IO1'&lt;/P&gt;&lt;P&gt;    VALUES                =   ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A = 1.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. In PAI, specify following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE SY-UCOMM.&lt;/P&gt;&lt;P&gt;WHEN 'PRINT'.&lt;/P&gt;&lt;P&gt;LEAVE TO LIST-PROCESSING.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; IO1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'EXIT'.&lt;/P&gt;&lt;P&gt;LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8. Create a Tcode -&amp;gt; Activate all -&amp;gt; Execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Priya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2008 09:11:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-table-control-with-dropdown-list/m-p/3501857#M842303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-03T09:11:46Z</dc:date>
    </item>
  </channel>
</rss>

