<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4/m-p/1339917#M172136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pawan,&lt;/P&gt;&lt;P&gt;here is the sample code for the select options inputt fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1104684"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can check this below links also for further assiistance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/daeda0d7-0701-0010-8caa-edc983384237" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/daeda0d7-0701-0010-8caa-edc983384237&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&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;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 27 May 2006 13:05:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-27T13:05:16Z</dc:date>
    <item>
      <title>F4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4/m-p/1339913#M172132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PLZ SUGGEST ME HOW I CAN ADD A F4 OR SEARCH HELP FOR AN INPUT FIELD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 May 2006 12:36:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4/m-p/1339913#M172132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-27T12:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: F4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4/m-p/1339914#M172133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;If it's a report's selection-screen you can use the &lt;/P&gt;&lt;P&gt;selection-screen command "MATCHCODE ID".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See online-help for parameters and select-options command.&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;Rainer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some points would be nice if that helped a bit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 May 2006 12:47:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4/m-p/1339914#M172133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-27T12:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: F4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4/m-p/1339915#M172134</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;It depends on where your input field is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a field of selection-screen you have to use the event AT SELECTION-SCREEN VALUE REQUEST FOR &amp;lt;FIELD NAME&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a field of a screen you can assign a search help by several ways:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- A) Yuo can assign a search help in the characteristic of the field by screen-painter;&lt;/P&gt;&lt;P&gt;- B) You can use the event PROCESS ON VALUE-REQUEST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use fm F4IF_FIELD_VALUE_REQUEST to call the search help, so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN VALUE REQUEST FOR &amp;lt;FIELD NAME&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;    ..............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST.&lt;/P&gt;&lt;P&gt; FIELD &amp;lt;INPUT FIELD&amp;gt; MODULE F4_FOR_FIELD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE F4_FOR_FIELD.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;    ..............&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 May 2006 12:49:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4/m-p/1339915#M172134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-27T12:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: F4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4/m-p/1339916#M172135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pawan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use this FM &amp;lt;b&amp;gt;F4IF_FIELD_VALUE_REQUEST&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this sample codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT ZTEST01.
 
TYPE-POOLS: shlp.
 
DATA: lt_return TYPE STANDARD TABLE OF ddshretval.
 
PARAMETERS: p_belnr LIKE vbkpf-belnr,
            p_gjahr LIKE vbkpf-gjahr.
 
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_belnr.
 
  CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
    EXPORTING
      tabname                   = 'VBKPF'
      fieldname                 = 'BELNR'
      searchhelp                = 'H_VBKPF'
      shlpparam                 = 'BELNR'
      dynpprog                  = 'ZSRITEST59'
      dynpnr                    = sy-dynnr
      dynprofield               = 'P_BELNR'
*     STEPL                     = 0
*     VALUE                     = ' '
*     MULTIPLE_CHOICE           = ' '
*     DISPLAY                   = ' '
*     SUPPRESS_RECORDLIST       = ' '
      CALLBACK_PROGRAM          = 'ZSRITEST59'
      CALLBACK_FORM             = 'HANDLE_F4'
    TABLES
      return_tab                = lt_return[]
    EXCEPTIONS
      field_not_found           = 1
      no_help_for_field         = 2
      inconsistent_help         = 3
      no_values_found           = 4
      OTHERS                    = 5.
   
  IF sy-subrc &amp;lt;&amp;gt; 0.
*   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
 
START-OF-SELECTION.
 
*---------------------------------------------------------------------*
*       FORM handle_f4                                                *
*---------------------------------------------------------------------*
*       ........                                                      *
*---------------------------------------------------------------------*
*  --&amp;gt;  LT_DATA                                                       *
*  --&amp;gt;  LS_SHLP                                                       *
*  --&amp;gt;  LS_CALLCONTROL                                                *
*---------------------------------------------------------------------*
FORM handle_f4 TABLES lt_data STRUCTURE seahlpres
****The following TYPE SHLP_DESCR_T is replaced with
****SHLP_DESCR from 4.7 onwards
             CHANGING ls_shlp TYPE shlp_descr_t
                      ls_callcontrol LIKE ddshf4ctrl.
 
  DATA: lwa_interface LIKE LINE OF ls_shlp-interface.
 
  lwa_interface-valtabname = ''.
  lwa_interface-valfield = 'P_GJAHR'.
 
  MODIFY ls_shlp-interface FROM lwa_interface
  TRANSPORTING valtabname valfield
         WHERE shlpfield = 'GJAHR'.
 
ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 May 2006 12:49:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4/m-p/1339916#M172135</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2006-05-27T12:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: F4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4/m-p/1339917#M172136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pawan,&lt;/P&gt;&lt;P&gt;here is the sample code for the select options inputt fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1104684"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can check this below links also for further assiistance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/daeda0d7-0701-0010-8caa-edc983384237" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/daeda0d7-0701-0010-8caa-edc983384237&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&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;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 May 2006 13:05:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4/m-p/1339917#M172136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-27T13:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: F4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4/m-p/1339918#M172137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For an inputfield on the selection screen u can attach as follows..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS P1 TYPE I MATCHCODE OBJECT &amp;lt;search help name&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for input field on the screen you can add it in the input field attribute "search help"...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Abdul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 May 2006 13:31:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4/m-p/1339918#M172137</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2006-05-27T13:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: F4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4/m-p/1339919#M172138</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;use matchcode object &amp;lt;search help name&amp;gt;....while defining the parameters..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gunjan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 May 2006 13:30:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4/m-p/1339919#M172138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-28T13:30:15Z</dc:date>
    </item>
  </channel>
</rss>

