<?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/1050084#M88925</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks , Can you give me Sample code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Dec 2005 14:50:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-12-01T14:50:03Z</dc:date>
    <item>
      <title>Search help Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/1050082#M88923</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 need to display Material No , Material description &amp;amp; plant, ATP Value in the Search help(SD_MAT1) result screen. i am getting ATP value from BAPI_MATERIAL_AVAILABILITY funcation. I found out that i have to write custom function module &amp;amp; give that FM in Search help's Search help EXIT field. Now my question is How can i write that funcation Module. Please guys help me with Sample code for this FM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Subashini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2005 14:42:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/1050082#M88923</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-01T14:42: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/1050083#M88924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Subhashini,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls look at the FM - F4IF_SHLP_EXIT. and the comments in that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also look at other standard FMs havnig F4IF&lt;STRONG&gt;SHLP&lt;/STRONG&gt;EXIT*(in its name) for coding..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Renjith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2005 14:48:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/1050083#M88924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-01T14:48:11Z</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/1050084#M88925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks , Can you give me Sample code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2005 14:50:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/1050084#M88925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-01T14:50:03Z</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/1050085#M88926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think there is no need for a Function Module. U can directly create a search help. While creating the search help, it will ask for the fields to be displayed. Here, U can specify the fields which are required and activate the search help. Use this search help in ur coding part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful, pl. reward points.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2005 14:52:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/1050085#M88926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-01T14:52:47Z</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/1050086#M88927</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;You can refer to F4UT* SH Exits for sample .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kalpana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2005 14:55:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/1050086#M88927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-01T14:55:46Z</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/1050087#M88928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this FM F4IF_SHLP_PARTNER...for instance...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are lots of standard sap search help exit FMs in the system, ie. why i suggested looking at different FMs for handling different kin of search help events...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2005 14:56:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/1050087#M88928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-01T14:56: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/1050088#M88929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Subashini &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try with what ramesh Suggested, that is the simple way to do, and then you can assign this match code id in your program..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2005 14:59:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/1050088#M88929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-01T14:59:12Z</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/1050089#M88930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;She has to populate the ATP quantity in one of the fields of search help, so she would need a SH exit to code the ATP FM call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Kalpana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2005 15:15:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/1050089#M88930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-01T15:15:15Z</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/1050090#M88931</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; How can i do that. B'cos ATP not in Base table. If i create Search help in selection Method only i can give fields from base table. How can i import ATP value in SEarch help????? Could you plase explain with Sample code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2005 15:16:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/1050090#M88931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-01T15:16:22Z</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/1050091#M88932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I think Select all matnr,plant,meins data and send to the fm and then get atp&lt;/P&gt;&lt;P&gt;store them to a internal table then pass the table to search help in search help exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just create the fm with the same parameters,tables&lt;/P&gt;&lt;P&gt;if you see the sample search help exit you can get better idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2005 15:34:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/1050091#M88932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-01T15:34:22Z</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/1050092#M88933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;FUNCTION z_test_shlp_exit.
*"----------------------------------------------------------------------
*"*"Local interface:
*"  TABLES
*"      SHLP_TAB TYPE  SHLP_DESCR_TAB_T
*"      RECORD_TAB STRUCTURE  SEAHLPRES
*"  CHANGING
*"     REFERENCE(SHLP) TYPE  SHLP_DESCR_T
*"     REFERENCE(CALLCONTROL) LIKE  DDSHF4CTRL STRUCTURE  DDSHF4CTRL
*"  EXCEPTIONS
*"      INTERNAL_ERROR
*"----------------------------------------------------------------------
  DATA: l_aac      LIKE seahlpres.
  DATA: valid_aacs TYPE TABLE OF zaac_temp WITH HEADER LINE.

  CHECK callcontrol-step = 'SELECT'.

  IMPORT valid_aacs FROM MEMORY
  ID 'VALID_AACS_SALES_ORDER_FROM_PF4'.

*  l_aac(3) = sy-mandt.
*  LOOP AT valid_aacs INTO l_aac+3.
*    INSERT l_aac INTO TABLE record_tab.
*  ENDLOOP.

  LOOP AT valid_aacs INTO l_aac.
    INSERT l_aac INTO TABLE record_tab.
  ENDLOOP.

  IF NOT record_tab[] IS INITIAL.
    callcontrol-step = 'DISP'.
  ENDIF.

ENDFUNCTION.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the sample search help which i have used...&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2005 15:38:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/1050092#M88933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-01T15:38:31Z</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/1050093#M88934</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;FUNCTION YMAT.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local Interface:&lt;/P&gt;&lt;P&gt;*"  TABLES&lt;/P&gt;&lt;P&gt;*"      SHLB_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;*"     REFERENCE(SHLP) TYPE  SHLP_DESCR&lt;/P&gt;&lt;P&gt;*"     REFERENCE(CALLCONTROL) LIKE  DDSHF4CTRL STRUCTURE  DDSHF4CTRL&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;data : begin of itab occurs 1,&lt;/P&gt;&lt;P&gt;       Plant(8) type c,&lt;/P&gt;&lt;P&gt;       Materialdesc(20) type c,&lt;/P&gt;&lt;P&gt;       Part(20) type c,&lt;/P&gt;&lt;P&gt;       ATP(20) type c,&lt;/P&gt;&lt;P&gt;       end of itab.&lt;/P&gt;&lt;P&gt;itab-plant = 'ALB1'.&lt;/P&gt;&lt;P&gt;itab-materialdesc = 'wire'.&lt;/P&gt;&lt;P&gt;itab-part = '100000223'.&lt;/P&gt;&lt;P&gt;itab-atp = '994'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;IF callcontrol-step &amp;lt;&amp;gt; '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;P&gt;  CALL FUNCTION 'F4UT_OPTIMIZE_COLWIDTH'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      shlp_tab    = shlp_tab&lt;/P&gt;&lt;P&gt;      record_tab  = record_tab&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      shlp        = shlp&lt;/P&gt;&lt;P&gt;      callcontrol = callcontrol.&lt;/P&gt;&lt;P&gt;if not tbl_zwcqualv[] is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'F4UT_RESULTS_MAP'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     SOURCE_STRUCTURE         =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     APPLY_RESTRICTIONS       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        shlp_tab                 = shlp_tab&lt;/P&gt;&lt;P&gt;        record_tab               = record_tab&lt;/P&gt;&lt;P&gt;        source_tab               = itab&lt;/P&gt;&lt;P&gt;      CHANGING&lt;/P&gt;&lt;P&gt;        shlp                     = shlp&lt;/P&gt;&lt;P&gt;        callcontrol              = callcontrol&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;       illegal_structure        = 1&lt;/P&gt;&lt;P&gt;       OTHERS                   = 2&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;endif.&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;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying this one. But giving me SHLB_TAB in un-known, But i declared SHLB_TAB in tables of FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Subashini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2005 15:44:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/1050093#M88934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-01T15:44:15Z</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/1050094#M88935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Subashine,&lt;/P&gt;&lt;P&gt;I would not recommend to work as suggested by Vijay, as this is very unstable.&lt;/P&gt;&lt;P&gt;Your approach is reasonable, but I think what might help you most, is having a look at search help SFLIGHT and its search help exit. There it is demonstrated how the following problem is solved:&lt;/P&gt;&lt;P&gt;In the hit list I want to display a column which is not in the database but has to be derived from the values in the other columns.&lt;/P&gt;&lt;P&gt;In the SFLIGHT example this extra column can be derived by a simple computation (difference of two other columns). In your example it seems to be more complicated (call of a FM), but the principle should be the same.&lt;/P&gt;&lt;P&gt;Therefore I believe that you can adapt the technique demonstrated in the SFLIGHT search help for your problem.&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;Stephan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2005 16:00:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/1050094#M88935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-01T16:00:57Z</dc:date>
    </item>
  </channel>
</rss>

