<?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/3071603#M728149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TABLES : ztab.

TYPES: BEGIN OF itab,
zid TYPE ztab-zid,
END OF itab.

DATA: itab TYPE STANDARD TABLE OF itab WITH HEADER LINE.
PARAMETERS: p_zid TYPE ztab-zid.


AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_zid.
  SELECT zid FROM ztab INTO TABLE itab.
  SORT itab.
  DELETE ADJACENT DUPLICATES FROM itab.

  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
      retfield    = 'ZID'
      dynpprog    = sy-repid
      dynpnr      = sy-dynnr
      dynprofield = 'P_ZID'
      value_org   = 'S'
    TABLES
      value_tab   = itab.
  IF sy-subrc &amp;lt;&amp;gt; 0.
    "some message
  ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Dec 2007 14:22:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-03T14:22:57Z</dc:date>
    <item>
      <title>f4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/3071599#M728145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i have created a ztable in se11.&lt;/P&gt;&lt;P&gt;i have a field called zid.&lt;/P&gt;&lt;P&gt;now on my selection screen i want a f4 help for p_zid (parameter) field displaying the values which are present in the ztable for the zid field.&lt;/P&gt;&lt;P&gt;for that i ve to create f4 help in the ztable for the available values.&lt;/P&gt;&lt;P&gt;how can i get those?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanls in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 13:37:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/3071599#M728145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-03T13:37: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/3071600#M728146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Sneha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in SE11 you have to maintain the search help for the field you created. Then it will appear automatically, if you place this field as parameter (or select option) on a selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETER : p_zid TYPE ztable-zid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it does not work you can add:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETER : p_zid TYPE ztable-zid MATCHCODE OBJECT name_of_the_search_help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 13:47:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/3071600#M728146</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2007-12-03T13:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: f4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/3071601#M728147</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..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS Matnr TYPE mara-matnr MATCHCODE OBJECT Mat1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, Mat1 is the search help for Matnr which Has defined as the Search help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgards&lt;/P&gt;&lt;P&gt;Bala.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 13:54:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/3071601#M728147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-03T13:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: f4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/3071602#M728148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks eric fro ur response...&lt;/P&gt;&lt;P&gt;but while creating search help there are import,export parameters to be filled in..&lt;/P&gt;&lt;P&gt;also lpos,spos..&lt;/P&gt;&lt;P&gt;wot has to be filled in this..&lt;/P&gt;&lt;P&gt;im not exactly getting wot they are meant for?&lt;/P&gt;&lt;P&gt;can u elaborate ina simlple way...&lt;/P&gt;&lt;P&gt;i read from sap library..i cudnt unserstand it to the  full extent..&lt;/P&gt;&lt;P&gt;can you help me in this case?&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 13:58:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/3071602#M728148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-03T13:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: f4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/3071603#M728149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TABLES : ztab.

TYPES: BEGIN OF itab,
zid TYPE ztab-zid,
END OF itab.

DATA: itab TYPE STANDARD TABLE OF itab WITH HEADER LINE.
PARAMETERS: p_zid TYPE ztab-zid.


AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_zid.
  SELECT zid FROM ztab INTO TABLE itab.
  SORT itab.
  DELETE ADJACENT DUPLICATES FROM itab.

  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
      retfield    = 'ZID'
      dynpprog    = sy-repid
      dynpnr      = sy-dynnr
      dynprofield = 'P_ZID'
      value_org   = 'S'
    TABLES
      value_tab   = itab.
  IF sy-subrc &amp;lt;&amp;gt; 0.
    "some message
  ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 14:22:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/3071603#M728149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-03T14:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: f4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/3071604#M728150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you asked for, may look like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1-Create the search help&lt;/P&gt;&lt;P&gt;Give the field zid as import/export parameter&lt;/P&gt;&lt;P&gt;Add a text field not as parameter but as a displayed field&lt;/P&gt;&lt;P&gt;2-In the PARAMETERS instruction use the clause MATCHCODE OBJECT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other ways to perform it&lt;/P&gt;&lt;P&gt;- In your Z-table define zid as a foreign key on himself&lt;/P&gt;&lt;P&gt;- In the domain definition of zid give the ztable as a table of value&lt;/P&gt;&lt;P&gt;- Create the search help and add it to data-element definition&lt;/P&gt;&lt;P&gt;- Use function modules like F4IF_INT_TABLE_VALUE_REQUEST in an AT SELECTION-SCREEN ON VALUE REQUEST event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 14:38:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/3071604#M728150</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-12-03T14:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: f4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/3071605#M728151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. input and output..set both to ZID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. other way is to use F4_INT_VALUE_REQUEST&lt;/P&gt;&lt;P&gt;in this u need to pass an internal table with one column&lt;/P&gt;&lt;P&gt;populate the internal table wirth the zid from ur database table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope dis will clear ur doubt...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 14:45:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/3071605#M728151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-03T14:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: f4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/3071606#M728152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sneha,&lt;/P&gt;&lt;P&gt;1. Import Perameter   : This flag is used to Read the Values from table &lt;/P&gt;&lt;P&gt;    Export Parameter  : This Flag is used to get the value in  your field            &lt;/P&gt;&lt;P&gt;                                  when you double click the value&lt;/P&gt;&lt;P&gt;                                  in Posible values (f4).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Lpos,Fpos             : One is Line Position and another is Field Position.&lt;/P&gt;&lt;P&gt;                                 &lt;/P&gt;&lt;P&gt;Ex:  If you want to display carrid , connid in your f4 button &lt;/P&gt;&lt;P&gt;if                    Lpos     Fpos&lt;/P&gt;&lt;P&gt;         Carrid       1         2&lt;/P&gt;&lt;P&gt;         Connid     2          1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Selection Screen Carrid  -&lt;/P&gt;&lt;HR originaltext="----------------" /&gt;&lt;P&gt;                              Connid -&lt;/P&gt;&lt;HR originaltext="--------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In F4 Selection   Connid   |  connid&lt;/P&gt;&lt;P&gt;                           -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;       |    -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz Reward if help,&lt;/P&gt;&lt;P&gt;Mahi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 16:32:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/3071606#M728152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-03T16:32:31Z</dc:date>
    </item>
  </channel>
</rss>

