<?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 popup values in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-popup-values/m-p/2669730#M616326</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can control the F4 values by using F4IF_INT_TABLE_VALUE_REQUEST and pass the data from any required int table and use screen field name in import parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use this method in: AT SELECTION-SRENN ON VALUE-REQUEST event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Krishnendu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2007 06:01:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-14T06:01:27Z</dc:date>
    <item>
      <title>F4 popup values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-popup-values/m-p/2669729#M616325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;In a Table certain field is associated with a Check Table.&lt;/P&gt;&lt;P&gt;A transaction displays / modifies values of  the table. When I click on the&lt;/P&gt;&lt;P&gt;F4 help values for the field, system showing a F4 help with certain default values and fetching the values&lt;/P&gt;&lt;P&gt;based on the default values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My doubts:&lt;/P&gt;&lt;P&gt;1. How the default values in F4 help are populated.&lt;/P&gt;&lt;P&gt;2. Can I control the search criteria through programming&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example :&lt;/P&gt;&lt;P&gt; Table Name : Table_1&lt;/P&gt;&lt;P&gt;                Field_1&lt;/P&gt;&lt;P&gt; Check Table Name  : Table_check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Check_Table key Fields&lt;/P&gt;&lt;P&gt;                Check-1&lt;/P&gt;&lt;P&gt;                Check-2&lt;/P&gt;&lt;P&gt;                Field_1&lt;/P&gt;&lt;P&gt;                From_Date &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the transaction, F4 on Field_1 showing the fields ChecK-1 CHeck-2 Field_1 and From_Date and also&lt;/P&gt;&lt;P&gt; populating these values based on the Table_1 record's values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know how the values are populated in the F4 Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 05:45:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-popup-values/m-p/2669729#M616325</guid>
      <dc:creator>raja_ksravankumarreddy</dc:creator>
      <dc:date>2007-08-14T05:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: F4 popup values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-popup-values/m-p/2669730#M616326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can control the F4 values by using F4IF_INT_TABLE_VALUE_REQUEST and pass the data from any required int table and use screen field name in import parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use this method in: AT SELECTION-SRENN ON VALUE-REQUEST event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Krishnendu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 06:01:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-popup-values/m-p/2669730#M616326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T06:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: F4 popup values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-popup-values/m-p/2669731#M616327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Raja,&lt;/P&gt;&lt;P&gt;  there is hierarchy followed by the system depending on which the values in the F4 help are displayed, check this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/0b/32e9b798da11d295b800a0c929b3c3/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/0b/32e9b798da11d295b800a0c929b3c3/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 06:06:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-popup-values/m-p/2669731#M616327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T06:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: F4 popup values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-popup-values/m-p/2669732#M616328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with the following function module you can call, dependant from your parameters&lt;/P&gt;&lt;P&gt;different search helps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;...Suchhilfe für zulässige Prozessketten&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_chain.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;tabname = 'ZKSRSPCMAIL'&lt;/P&gt;&lt;P&gt;fieldname = 'CHAIN_ID'&lt;/P&gt;&lt;P&gt;searchhelp = 'ZK_RSPC_ZV_ZKSRSPCMAIL'&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;SHLPPARAM = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;dynpprog = 'ZKRSPCMAIL'&lt;/P&gt;&lt;P&gt;dynpnr = '1000'&lt;/P&gt;&lt;P&gt;dynprofield = 'P_CHAIN'&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;STEPL = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;VALUE = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;MULTIPLE_CHOICE = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;DISPLAY = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;SUPPRESS_RECORDLIST = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;CALLBACK_PROGRAM = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;CALLBACK_FORM = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;SELECTION_SCREEN = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;USER_RESET =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;return_tab = it_return_tab&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;field_not_found = 1&lt;/P&gt;&lt;P&gt;no_help_for_field = 2&lt;/P&gt;&lt;P&gt;inconsistent_help = 3&lt;/P&gt;&lt;P&gt;no_values_found = 4&lt;/P&gt;&lt;P&gt;OTHERS = 5&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can call existing search helps or define your own by calling transaction SE80 -&amp;gt; Edit Object -&amp;gt; Dictionary -&amp;gt; Search help -&amp;gt; your_name -&amp;gt; F5 create.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within the search help you can call an exit function module, that you have to &lt;/P&gt;&lt;P&gt;prorgamm yourself. Within the exit you can manipulate the F4 values the way you need it. There' an example for search help exits F4IF_SHLP_EXIT_EXAMPLE.&lt;/P&gt;&lt;P&gt;The search help exits provide different timepoints to take influence on the population of the search help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is from the documentation of Search help exit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During the input help process, a number of timepoints are defined that each define the beginning of an important operation of the input help process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the input help process is defined with a search help having a search help exit, this search help exit is called at each of these timepoints. If required, the search help exit can also influence the process and even determine that the process should be continued at a different timepoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following timepoints are defined:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. SELONE&lt;/P&gt;&lt;P&gt;Call before selecting an elementary search help. The possible elementary search helps are already in SHLP_TAB. This timepoint can be used in a search help exit of a collective search help to restrict the selection possibilities for the elementary search helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Entries that are deleted from SHLP_TAB in this step are not offered in the elementary search help selection. If there is only one entry remaining in SHLP_TAB, the dialog box for selecting elementary search helps is skipped. You may not change the next timepoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The timepoint is not accessed again if another elementary search help is to be selected during the dialog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. PRESEL1&lt;/P&gt;&lt;P&gt;After selecting an elementary search help. Table INTERFACE has not yet been copied to table SELOPT at this timepoint in the definition of the search help (type SHLP_DESCR_T). This means that you can still influence the attachment of the search help to the screen here. (Table INTERFACE contains the information about how the search help parameters are related to the screen fields).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. PRESEL&lt;/P&gt;&lt;P&gt;Before sending the dialog box for restricting values. This timepoint is suitable for predefining the value restriction or for completely suppressing or copying the dialog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. SELECT&lt;/P&gt;&lt;P&gt;Before selecting the values. If you do not want the default selection, you should copy this timepoint with a search help exit. DISP should be set as the next timepoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. DISP&lt;/P&gt;&lt;P&gt;Before displaying the hit list. This timepoint is suitable for restricting the values to be displayed, e.g. depending on authorizations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. RETURN (usually as return value for the next timepoint)&lt;/P&gt;&lt;P&gt;The RETURN timepoint should be returned as the next step if a single hit was selected in a search help exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It can make sense to change the F4 flow at this timepoint if control of the process sequence of the Transaction should depend on the selected value (typical example: setting SET/GET parameters). However, you should note that the process will then depend on whether a value was entered manually or with an input help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. RETTOP&lt;/P&gt;&lt;P&gt;You only go to this timepoint if the input help is controlled by a collective search help. It directly follows the timepoint RETURN. The search help exit of the collective search help, however, is called at timepoint RETTOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8. EXIT (only for return as next timepoint)&lt;/P&gt;&lt;P&gt;The EXIT timepoint should be returned as the next step if the user had the opportunity to terminate the dialog within the search help exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9. CREATE&lt;/P&gt;&lt;P&gt;The CREATE timepoint is only accessed if the user selects the function "Create new values". This function is only available if field CUSTTAB of the control string CALLCONTROL was given a value not equal to SPACE earlier on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The name of the (customizing) table to be maintained is normally entered there. The next step returned after CREATE should be SELECT so that the newly entered value can be selected and then displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10. APP1, APP2, APP3&lt;/P&gt;&lt;P&gt;If further pushbuttons are introduced in the hit list with function module F4UT_LIST_EXIT, these timepoints are introduced. They are accessed when the user presses the corresponding pushbutton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: If the F4 help is controlled by a collective search help, the search help exit of the collective search help is called at timepoints SELONE and RETTOP. (RETTOP only if the user selects a value.) At all other timepoints the search help exit of the selected elementary search help is called.&lt;/P&gt;&lt;P&gt;If the F4 help is controlled by an elementary search help, timepoint RETTOP is not executed. The search help exit of the elementary search help is called at timepoint SELONE (at the moment). This search help exit should not do anything at this timepoint. Any preparatory work should be carried out at timepoint PRESEL1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards Henner&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 08:30:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-popup-values/m-p/2669732#M616328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T08:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: F4 popup values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-popup-values/m-p/2669733#M616329</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;For ur reqirement u have to creat a search help.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;se11-&amp;gt;search help-&amp;gt; creat-&amp;gt; u give field name -&amp;gt; exit name -&amp;gt; user_exit_field_name-&amp;gt; in bottom give ur field name -&amp;gt; then u give ur manadatory values.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then u declare ur search help name then u will get possible values for ur field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward me a points if it use full answer................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 10:57:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-popup-values/m-p/2669733#M616329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T10:57:04Z</dc:date>
    </item>
  </channel>
</rss>

