<?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: Select multiple Columns from F4IF_INT_TABLE_VALUE_REQUEST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-multiple-columns-from-f4if-int-table-value-request/m-p/5540988#M1265511</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 to pass MULTIPLE_CHOICE = 'X',see its documentations&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;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Apr 2009 11:25:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-13T11:25:52Z</dc:date>
    <item>
      <title>Select multiple Columns from F4IF_INT_TABLE_VALUE_REQUEST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-multiple-columns-from-f4if-int-table-value-request/m-p/5540984#M1265507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Friends,&lt;/P&gt;&lt;P&gt;I am trying to display a table using the FM F4IF_INT_TABLE_VALUE_REQUEST.&lt;/P&gt;&lt;P&gt;I would like to read the values of the entire row(or selected columns) that the user has clicked on.&lt;/P&gt;&lt;P&gt;Here are the input parameters i passed. In table lt_fields i specified the column that are to be read from value_tab.&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    = 'BATCH'&lt;/P&gt;&lt;P&gt;            dynpprog    = lv_repid&lt;/P&gt;&lt;P&gt;            dynpnr      = lv_dynnr&lt;/P&gt;&lt;P&gt;            dynprofield = lv_dynfld&lt;/P&gt;&lt;P&gt;            value_org   = 'C'&lt;/P&gt;&lt;P&gt;          TABLES&lt;/P&gt;&lt;P&gt;            value_tab   = lt_bpo_upl&lt;/P&gt;&lt;P&gt;            return_tab  = lt_ret_status&lt;/P&gt;&lt;P&gt;            field_tab   = lt_fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your inputs are appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;P&gt;Gayathri .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2009 10:59:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-multiple-columns-from-f4if-int-table-value-request/m-p/5540984#M1265507</guid>
      <dc:creator>gayathri_narayanan</dc:creator>
      <dc:date>2009-04-13T10:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Select multiple Columns from F4IF_INT_TABLE_VALUE_REQUEST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-multiple-columns-from-f4if-int-table-value-request/m-p/5540985#M1265508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the following FM with the given code..retrive the required number of fields in ur select query----&lt;/P&gt;&lt;P&gt;Hope it will solve ur problem....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF INTTAB OCCURS 10,&lt;/P&gt;&lt;P&gt;CODE LIKE QPCT-CODE,&lt;/P&gt;&lt;P&gt;KURZTEXT LIKE QPCT-KURZTEXT,&lt;/P&gt;&lt;P&gt;END OF INTTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR CODE-LOW.&lt;/P&gt;&lt;P&gt;SELECT &lt;STRONG&gt;CODE KURZTEXT&lt;/STRONG&gt; FROM QPCT INTO TABLE INTTAB WHERE CODEGRUPPE = 'QCREMARK'.&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 = 'CODE'&lt;/P&gt;&lt;P&gt; DYNPPROG = SY-CPROG&lt;/P&gt;&lt;P&gt; DYNPNR = SY-DYNNR&lt;/P&gt;&lt;P&gt; DYNPROFIELD = 'CODE-LOW'&lt;/P&gt;&lt;P&gt;WINDOW_TITLE = 'Select Quality Remark Code'&lt;/P&gt;&lt;P&gt;VALUE_ORG = 'S'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;VALUE_TAB = inttab&lt;/P&gt;&lt;P&gt;EXCEPTIONS&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;Edited by: mujib tirandaz on Apr 13, 2009 1:13 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2009 11:09:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-multiple-columns-from-f4if-int-table-value-request/m-p/5540985#M1265508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-13T11:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Select multiple Columns from F4IF_INT_TABLE_VALUE_REQUEST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-multiple-columns-from-f4if-int-table-value-request/m-p/5540986#M1265509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gayatri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this function module to select or read the values of the entire row.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
          EXPORTING
            i_title               = w_text           "Title
            i_selection           = 'X'
            i_screen_start_column = 5
            i_screen_start_line   = 5
            i_screen_end_column   = 106
            i_screen_end_line     = 20
            i_tabname             = 'T_STO'                    "Table ame
            it_fieldcat           = gt_fieldcat_drd[]           "Field catalog
          IMPORTING
            es_selfield           = gc_selfield                  "Dummy structure returns index and lne selected
          TABLES
            t_outtab              = t_sto                          "Output Table 
          EXCEPTIONS
            program_error         = 1
            OTHERS                = 2.
        IF sy-subrc  0.
          MESSAGE e514 WITH 'wrong Selection'.
        ENDIF.

Read table T_STO index gc_selfield-index.
if sy-subrc  = 0.
"&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;---Move entrie row inot respected fields. 
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the dummy structure it returns index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2009 11:17:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-multiple-columns-from-f4if-int-table-value-request/m-p/5540986#M1265509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-13T11:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Select multiple Columns from F4IF_INT_TABLE_VALUE_REQUEST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-multiple-columns-from-f4if-int-table-value-request/m-p/5540987#M1265510</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;Thios FM is used to get the F4 values in selection screen for a field in selection screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value request on s_matnr.&lt;/P&gt;&lt;P&gt;get the requreied values and pass those valuse to the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its not possible to select multiple value...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: kiran vempati on Apr 13, 2009 1:19 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2009 11:18:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-multiple-columns-from-f4if-int-table-value-request/m-p/5540987#M1265510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-13T11:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Select multiple Columns from F4IF_INT_TABLE_VALUE_REQUEST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-multiple-columns-from-f4if-int-table-value-request/m-p/5540988#M1265511</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 to pass MULTIPLE_CHOICE = 'X',see its documentations&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;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2009 11:25:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-multiple-columns-from-f4if-int-table-value-request/m-p/5540988#M1265511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-13T11:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Select multiple Columns from F4IF_INT_TABLE_VALUE_REQUEST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-multiple-columns-from-f4if-int-table-value-request/m-p/5540989#M1265512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gayatri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

use   'REUSE_ALV_POPUP_TO_SELECT'

instead of 'F4IF_INT_TABLE_VALUE_REQUEST'

the both function module acts same but the function module you used retunns only one value, the function module i mentioned returns index by capturing index you can retrice entire row values.


see the example i had given above,,

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2009 11:26:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-multiple-columns-from-f4if-int-table-value-request/m-p/5540989#M1265512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-13T11:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Select multiple Columns from F4IF_INT_TABLE_VALUE_REQUEST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-multiple-columns-from-f4if-int-table-value-request/m-p/5540990#M1265513</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 FM 'POPUP_WITH_TABLE_DISPLAY'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_laufi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT lifnr&lt;/P&gt;&lt;P&gt;        FROM zfamex_ibcp&lt;/P&gt;&lt;P&gt;        INTO TABLE t_lifnr.&lt;/P&gt;&lt;P&gt;  IF t_lifnr IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;    SELECT laufd&lt;/P&gt;&lt;P&gt;           laufi&lt;/P&gt;&lt;P&gt;           lifnr&lt;/P&gt;&lt;P&gt;           FROM reguh&lt;/P&gt;&lt;P&gt;           INTO TABLE t_laufi&lt;/P&gt;&lt;P&gt;           FOR ALL ENTRIES IN t_lifnr&lt;/P&gt;&lt;P&gt;           WHERE lifnr = t_lifnr-lifnr AND&lt;/P&gt;&lt;P&gt;           xvorl NE 'X'.&lt;/P&gt;&lt;P&gt;    SORT t_laufi BY laufd DESCENDING.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Function module to create F4 help for payment run date/run id&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        endpos_col   = '63'&lt;/P&gt;&lt;P&gt;        endpos_row   = '30'&lt;/P&gt;&lt;P&gt;        startpos_col = '40'&lt;/P&gt;&lt;P&gt;        startpos_row = '5'&lt;/P&gt;&lt;P&gt;        titletext    = 'Payment Run Date/Payment Run Id'&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        choise       = w_tabix&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        valuetab     = t_laufi&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        break_off    = 1&lt;/P&gt;&lt;P&gt;        OTHERS       = 2.&lt;/P&gt;&lt;P&gt;    CHECK sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;    READ TABLE t_laufi INTO wa_laufi INDEX w_tabix.&lt;/P&gt;&lt;P&gt;    IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;      w_laufd = wa_laufi-laufd.&lt;/P&gt;&lt;P&gt;      w_laufi = wa_laufi-laufi.&lt;/P&gt;&lt;P&gt;      CONCATENATE w_laufd&lt;/P&gt;&lt;P&gt;                  w_laufi&lt;/P&gt;&lt;P&gt;                  INTO p_laufi&lt;/P&gt;&lt;P&gt;                  SEPARATED BY space.&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;Regards&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2009 11:42:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-multiple-columns-from-f4if-int-table-value-request/m-p/5540990#M1265513</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-13T11:42:53Z</dc:date>
    </item>
  </channel>
</rss>

