<?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 F4 for select-option in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-for-select-option/m-p/1731957#M318642</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 want to provide F4 help for a select-option field. Actually the table field of the select-option didn't have search-help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know how to provide F4 help for this select-option. I have tried with the below code. I didn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on s_db1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CODE TO PROVIDE SEARCH-HELP&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;  SELECT * FROM ztable&lt;/P&gt;&lt;P&gt;           INTO TABLE gi_ztable.&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        = 'DBNAME1'&lt;/P&gt;&lt;P&gt;      dynpprog        = sy-repid&lt;/P&gt;&lt;P&gt;      dynpnr          = sy-dynnr&lt;/P&gt;&lt;P&gt;      dynprofield     = 'S_DB1-LOW'&lt;/P&gt;&lt;P&gt;      value_org       = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      value_tab       = gi_ztable&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;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE i799(f9) WITH text-002.&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;Vishnu Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Dec 2006 06:37:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-26T06:37:02Z</dc:date>
    <item>
      <title>F4 for select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-for-select-option/m-p/1731957#M318642</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 want to provide F4 help for a select-option field. Actually the table field of the select-option didn't have search-help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know how to provide F4 help for this select-option. I have tried with the below code. I didn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on s_db1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CODE TO PROVIDE SEARCH-HELP&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;  SELECT * FROM ztable&lt;/P&gt;&lt;P&gt;           INTO TABLE gi_ztable.&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        = 'DBNAME1'&lt;/P&gt;&lt;P&gt;      dynpprog        = sy-repid&lt;/P&gt;&lt;P&gt;      dynpnr          = sy-dynnr&lt;/P&gt;&lt;P&gt;      dynprofield     = 'S_DB1-LOW'&lt;/P&gt;&lt;P&gt;      value_org       = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      value_tab       = gi_ztable&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;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE i799(f9) WITH text-002.&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;Vishnu Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 06:37:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-for-select-option/m-p/1731957#M318642</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T06:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: F4 for select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-for-select-option/m-p/1731958#M318643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use my demo code and make changes as per ur selection screen and the table from which u want to read F4 values - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and code shud be written on the event -&lt;/P&gt;&lt;P&gt;At selection-screen on value-request for ECODE.&lt;/P&gt;&lt;P&gt;not on the selection screen event..hope u got my point&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report  ZGILL_VALUE_REQUEST                                         *&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZGILL_VALUE_REQUEST                     .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of lt_all occurs 0.&lt;/P&gt;&lt;P&gt;        include structure DYNPREAD.&lt;/P&gt;&lt;P&gt;data  end of lt_all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of lt_selected occurs 0.&lt;/P&gt;&lt;P&gt;       include structure DDSHRETVAL.&lt;/P&gt;&lt;P&gt;data: end of lt_selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF lt_code OCCURS 0,&lt;/P&gt;&lt;P&gt;            code LIKE zgill_main-PERNR,&lt;/P&gt;&lt;P&gt;      END OF lt_code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data no_dyn like sy-dynnr.&lt;/P&gt;&lt;P&gt;Parameters : ECODE like zgill_main-PERNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*parameters: pernr like pa0001-pernr .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no_dyn =  sy-dynnr.   "give the scren no directly or sy-dynnr in case of report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen on value-request for ECODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select PERNR into table lt_code from zgill_main.&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               = 'ECODE'&lt;/P&gt;&lt;P&gt;        dynpprog               = sy-repid&lt;/P&gt;&lt;P&gt;       dynpnr                  = no_dyn&lt;/P&gt;&lt;P&gt;      dynprofield              =       'ECODE'&lt;/P&gt;&lt;P&gt;      window_title           = 'Employee Details'&lt;/P&gt;&lt;P&gt;       value_org              = 'S'&lt;/P&gt;&lt;P&gt;      DISPLAY                = 'F'&lt;/P&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;        value_tab             = lt_code&lt;/P&gt;&lt;P&gt;       RETURN_TAB             = lt_selected.&lt;/P&gt;&lt;UL&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;*if sy-subrc eq '0' .&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  write: 'success'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*endif.&lt;/P&gt;&lt;P&gt;read   table lt_selected index sy-tabix.&lt;/P&gt;&lt;P&gt;move lt_selected-fieldval to ECODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpfull&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Amit Tyagi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 06:39:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-for-select-option/m-p/1731958#M318643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T06:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: F4 for select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-for-select-option/m-p/1731959#M318644</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;do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT-OPTIONS : s_kunnr for kna1-kunnr.

at selection-screen on value-request for s_kunnr-low.

*code for dynamic f4 help.

at selection-screen on value-request for s_kunnr-high.

*code for dynamic f4 help.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 06:51:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-for-select-option/m-p/1731959#M318644</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-12-26T06:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: F4 for select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-for-select-option/m-p/1731960#M318645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U need to use AT SELECTION-SCREEN ON VALUE REQUEST FOR s_db1-low&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;Kannaiah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 06:57:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-for-select-option/m-p/1731960#M318645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T06:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: F4 for select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-for-select-option/m-p/1731961#M318646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank u all. I have incorrectly given the selection-screen event. It is working now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 07:30:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-for-select-option/m-p/1731961#M318646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T07:30:16Z</dc:date>
    </item>
  </channel>
</rss>

