<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/4139518#M989788</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in SE11 follow the steps....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create the search help.&lt;/P&gt;&lt;P&gt;2. Choose the Elementary srch hlp/ Collective search help&lt;/P&gt;&lt;P&gt;3. Provide the Selection method(give the DBtable name)&lt;/P&gt;&lt;P&gt;4. Give the parameters properly for search help&lt;/P&gt;&lt;P&gt;5. go to SE37&lt;/P&gt;&lt;P&gt;Create the Function Group&lt;/P&gt;&lt;P&gt;then Create the Function module with the name&lt;/P&gt;&lt;P&gt;F4UT_XXXXXXXXXX&lt;/P&gt;&lt;P&gt;it should start with the name F4UT*&lt;/P&gt;&lt;P&gt;then provide the interface&lt;/P&gt;&lt;P&gt;in the changing parameters provide the below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SHLP TYPE SHLP_DESCR&lt;/P&gt;&lt;P&gt;CALLCONTROL LIKE DDSHF4CTRL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the table params use the below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SHLP_TAB TYPE SHLP_DESCT&lt;/P&gt;&lt;P&gt;RECORD_TAB LIKE SEAHLPRES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for any reference you can check any of the functions starts with &lt;/P&gt;&lt;P&gt;F4UT*&lt;/P&gt;&lt;P&gt;in the code you can see many steps.. for example if you want to display some extra information then you can use the step DISP. and you need to add the code under that block...&lt;/P&gt;&lt;P&gt;IF CALLCONTROL-STEP = 'DISP'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any issues let me know...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jul 2008 04:04:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-18T04:04:50Z</dc:date>
    <item>
      <title>Search Help Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/4139517#M989787</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 am using search help exit for two parameters. I have created 1 function module for hel exit.&lt;/P&gt;&lt;P&gt;1 parameter is giving search help but second one is not giving search help. I have attached search help to field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz update me, why it is happening as soon as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ranveer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2008 04:00:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/4139517#M989787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-18T04:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/4139518#M989788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in SE11 follow the steps....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create the search help.&lt;/P&gt;&lt;P&gt;2. Choose the Elementary srch hlp/ Collective search help&lt;/P&gt;&lt;P&gt;3. Provide the Selection method(give the DBtable name)&lt;/P&gt;&lt;P&gt;4. Give the parameters properly for search help&lt;/P&gt;&lt;P&gt;5. go to SE37&lt;/P&gt;&lt;P&gt;Create the Function Group&lt;/P&gt;&lt;P&gt;then Create the Function module with the name&lt;/P&gt;&lt;P&gt;F4UT_XXXXXXXXXX&lt;/P&gt;&lt;P&gt;it should start with the name F4UT*&lt;/P&gt;&lt;P&gt;then provide the interface&lt;/P&gt;&lt;P&gt;in the changing parameters provide the below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SHLP TYPE SHLP_DESCR&lt;/P&gt;&lt;P&gt;CALLCONTROL LIKE DDSHF4CTRL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the table params use the below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SHLP_TAB TYPE SHLP_DESCT&lt;/P&gt;&lt;P&gt;RECORD_TAB LIKE SEAHLPRES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for any reference you can check any of the functions starts with &lt;/P&gt;&lt;P&gt;F4UT*&lt;/P&gt;&lt;P&gt;in the code you can see many steps.. for example if you want to display some extra information then you can use the step DISP. and you need to add the code under that block...&lt;/P&gt;&lt;P&gt;IF CALLCONTROL-STEP = 'DISP'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any issues let me know...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2008 04:04:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/4139518#M989788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-18T04:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/4139519#M989789</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;1. Go to se11 create one search help.&lt;/P&gt;&lt;P&gt;2. create function module follow naming convention like&lt;/P&gt;&lt;P&gt;"F4UT_SHLP----&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;3. wirte down the code in function exit like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION F4UT_SHLP_EXT_LGOBE.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;""Local Interface:&lt;/P&gt;&lt;P&gt;*" TABLES&lt;/P&gt;&lt;P&gt;*" SHLP_TAB TYPE SHLP_DESCT&lt;/P&gt;&lt;P&gt;*" RECORD_TAB STRUCTURE SEAHLPRES&lt;/P&gt;&lt;P&gt;*" CHANGING&lt;/P&gt;&lt;P&gt;*" VALUE(SHLP) TYPE SHLP_DESCR&lt;/P&gt;&lt;P&gt;*" VALUE(CALLCONTROL) LIKE DDSHF4CTRL STRUCTURE DDSHF4CTRL&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXIT immediately, if you do not want to handle this step &lt;/P&gt;&lt;P&gt;IF CALLCONTROL-STEP 'SELONE' AND&lt;/P&gt;&lt;P&gt;CALLCONTROL-STEP 'SELECT' AND&lt;/P&gt;&lt;P&gt;" AND SO ON&lt;/P&gt;&lt;P&gt;CALLCONTROL-STEP 'DISP'.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STEP SELONE (Select one of the elementary searchhelps) &lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This step is only called for collective searchhelps. It may be used &lt;/P&gt;&lt;P&gt;to reduce the amount of elementary searchhelps given in SHLP_TAB. &lt;/P&gt;&lt;P&gt;The compound searchhelp is given in SHLP. &lt;/P&gt;&lt;P&gt;If you do not change CALLCONTROL-STEP, the next step is the &lt;/P&gt;&lt;P&gt;dialog, to select one of the elementary searchhelps. &lt;/P&gt;&lt;P&gt;If you want to skip this dialog, you have to return the selected &lt;/P&gt;&lt;P&gt;elementary searchhelp in SHLP and to change CALLCONTROL-STEP to &lt;/P&gt;&lt;P&gt;either to 'PRESEL' or to 'SELECT'. &lt;/P&gt;&lt;P&gt;IF CALLCONTROL-STEP = 'SELONE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM SELONE ......... &lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STEP PRESEL (Enter selection conditions) &lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This step allows you, to influence the selection conditions either &lt;/P&gt;&lt;P&gt;before they are displayed or in order to skip the dialog completely. &lt;/P&gt;&lt;P&gt;If you want to skip the dialog, you should change CALLCONTROL-STEP &lt;/P&gt;&lt;P&gt;to 'SELECT'. &lt;/P&gt;&lt;P&gt;Normaly only SHLP-SELOPT should be changed in this step. &lt;/P&gt;&lt;P&gt;IF CALLCONTROL-STEP = 'PRESEL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM PRESEL .......... &lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STEP SELECT (Select values) &lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This step may be used to overtake the data selection completely. &lt;/P&gt;&lt;P&gt;To skip the standard seletion, you should return 'DISP' as following &lt;/P&gt;&lt;P&gt;step in CALLCONTROL-STEP. &lt;/P&gt;&lt;P&gt;Normally RECORD_TAB should be filled after this step. &lt;/P&gt;&lt;P&gt;Standard function module F4UT_RESULTS_MAP may be very helpfull in this &lt;/P&gt;&lt;P&gt;step. &lt;/P&gt;&lt;P&gt;IF CALLCONTROL-STEP = 'SELECT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM STEP_SELECT TABLES RECORD_TAB SHLP_TAB &lt;/P&gt;&lt;P&gt;CHANGING SHLP CALLCONTROL RC. &lt;/P&gt;&lt;P&gt;IF RC = 0. &lt;/P&gt;&lt;P&gt;CALLCONTROL-STEP = 'DISP'. &lt;/P&gt;&lt;P&gt;ELSE. &lt;/P&gt;&lt;P&gt;CALLCONTROL-STEP = 'EXIT'. &lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;EXIT. "Don't process STEP DISP additionally in this call.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STEP DISP (Display values) &lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This step is called, before the selected data is displayed. &lt;/P&gt;&lt;P&gt;You can e.g. modify or reduce the data in RECORD_TAB &lt;/P&gt;&lt;P&gt;according to the users authority. &lt;/P&gt;&lt;P&gt;If you want to get the standard display dialog afterwards, you &lt;/P&gt;&lt;P&gt;should not change CALLCONTROL-STEP. &lt;/P&gt;&lt;P&gt;If you want to overtake the dialog on you own, you must return &lt;/P&gt;&lt;P&gt;the following values in CALLCONTROL-STEP: &lt;/P&gt;&lt;P&gt;- "RETURN" if one line was selected. The selected line must be &lt;/P&gt;&lt;P&gt;the only record left in RECORD_TAB. The corresponding fields of &lt;/P&gt;&lt;P&gt;this line are entered into the screen. &lt;/P&gt;&lt;P&gt;- "EXIT" if the values request should be aborted &lt;/P&gt;&lt;P&gt;- "PRESEL" if you want to return to the selection dialog &lt;/P&gt;&lt;P&gt;Standard function modules F4UT_PARAMETER_VALUE_GET and &lt;/P&gt;&lt;P&gt;F4UT_PARAMETER_RESULTS_PUT may be very helpfull in this step. &lt;/P&gt;&lt;P&gt;IF CALLCONTROL-STEP = 'DISP'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM AUTHORITY_CHECK TABLES RECORD_TAB SHLP_TAB&lt;/P&gt;&lt;P&gt;                           CHANGING SHLP CALLCONTROL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;implement code in the perform authority_check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM AUTHORITY_CHECK TABLES RECORD_TAB STRUCTURE SEAHLPRES&lt;/P&gt;&lt;P&gt;SHLP_TAB TYPE SHLP_DESCT&lt;/P&gt;&lt;P&gt;CHANGING P_SHLP TYPE SHLP_DESCR&lt;/P&gt;&lt;P&gt;P_CALLCONTROL TYPE DDSHF4CTRL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: wa_shlp type DFIES,&lt;/P&gt;&lt;P&gt;v_lgobe type zt001l-zlgobe_de,&lt;/P&gt;&lt;P&gt;lt_record type SEAHLPRES occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table shlp_tab index 1.&lt;/P&gt;&lt;P&gt;loop at record_tab.&lt;/P&gt;&lt;P&gt;read table shlp_tab-FIELDDESCR into wa_shlp with key tabname = 'T001L'&lt;/P&gt;&lt;P&gt;fieldname = 'WERKS'.&lt;/P&gt;&lt;P&gt;*if record_tab-string+3(4) = 1000.&lt;/P&gt;&lt;P&gt;lt_record-string = record_tab-string.&lt;/P&gt;&lt;P&gt;select single zlgobe_de&lt;/P&gt;&lt;P&gt;from zt001l&lt;/P&gt;&lt;P&gt;into v_lgobe&lt;/P&gt;&lt;P&gt;where werks = record_tab-string+3(4) and&lt;/P&gt;&lt;P&gt;lgort = record_tab-string+7(4).&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;lt_record-string+11(16) = v_lgobe.&lt;/P&gt;&lt;P&gt;clear v_lgobe.&lt;/P&gt;&lt;P&gt;append lt_record.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at lt_record.&lt;/P&gt;&lt;P&gt;record_tab-string = lt_record-string.&lt;/P&gt;&lt;P&gt;append record_tab.&lt;/P&gt;&lt;P&gt;clear record_tab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;ENDFORM. " AUTHORITY_CHECK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then activate and execute.the above example is implenmented for storage location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;suman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2008 04:10:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/4139519#M989789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-18T04:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/4139520#M989790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi check my weblog @ &lt;A href="https://wiki.sdn.sap.com/wiki/x/du0" target="test_blank"&gt;https://wiki.sdn.sap.com/wiki/x/du0&lt;/A&gt; for search help exit code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2008 04:16:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/4139520#M989790</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-07-18T04:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/4139521#M989791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply.&lt;/P&gt;&lt;P&gt;I have done all things. but one parameter is giving search help and second one is not giving search help functionality (buble).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2008 04:34:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/4139521#M989791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-18T04:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/4139522#M989792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PARAMETERS: p_org LIKE t527x-orgeh MATCHCODE OBJECT &amp;lt;object name&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2008 04:37:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/4139522#M989792</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-07-18T04:37:08Z</dc:date>
    </item>
  </channel>
</rss>

