<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/2924999#M689014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;If you have a predefined cumulative search help for that field you can search the values like that&lt;/P&gt;&lt;P&gt;for Example Material No will have MAT1 as search help&lt;/P&gt;&lt;P&gt;so when you wants to search for material numbers&lt;/P&gt;&lt;P&gt;if you enter 1000* it will display all those values related/starting with that &lt;/P&gt;&lt;P&gt;number.see  the search Help creation&lt;/P&gt;&lt;P&gt;1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)An elementary search help defines the standard flow of an input help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATION:&lt;/P&gt;&lt;P&gt;Go to SE11  Tcode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select search help &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;give the 'z' search help name and create&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select the selection method ur table name eg : 'mara'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dialog module 'display value immediately'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.&lt;/P&gt;&lt;P&gt;where left position when displaying and spos = search position&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then save and activate ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the links:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=3173469&amp;amp;messageID=2176485" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=3173469&amp;amp;messageID=2176485&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=3173469&amp;amp;messageID=3601619" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=3173469&amp;amp;messageID=3601619&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls go through this for search help creation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search Help Exits:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2291334"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2956586"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_exit.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_exit.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=4390517&amp;amp;messageID=1712818" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=4390517&amp;amp;messageID=1712818&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;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 Oct 2007 13:16:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-13T13:16:03Z</dc:date>
    <item>
      <title>SEARCH HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/2924998#M689013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I WANT TO SEARCH WITH FIRST 3 LETTERS OF A FILED ... I NEED TO GET ALL POSSIBLE VALUES STARTING WITH THOSE 3 LETTERS ..&lt;/P&gt;&lt;P&gt;FOR EXAMPLE TO FIND THE VBELN VALUES ... 100* SHOULD GIVE ALL VALUES STARTING WITH 100 ..&lt;/P&gt;&lt;P&gt;PLS HELP ME...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Oct 2007 12:58:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/2924998#M689013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-13T12:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: SEARCH HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/2924999#M689014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;If you have a predefined cumulative search help for that field you can search the values like that&lt;/P&gt;&lt;P&gt;for Example Material No will have MAT1 as search help&lt;/P&gt;&lt;P&gt;so when you wants to search for material numbers&lt;/P&gt;&lt;P&gt;if you enter 1000* it will display all those values related/starting with that &lt;/P&gt;&lt;P&gt;number.see  the search Help creation&lt;/P&gt;&lt;P&gt;1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)An elementary search help defines the standard flow of an input help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATION:&lt;/P&gt;&lt;P&gt;Go to SE11  Tcode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select search help &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;give the 'z' search help name and create&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select the selection method ur table name eg : 'mara'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dialog module 'display value immediately'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.&lt;/P&gt;&lt;P&gt;where left position when displaying and spos = search position&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then save and activate ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the links:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=3173469&amp;amp;messageID=2176485" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=3173469&amp;amp;messageID=2176485&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=3173469&amp;amp;messageID=3601619" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=3173469&amp;amp;messageID=3601619&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls go through this for search help creation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search Help Exits:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2291334"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2956586"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_exit.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_exit.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=4390517&amp;amp;messageID=1712818" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=4390517&amp;amp;messageID=1712818&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;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Oct 2007 13:16:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/2924999#M689014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-13T13:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: SEARCH HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/2925000#M689015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     All you need to do is &lt;/P&gt;&lt;P&gt;1) get the value entered by the user into a local variable.&lt;/P&gt;&lt;P&gt;2) get the first three letters using offset. &lt;/P&gt;&lt;P&gt;3) concatenate % after the third letter into a variable (say l_vbeln)&lt;/P&gt;&lt;P&gt;4) now hit the databse and find all the possible value, like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * into table lt_vbak from vbak where vbeln like l_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) now you have the table with the data. use the FM F4IF_INT_TABLE_VALUE_REQUEST and show the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see some sample code on how to build the FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          retfield               = 'VBELN'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      PVALKEY                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         dynpprog               = sy-repid&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      DYNPNR                 = '0100'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      STEPL                  = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      WINDOW_TITLE           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      VALUE                  = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      VALUE_ORG              = 'S'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      MULTIPLE_CHOICE        = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      DISPLAY                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      CALLBACK_PROGRAM       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      CALLBACK_FORM          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      MARK_TAB               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      USER_RESET             =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          value_tab              = gt_values&lt;/P&gt;&lt;P&gt;          field_tab              = lt_fields&lt;/P&gt;&lt;P&gt;         return_tab             =  lt_retval&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      DYNPFLD_MAPPING        = Lt_dynmap&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;         parameter_error        = 1&lt;/P&gt;&lt;P&gt;         no_values_found        = 2&lt;/P&gt;&lt;P&gt;         OTHERS                 = 3&lt;/P&gt;&lt;P&gt;                .&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR ls_retval.&lt;/P&gt;&lt;P&gt;  READ TABLE lt_retval INTO ls_retval INDEX 1.&lt;/P&gt;&lt;P&gt;  MOVE ls_retval-fieldval TO p_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can find many example on how to use this FM in the forum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if usefull&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Niyaz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Oct 2007 14:57:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/2925000#M689015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-13T14:57:39Z</dc:date>
    </item>
  </channel>
</rss>

