<?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: Type-ahead in search help in ABAP code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-ahead-in-search-help-in-abap-code/m-p/673886#M29746</link>
    <description>&lt;P&gt;You have several steps to do :&lt;/P&gt;
  &lt;P&gt;1) create a SH view with all the fields you need for selecting and displaying&lt;/P&gt;
  &lt;P&gt;2) be sure that the SH uses the view and that the field VBELN is a parameter of the SH&lt;/P&gt;
  &lt;P&gt;3) be sure to define the parameter on selection-screen with the same data element as VBELN in the view&lt;/P&gt;
  &lt;P&gt;No need for a SH exit, the mapping will be done automagically if the data element is the same.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Sep 2018 12:49:57 GMT</pubDate>
    <dc:creator>franois_henrotte</dc:creator>
    <dc:date>2018-09-26T12:49:57Z</dc:date>
    <item>
      <title>Type-ahead in search help in ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-ahead-in-search-help-in-abap-code/m-p/673883#M29743</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;I've got two parameters on the selection screen in my report:&lt;/P&gt;
  &lt;UL&gt;
   &lt;LI&gt;P_VBELN matchcode object Z_SH_VBELN.&lt;/LI&gt;
   &lt;LI&gt;P_KUNWE&lt;/LI&gt;
  &lt;/UL&gt;
  &lt;P&gt;There is a custom search help with custom database view assigned to P_VBELN field. Now I want to display possible values for P_KUNWE for select statement just like below:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;SELECT p~kunn2, a~name1, a~name2, a~sortl
FROM KNVP AS p   
INNER JOIN vbak AS k
ON p~kunnr = k~kunnr
INNER JOIN kna1 AS a
ON a~kunnr = p~kunn2
WHERE k~vbeln = p_vbeln
AND p~vtweg = '00'
AND p~parvw = 'WE'&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;And I want this search help for P_KUNWE to display values based on P_VBELN and it should allow &lt;STRONG&gt;type-ahead&lt;/STRONG&gt;, &lt;STRONG&gt;dynamic filtering&lt;/STRONG&gt;, &lt;STRONG&gt;filtering over all fields&lt;/STRONG&gt;, whatever you want to call it, just like you can set it in search help definition:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/224259-sh-options.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;I know I can use FM &lt;STRONG&gt;F4IF_INT_TABLE_VALUE_REQUEST&lt;/STRONG&gt; to display search help based on internal table, but I need that &lt;EM&gt;multi-column text search&lt;/EM&gt; effect.&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 09:32:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-ahead-in-search-help-in-abap-code/m-p/673883#M29743</guid>
      <dc:creator>former_member246634</dc:creator>
      <dc:date>2018-09-26T09:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Type-ahead in search help in ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-ahead-in-search-help-in-abap-code/m-p/673884#M29744</link>
      <description>&lt;P&gt;Hi, Did you try with Search help exit?? I think it will help you in this case.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 10:16:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-ahead-in-search-help-in-abap-code/m-p/673884#M29744</guid>
      <dc:creator>Muthu_raja</dc:creator>
      <dc:date>2018-09-26T10:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Type-ahead in search help in ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-ahead-in-search-help-in-abap-code/m-p/673885#M29745</link>
      <description>&lt;P&gt;So I should create custom s-help in SE11 and new function module for s-help exit? How should VBELN be passed to this module?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 11:31:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-ahead-in-search-help-in-abap-code/m-p/673885#M29745</guid>
      <dc:creator>former_member246634</dc:creator>
      <dc:date>2018-09-26T11:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Type-ahead in search help in ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-ahead-in-search-help-in-abap-code/m-p/673886#M29746</link>
      <description>&lt;P&gt;You have several steps to do :&lt;/P&gt;
  &lt;P&gt;1) create a SH view with all the fields you need for selecting and displaying&lt;/P&gt;
  &lt;P&gt;2) be sure that the SH uses the view and that the field VBELN is a parameter of the SH&lt;/P&gt;
  &lt;P&gt;3) be sure to define the parameter on selection-screen with the same data element as VBELN in the view&lt;/P&gt;
  &lt;P&gt;No need for a SH exit, the mapping will be done automagically if the data element is the same.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 12:49:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-ahead-in-search-help-in-abap-code/m-p/673886#M29746</guid>
      <dc:creator>franois_henrotte</dc:creator>
      <dc:date>2018-09-26T12:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Type-ahead in search help in ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-ahead-in-search-help-in-abap-code/m-p/673887#M29747</link>
      <description>&lt;P&gt;Issue solved.&lt;/P&gt;&lt;P&gt;I've assigned memory parameter BLN on selection screen and used it in my custom search help:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/234395-kunwe-sh.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 13:01:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-ahead-in-search-help-in-abap-code/m-p/673887#M29747</guid>
      <dc:creator>former_member246634</dc:creator>
      <dc:date>2018-10-15T13:01:53Z</dc:date>
    </item>
  </channel>
</rss>

