<?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: Search Help Exit - problems returning values in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit-problems-returning-values/m-p/913715#M57626</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While debuggin onto Standard SAP after calling my Search Help exit, I saw that it's checking the number of rows in RECORD_TAB when the DISP event is thrown.&lt;/P&gt;&lt;P&gt;If this is the case, Standard SAP changes the next step (event) to RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have saw that the problem occurs when the user has set the flag "Only return value directly in only one hit" on menu HELP --&amp;gt; SETTINGS --&amp;gt; F4 Help. I have done a test with this flag cleared, and if my selection sets RECORD_TAB with only one row, this data is displayed on the screen, and if I select the row, it's returned correctly to the Dynpro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I suppose that the problem is with RETURN event processed by SAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Feb 2005 15:09:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-02-10T15:09:44Z</dc:date>
    <item>
      <title>Search Help Exit - problems returning values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit-problems-returning-values/m-p/913713#M57624</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;I have created a new Search Help that uses the search help exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this exit, I have done my own data selection in SELECT event. Everything works ok, I populate the corresponding data into the RECORD_TAB parameter, and it's displayed on the screen using DISP event (when RECORD_TAB has more than 1 row). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, when the selection data returns only one row, it's not displayed on the screen nor returned back to the Dynpro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking into Function Module F4IF_SHLP_EXIT_EXAMPLE, I saw that in DISP event, when RECORD_TAB has only one row, I have to set the next event to RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done this, but instead of returning the selected row, it goes back to the selection screen of the search help (where you can filter the displayed data).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone knows why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2005 14:44:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit-problems-returning-values/m-p/913713#M57624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-10T14:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help Exit - problems returning values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit-problems-returning-values/m-p/913714#M57625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found this comment in the documentation in case it helps you:&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). &amp;lt;b&amp;gt;However, you should note that the process will then depend on whether a value was entered manually or with an input help.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2005 14:59:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit-problems-returning-values/m-p/913714#M57625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-10T14:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help Exit - problems returning values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit-problems-returning-values/m-p/913715#M57626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While debuggin onto Standard SAP after calling my Search Help exit, I saw that it's checking the number of rows in RECORD_TAB when the DISP event is thrown.&lt;/P&gt;&lt;P&gt;If this is the case, Standard SAP changes the next step (event) to RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have saw that the problem occurs when the user has set the flag "Only return value directly in only one hit" on menu HELP --&amp;gt; SETTINGS --&amp;gt; F4 Help. I have done a test with this flag cleared, and if my selection sets RECORD_TAB with only one row, this data is displayed on the screen, and if I select the row, it's returned correctly to the Dynpro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I suppose that the problem is with RETURN event processed by SAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2005 15:09:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit-problems-returning-values/m-p/913715#M57626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-10T15:09:44Z</dc:date>
    </item>
  </channel>
</rss>

