<?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: Default search help tab with condition in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-search-help-tab-with-condition/m-p/9490550#M1746015</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you create a function module called in the search-help, you will be able to manage yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look the function F4IF_SHLP_EXIT_EXAMPLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #929292;"&gt;&lt;EM&gt;*"----------------------------------------------------------------------&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* STEP SELONE&amp;nbsp; (Select one of the elementary searchhelps)&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;*"----------------------------------------------------------------------&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* This step is only called for collective searchhelps. It may be used&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* to reduce the amount of elementary searchhelps given in SHLP_TAB.&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* The compound searchhelp is given in SHLP.&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* If you do not change CALLCONTROL-STEP, the next step is the&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* dialog, to select one of the elementary searchhelps.&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* If you want to skip this dialog, you have to return the selected&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* elementary searchhelp in SHLP and to change CALLCONTROL-STEP to&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* either to 'PRESEL' or to 'SELECT'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #929292;"&gt;&lt;EM&gt;...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #929292;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #929292;"&gt;&lt;EM&gt;*"----------------------------------------------------------------------&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* STEP PRESEL&amp;nbsp; (Enter selection conditions)&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;*"----------------------------------------------------------------------&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* This step allows you, to influence the selection conditions either&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* before they are displayed or in order to skip the dialog completely.&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* If you want to skip the dialog, you should change CALLCONTROL-STEP&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* to 'SELECT'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #929292;"&gt;&lt;EM&gt;Fred&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Jun 2013 07:56:53 GMT</pubDate>
    <dc:creator>FredericGirod</dc:creator>
    <dc:date>2013-06-10T07:56:53Z</dc:date>
    <item>
      <title>Default search help tab with condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-search-help-tab-with-condition/m-p/9490547#M1746012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hell o gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ve created a 2 search help, and i used in production order (when created at COR1) for batch proposal. My requirement is to have a default tab 1, for example if the order is type A, and the default tab 2 when order type is B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is any sample code for this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Stratos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 07:09:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-search-help-tab-with-condition/m-p/9490547#M1746012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-10T07:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Default search help tab with condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-search-help-tab-with-condition/m-p/9490548#M1746013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Efstratios,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you could manage the result ... with a function like that :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/EN/cf/21ee52446011d189700000e8322d00/content.htm" title="http://help.sap.com/saphelp_46c/helpdata/EN/cf/21ee52446011d189700000e8322d00/content.htm"&gt;http://help.sap.com/saphelp_46c/helpdata/EN/cf/21ee52446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A simple doc : &lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAP/How+To+Create+Search+Help+Exit" title="http://wiki.sdn.sap.com/wiki/display/ABAP/How+To+Create+Search+Help+Exit"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/How+To+Create+Search+Help+Exit&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;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 07:13:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-search-help-tab-with-condition/m-p/9490548#M1746013</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2013-06-10T07:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Default search help tab with condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-search-help-tab-with-condition/m-p/9490549#M1746014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the sap helo describes the functionality of the search helps, which i know it.. the second is a how to create a search help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where exactly is the point for my requirement ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;stratos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 07:51:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-search-help-tab-with-condition/m-p/9490549#M1746014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-10T07:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Default search help tab with condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-search-help-tab-with-condition/m-p/9490550#M1746015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you create a function module called in the search-help, you will be able to manage yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look the function F4IF_SHLP_EXIT_EXAMPLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #929292;"&gt;&lt;EM&gt;*"----------------------------------------------------------------------&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* STEP SELONE&amp;nbsp; (Select one of the elementary searchhelps)&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;*"----------------------------------------------------------------------&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* This step is only called for collective searchhelps. It may be used&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* to reduce the amount of elementary searchhelps given in SHLP_TAB.&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* The compound searchhelp is given in SHLP.&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* If you do not change CALLCONTROL-STEP, the next step is the&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* dialog, to select one of the elementary searchhelps.&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* If you want to skip this dialog, you have to return the selected&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* elementary searchhelp in SHLP and to change CALLCONTROL-STEP to&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* either to 'PRESEL' or to 'SELECT'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #929292;"&gt;&lt;EM&gt;...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #929292;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #929292;"&gt;&lt;EM&gt;*"----------------------------------------------------------------------&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* STEP PRESEL&amp;nbsp; (Enter selection conditions)&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;*"----------------------------------------------------------------------&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* This step allows you, to influence the selection conditions either&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* before they are displayed or in order to skip the dialog completely.&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* If you want to skip the dialog, you should change CALLCONTROL-STEP&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM&gt;* to 'SELECT'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #929292;"&gt;&lt;EM&gt;Fred&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 07:56:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-search-help-tab-with-condition/m-p/9490550#M1746015</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2013-06-10T07:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Default search help tab with condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-search-help-tab-with-condition/m-p/9490551#M1746016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think you dont understand! this code is only for the selected search help... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my requirement is, when the user press the F4 (or the bubble), a selected tab of search help tabs to be displayed...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 08:50:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-search-help-tab-with-condition/m-p/9490551#M1746016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-10T08:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Default search help tab with condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-search-help-tab-with-condition/m-p/9490552#M1746017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Search help exit will get called when you do F4.&lt;/P&gt;&lt;P&gt;It is not clear what needs to be changed in exit to make it work, but debugging can give more information.&lt;/P&gt;&lt;P&gt;In standard program WDTMFORS, subroutine TAB_CHANGED, this code gets called when you select another tab.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #0000ff;"&gt;IMPORT &lt;/SPAN&gt;tabc_shlptab &lt;SPAN style="color: #0000ff;"&gt;FROM &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;MEMORY &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;ID &lt;/SPAN&gt;&lt;SPAN style="color: #4da619;"&gt;'TABControl-SHLP'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #0000ff;"&gt;IMPORT &lt;/SPAN&gt;resultbuffer &lt;SPAN style="color: #0000ff;"&gt;FROM &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;MEMORY &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;ID &lt;/SPAN&gt;&lt;SPAN style="color: #4da619;"&gt;'TABControl-RSBF'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #0000ff;"&gt;PERFORM &lt;/SPAN&gt;change_curr_shlp &lt;SPAN style="color: #0000ff;"&gt;TABLES &lt;/SPAN&gt;tabc_shlptab resultbuffer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;USING &lt;/SPAN&gt;tab_ctl dialognumber h_mcx&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #0000ff;"&gt;EXPORT &lt;/SPAN&gt;tabc_shlptab &lt;SPAN style="color: #0000ff;"&gt;TO &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;MEMORY &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;ID &lt;/SPAN&gt;&lt;SPAN style="color: #4da619;"&gt;'TABControl-SHLP'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;On debugging subroutine TABC_SHLPTAB, it can be seen that tab is selected by filling TABC_SHLPTAB[1]-SHLP_CURR, and exporting it back to memory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 09:02:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-search-help-tab-with-condition/m-p/9490552#M1746017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-10T09:02:32Z</dc:date>
    </item>
  </channel>
</rss>

