<?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 help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1559490#M253124</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;its dynamic serach help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so ur passing an internal table to the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we can domanipulation on that itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select order date from ztable into itab where ...(ur condiation).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort itab by order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa.&lt;/P&gt;&lt;P&gt;wa-order =itab-order.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;at new date.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;wa-date = itab-date.&lt;/P&gt;&lt;P&gt;end at.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append itab2 from wa.&lt;/P&gt;&lt;P&gt;clear wa.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pass this itab2 to the dynamic f4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Anversha s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Oct 2006 07:51:07 GMT</pubDate>
    <dc:creator>anversha_s</dc:creator>
    <dc:date>2006-10-04T07:51:07Z</dc:date>
    <item>
      <title>F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1559487#M253121</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 have created a field posting_date in some Ztable&amp;#133;when I use this field in some Zreport as select-option..when I press F4 it generally shows a calendar &amp;#133;but instead of showing the calendar I have created a search help for that field now it show only the entries in the Ztable..but as it is posting_date there are many POs which have same posting date it is showing the date of all POs even it is the same date&amp;#133;in clear there will be many POs with same posting_date when I press F4 help for that field in some Zreport it is showing the Ztable entries I want to make the display entries as unique..i.e,if 10 POs have same posting_date 10/4/2006 when I press F4 it shows 10/4/2006 repeatedly as 10 times..i want to make it as unique..if a different POs have same date it should display only once..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 07:46:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1559487#M253121</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T07:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1559488#M253122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In that case&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. we can use the FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   F4IF_INT_TABLE_VALUE_REQUEST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; and our own ITAB&lt;/P&gt;&lt;P&gt; and our own logic&lt;/P&gt;&lt;P&gt; for removing the duplicate values&lt;/P&gt;&lt;P&gt; using SORT and DELETE ADJACENT DUPLICATES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. To get a taste of how to use this FM,&lt;/P&gt;&lt;P&gt;    just copy paste.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ABC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-----------------------" /&gt;&lt;P&gt;DATA : BEGIN OF ITAB OCCURS 0,&lt;/P&gt;&lt;P&gt;UNAME LIKE USR01-BNAME,&lt;/P&gt;&lt;P&gt;END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : RETURN_TAB LIKE DDSHRETVAL occurs 0 .&lt;/P&gt;&lt;P&gt;data : RETURN_wa LIKE DDSHRETVAL .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------------------" /&gt;&lt;P&gt;PARAMETERS : A(12) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------------" /&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB-UNAME = 'U01'. APPEND ITAB.&lt;/P&gt;&lt;P&gt;ITAB-UNAME = 'U02'. APPEND ITAB.&lt;/P&gt;&lt;P&gt;ITAB-UNAME = 'U03'. APPEND ITAB.&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DDIC_STRUCTURE = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;retfield = 'ITAB-UNAME'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PVALKEY = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DYNPPROG = SY-REPID&lt;/P&gt;&lt;P&gt;DYNPNR = SY-DYNNR&lt;/P&gt;&lt;P&gt;DYNPROFIELD = 'A'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;STEPL = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WINDOW_TITLE =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;VALUE = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;VALUE_ORG = 'S'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MULTIPLE_CHOICE = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DISPLAY = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CALLBACK_PROGRAM = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CALLBACK_FORM = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MARK_TAB =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;USER_RESET =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;value_tab = ITAB&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FIELD_TAB = FTAB&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;RETURN_TAB = return_tab&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DYNPFLD_MAPPING =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PARAMETER_ERROR = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;NO_VALUES_FOUND = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;OTHERS = 3&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;break-point.&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 07:49:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1559488#M253122</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T07:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1559489#M253123</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;&lt;/P&gt;&lt;P&gt;REFRESH and CLEAR the internal table that you use for searchhelp initially (before calling the FM for F4)..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;otherwise..each time you use F4,the previous values get appended..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ajith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 07:50:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1559489#M253123</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T07:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1559490#M253124</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;its dynamic serach help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so ur passing an internal table to the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we can domanipulation on that itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select order date from ztable into itab where ...(ur condiation).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort itab by order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa.&lt;/P&gt;&lt;P&gt;wa-order =itab-order.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;at new date.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;wa-date = itab-date.&lt;/P&gt;&lt;P&gt;end at.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append itab2 from wa.&lt;/P&gt;&lt;P&gt;clear wa.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pass this itab2 to the dynamic f4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Anversha s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 07:51:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1559490#M253124</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-10-04T07:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1559491#M253125</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;You can use the FM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen on value request for posting_date-low.&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 = 'POSTING_DATE'&lt;/P&gt;&lt;P&gt;DYNPROFIELD = 'POSTING_DATE-LOW'&lt;/P&gt;&lt;P&gt;DYNPPROG = SY-CPROG&lt;/P&gt;&lt;P&gt;DYNPNR = SY-DYNNR&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;VALUE_TAB = HELP_ITEM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the help_item, you can populate the PO's and the unique dates by deleting adjacent duplicates comparing PO's and date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Navneet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 07:55:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1559491#M253125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T07:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1559492#M253126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi amit,&lt;/P&gt;&lt;P&gt;Thanks for u reply..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the FM 'F4IF_INT_TABLE_VALUE_REQUEST'is used for user specific values such as hard coded values..but i want the data from Ztable but the date value which contain in it should not be repeated ...a unique value..if 10/4/2006 entry is present 15 times in the table it should be displayed only once when i press F4 in the Zreport&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 08:43:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1559492#M253126</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T08:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1559493#M253127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of it_po occurs 0,&lt;/P&gt;&lt;P&gt;PO like table-PO,&lt;/P&gt;&lt;P&gt;end of it_po.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of it_dates occurs 0,&lt;/P&gt;&lt;P&gt;PO like table-dates,&lt;/P&gt;&lt;P&gt;end of it_dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select distinct PO from ZTABLE into table it_po.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select distinct dates from ztable &lt;/P&gt;&lt;P&gt;         into table it_dates &lt;/P&gt;&lt;P&gt;            for all entries in it_po &lt;/P&gt;&lt;P&gt;                 where PO = it_po-PO.&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;&lt;/P&gt;&lt;P&gt;Ajith&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MArk if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 08:49:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1559493#M253127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T08:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1559494#M253128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you..ajith&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But we will be getting the uniques values to internal table...but how i can get to the unique values in F4 help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 09:02:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1559494#M253128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T09:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1559495#M253129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data : begin of it_po occurs 0,&lt;/P&gt;&lt;P&gt;PO like table-PO,&lt;/P&gt;&lt;P&gt;end of it_po.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of it_dates occurs 0,&lt;/P&gt;&lt;P&gt;PO like table-PO,&lt;/P&gt;&lt;P&gt;dates like table-dates,&lt;/P&gt;&lt;P&gt;end of it_dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select distinct PO from ZTABLE into table it_po.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Select distinct PO dates from ztable &lt;/P&gt;&lt;P&gt;into table it_dates &lt;/P&gt;&lt;P&gt;for all entries in it_po &lt;/P&gt;&lt;P&gt;where PO = it_po-PO.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so now it_dates has PO and its dates,..&lt;/P&gt;&lt;P&gt;Pass this table it_dates to the F4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards ,&lt;/P&gt;&lt;P&gt;Ajith&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 09:36:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1559495#M253129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T09:36:07Z</dc:date>
    </item>
  </channel>
</rss>

