<?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 Function F4IF_INT_TABLE_VALUE_REQUEST with multiple_choice in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-f4if-int-table-value-request-with-multiple-choice/m-p/1898842#M375552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ´m using the function 'F4IF_INT_TABLE_VALUE_REQUEST ' to make a search help, it works, but when the information marked in the checkboxs is verified in the multiple selections, the first position is deleted and is other ones are repeated. I tried to erase the internal tables headers and doesn´t even work. &lt;/P&gt;&lt;P&gt;Here is the code sample to see if somebody can help me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT YXX .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: tj30t.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: p_status FOR tj30t-txt04 NO INTERVALS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: progname TYPE sy-repid,&lt;/P&gt;&lt;P&gt;           dynnum   TYPE sy-dynnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ret_tab TYPE TABLE OF ddshretval WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF tab_f4 OCCURS 0,&lt;/P&gt;&lt;P&gt;          txt04 TYPE tj30t-txt04,&lt;/P&gt;&lt;P&gt;          txt30 TYPE tj30t-txt30.&lt;/P&gt;&lt;P&gt;DATA: END OF tab_f4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : wa LIKE ddshretval .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_status-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT txt04 txt30&lt;/P&gt;&lt;P&gt;      INTO CORRESPONDING FIELDS OF TABLE tab_f4&lt;/P&gt;&lt;P&gt;  FROM tj30t&lt;/P&gt;&lt;P&gt;     WHERE stsma EQ 'PM000003'&lt;/P&gt;&lt;P&gt;     AND spras EQ sy-langu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  progname = sy-repid.&lt;/P&gt;&lt;P&gt;  dynnum   = sy-dynnr.&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        = 'TXT04'&lt;/P&gt;&lt;P&gt;            dynpprog        = progname&lt;/P&gt;&lt;P&gt;            dynpnr          = dynnum&lt;/P&gt;&lt;P&gt;            dynprofield     = 'P_STATUS-LOW'&lt;/P&gt;&lt;P&gt;            value_org       = 'S'&lt;/P&gt;&lt;P&gt;            window_title    = 'STATUS'&lt;/P&gt;&lt;P&gt;            multiple_choice = 'X'&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            value_tab       = tab_f4&lt;/P&gt;&lt;P&gt;            return_tab      = ret_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at ret_tab.&lt;/P&gt;&lt;P&gt;  p_status-low = ret_tab-FIELDVAL.&lt;/P&gt;&lt;P&gt;  append p_status.&lt;/P&gt;&lt;P&gt;endloop.&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jan 2007 18:12:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-10T18:12:49Z</dc:date>
    <item>
      <title>Function F4IF_INT_TABLE_VALUE_REQUEST with multiple_choice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-f4if-int-table-value-request-with-multiple-choice/m-p/1898842#M375552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ´m using the function 'F4IF_INT_TABLE_VALUE_REQUEST ' to make a search help, it works, but when the information marked in the checkboxs is verified in the multiple selections, the first position is deleted and is other ones are repeated. I tried to erase the internal tables headers and doesn´t even work. &lt;/P&gt;&lt;P&gt;Here is the code sample to see if somebody can help me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT YXX .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: tj30t.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: p_status FOR tj30t-txt04 NO INTERVALS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: progname TYPE sy-repid,&lt;/P&gt;&lt;P&gt;           dynnum   TYPE sy-dynnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ret_tab TYPE TABLE OF ddshretval WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF tab_f4 OCCURS 0,&lt;/P&gt;&lt;P&gt;          txt04 TYPE tj30t-txt04,&lt;/P&gt;&lt;P&gt;          txt30 TYPE tj30t-txt30.&lt;/P&gt;&lt;P&gt;DATA: END OF tab_f4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : wa LIKE ddshretval .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_status-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT txt04 txt30&lt;/P&gt;&lt;P&gt;      INTO CORRESPONDING FIELDS OF TABLE tab_f4&lt;/P&gt;&lt;P&gt;  FROM tj30t&lt;/P&gt;&lt;P&gt;     WHERE stsma EQ 'PM000003'&lt;/P&gt;&lt;P&gt;     AND spras EQ sy-langu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  progname = sy-repid.&lt;/P&gt;&lt;P&gt;  dynnum   = sy-dynnr.&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        = 'TXT04'&lt;/P&gt;&lt;P&gt;            dynpprog        = progname&lt;/P&gt;&lt;P&gt;            dynpnr          = dynnum&lt;/P&gt;&lt;P&gt;            dynprofield     = 'P_STATUS-LOW'&lt;/P&gt;&lt;P&gt;            value_org       = 'S'&lt;/P&gt;&lt;P&gt;            window_title    = 'STATUS'&lt;/P&gt;&lt;P&gt;            multiple_choice = 'X'&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            value_tab       = tab_f4&lt;/P&gt;&lt;P&gt;            return_tab      = ret_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at ret_tab.&lt;/P&gt;&lt;P&gt;  p_status-low = ret_tab-FIELDVAL.&lt;/P&gt;&lt;P&gt;  append p_status.&lt;/P&gt;&lt;P&gt;endloop.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 18:12:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-f4if-int-table-value-request-with-multiple-choice/m-p/1898842#M375552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T18:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Function F4IF_INT_TABLE_VALUE_REQUEST with multiple_choice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-f4if-int-table-value-request-with-multiple-choice/m-p/1898843#M375553</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;check this code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;progname = sy-repid.&lt;/P&gt;&lt;P&gt;dynnum = sy-dynnr.&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 = 'TXT04'&lt;/P&gt;&lt;P&gt;dynpprog = progname&lt;/P&gt;&lt;P&gt;dynpnr = dynnum&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;dynprofield = 'P_STATUS'&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;value_org = 'S'&lt;/P&gt;&lt;P&gt;window_title = 'STATUS'&lt;/P&gt;&lt;P&gt;multiple_choice = 'X'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;value_tab = tab_f4&lt;/P&gt;&lt;P&gt;return_tab = ret_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;  loop at ret_tab.&lt;/P&gt;&lt;P&gt;    p_status-sign = 'I'.&lt;/P&gt;&lt;P&gt;    p_status-option = 'EQ'.&lt;/P&gt;&lt;P&gt;    p_status-low = ret_tab-fieldval.&lt;/P&gt;&lt;P&gt;    append p_status.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;  clear p_status.&lt;/P&gt;&lt;P&gt;  read table ret_tab index 1.&lt;/P&gt;&lt;P&gt;  p_status-low = ret_tab-fieldval.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;CNU&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 18:26:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-f4if-int-table-value-request-with-multiple-choice/m-p/1898843#M375553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T18:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Function F4IF_INT_TABLE_VALUE_REQUEST with multiple_choice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-f4if-int-table-value-request-with-multiple-choice/m-p/1898844#M375554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Roxana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 18:03:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-f4if-int-table-value-request-with-multiple-choice/m-p/1898844#M375554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-11T18:03:09Z</dc:date>
    </item>
  </channel>
</rss>

