<?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: F4 Search help select multiple row in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-search-help-select-multiple-row/m-p/7388206#M1544962</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;try this if it helps you...&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               = 'PLANT'   "Key field from it_plants     &lt;/P&gt;&lt;P&gt;    dynpprog               = sy-cprog  "Program     &lt;/P&gt;&lt;P&gt;      dynpnr                 = sy-dynnr  "Dynpro number   &lt;/P&gt;&lt;P&gt;dynprofield            = 'P_PLANT' "Select-options field    &lt;/P&gt;&lt;P&gt;value_org              = 'S'       "Value return: C: cell by cell,     &lt;/P&gt;&lt;P&gt;                                         "S: structured    &lt;/P&gt;&lt;P&gt;display                = 'F'       "Override readiness for input     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      TABLES     &lt;/P&gt;&lt;P&gt;       value_tab              = it_plants "table with selection values    &lt;/P&gt;&lt;P&gt;return_tab             = t_return  "Return value     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  EXCEPTIONS     &lt;/P&gt;&lt;P&gt;&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;    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;ENDFORM.                    " show_f4_help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Oct 2010 08:21:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-25T08:21:26Z</dc:date>
    <item>
      <title>F4 Search help select multiple row</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-search-help-select-multiple-row/m-p/7388205#M1544961</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 need to get input template id from selection screen, for that I need to create one f4 search help.&lt;/P&gt;&lt;P&gt;F4 search help shul contain 2 field Template_id and description, that I am getting from dictional table and inserting into a internal table lt_apr_tmplt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to select multiple template from search help and retunr a list of template only to generate one report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide some samplt code to fulfill this requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 07:05:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-search-help-select-multiple-row/m-p/7388205#M1544961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-25T07:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: F4 Search help select multiple row</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-search-help-select-multiple-row/m-p/7388206#M1544962</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;try this if it helps you...&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               = 'PLANT'   "Key field from it_plants     &lt;/P&gt;&lt;P&gt;    dynpprog               = sy-cprog  "Program     &lt;/P&gt;&lt;P&gt;      dynpnr                 = sy-dynnr  "Dynpro number   &lt;/P&gt;&lt;P&gt;dynprofield            = 'P_PLANT' "Select-options field    &lt;/P&gt;&lt;P&gt;value_org              = 'S'       "Value return: C: cell by cell,     &lt;/P&gt;&lt;P&gt;                                         "S: structured    &lt;/P&gt;&lt;P&gt;display                = 'F'       "Override readiness for input     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      TABLES     &lt;/P&gt;&lt;P&gt;       value_tab              = it_plants "table with selection values    &lt;/P&gt;&lt;P&gt;return_tab             = t_return  "Return value     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  EXCEPTIONS     &lt;/P&gt;&lt;P&gt;&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;    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;ENDFORM.                    " show_f4_help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 08:21:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-search-help-select-multiple-row/m-p/7388206#M1544962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-25T08:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: F4 Search help select multiple row</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-search-help-select-multiple-row/m-p/7388207#M1544963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;try even this one....i guess this wil help you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'TR_F4_HELP' "General F4 help (with single/multiple selection)&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    iv_title =                  " c             Dialog box title&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  is_sel_title1 = ' '         "               First header line of the list&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  is_sel_title2 = ' '         "               Second header line of the list&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  iv_start_column = 0         " sy-cucol      Column in which the dialog box begins&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  iv_start_row = 3            " sy-curow      Line in which the dialog box begins&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  iv_number_of_rows = 8       " sy-tabix      No. of lines on the dialog box (not exact)&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  iv_no_of_key_columns = 0    " sy-tabix      No. of key fields in table&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  iv_width_of_titles = ' '    " trpari-flag   Take into account title length for output width&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  iv_without_selection = ' '  " trpari-flag   Without selection option&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  iv_multiple_selection = ' '  " trpari-flag  With multiple selection&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  iv_with_sort_icon = ' '     " trpari-flag   With sort icon&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  iv_with_printer_icon = ' '  " trpari-flag   With print icon&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  iv_with_filter_icon = ' '   " trpari-flag   With filter icon&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  iv_with_search_icon = ' '   " trpari-flag   With find icon&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  iv_extended_display = ' '   " trpari-flag   X = Detail display possible&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  iv_show_also_1 = ' '        " trpari-flag   Also display list with only one entry&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    ev_ext_display_selected =   " trpari-flag   'X': Detail display requested&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    it_sel_table =              "               Table&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  cv_first_index = 1          " sy-tabix      Index of lines that are shown uppermost&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  cv_selected_index = 0       " sy-tabix      Selected table index&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ct_sel_lines =              " str4_sel_lines  Selected lines in multiple selection&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    NO_LINES = 1                "               Do not transfer line&lt;/P&gt;&lt;P&gt;    NO_LINE_PICKED = 2          "               No line selected&lt;/P&gt;&lt;P&gt;    .  "  TR_F4_HELP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 08:23:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-search-help-select-multiple-row/m-p/7388207#M1544963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-25T08:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: F4 Search help select multiple row</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-search-help-select-multiple-row/m-p/7388208#M1544964</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 getting return table value correctly from the Funtion but how to return table in parameter&lt;/P&gt;&lt;P&gt;I want p_tmplt is of table with one field tmplt_id&lt;/P&gt;&lt;P&gt;***********************************&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF it_value OCCURS 0,&lt;/P&gt;&lt;P&gt;        TEMPLATE LIKE T77S0-GSVAL,&lt;/P&gt;&lt;P&gt;        DESCRIPTION     LIKE T77ST-etext,&lt;/P&gt;&lt;P&gt;     END OF it_value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : rtab TYPE TABLE OF ddshretval WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;ptab TYPE TABLE OF ddshretval WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for p_tmplt.&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 = 'TEMPLATE'&lt;/P&gt;&lt;P&gt;  dynpprog = sy-repid&lt;/P&gt;&lt;P&gt;  dynpnr = sy-dynnr&lt;/P&gt;&lt;P&gt;  value_org = 'S'&lt;/P&gt;&lt;P&gt;  multiple_choice = 'X' " Allows to select multiple records&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;  value_tab = it_value&lt;/P&gt;&lt;P&gt;  return_tab = rtab.&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      ptab[] = rtab[].&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 09:12:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-search-help-select-multiple-row/m-p/7388208#M1544964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-25T09:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: F4 Search help select multiple row</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-search-help-select-multiple-row/m-p/7388209#M1544965</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>Mon, 07 Feb 2011 06:42:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-search-help-select-multiple-row/m-p/7388209#M1544965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-07T06:42:48Z</dc:date>
    </item>
  </channel>
</rss>

