<?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/1671347#M296671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen,&lt;/P&gt;&lt;P&gt;    You can assign search help for your selection screen by assigning the type of data.&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters p_test type LFA1-LIFNR. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will create a parameter, and search help is automatically called when you press F4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create search you have to go to SE11 and do the nessesary operations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF you dont want to create search help using data dictionary table, that is dynamic search helps (which are populated using internal tables). then you can use following function modules&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VRM_SET_VALUES&lt;/P&gt;&lt;P&gt;F4IF_INT_TABLE_VALUE_REQUEST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps..&lt;/P&gt;&lt;P&gt;Assign forum points to helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Nov 2006 08:53:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-23T08:53:13Z</dc:date>
    <item>
      <title>search help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1671343#M296667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;can u send me the steps for creating search help .........for 1 field in selcect screen....they are 5 fields......i need only for 1 field.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2006 08:46:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1671343#M296667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-23T08:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: search help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1671344#M296668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;with tcode SE11 you can define an new searchhelp with the fields you want. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you implement it like this in you're selection screen&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK miolvsel_1 WITH FRAME TITLE text-f01.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:&lt;/P&gt;&lt;P&gt;so_stai1      FOR    rihea-i_vstatin    MATCHCODE OBJECT zz_gebr_status3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2006 08:48:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1671344#M296668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-23T08:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: search help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1671345#M296669</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;there are 2 ways.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. create a match code object in data base level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;how?&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to se11 select radio button search help - &amp;gt; tyou can create match code object there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on the selection screen .you can use it like this :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
parameters : p_test match code object "&amp;lt;match code object name&amp;gt;. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;2. crreating an f4 help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;how to create?&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chk this sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT ZXYZ_0002 .
 
 
 
data: dynfields type table of dynpread with header line.
data: return type table of ddshretval with header line.
 
selection-screen begin of block b1 with frame title text-001 .
selection-screen begin of line.
PARAMETERS: P_BUKRS type T001-BUKRS.
selection-screen comment 30(20) BUTXT for field p_bukrs.
selection-screen end of line.
selection-screen end of block b1.
 
at selection-screen output.
 
if butxt is initial.
   select single butxt into butxt
         from t001
        where bukrs = p_bukrs.
endif.
 
 
at selection-screen on value-request for p_bukrs.
 
  call function 'F4IF_FIELD_VALUE_REQUEST'
       exporting
            tabname           = 'T001'
            fieldname         = 'BUKRS'
            dynpprog          = sy-cprog
            dynpnr            = sy-dynnr
            dynprofield       = 'P_BUKRS'
       tables
            return_tab        = return
       exceptions
            field_not_found   = 1
            no_help_for_field = 2
            inconsistent_help = 3
            no_values_found   = 4
            others            = 5.
 
  read table return with key fieldname = 'P_BUKRS'.
 
* Add it back to the dynpro.
  dynfields-fieldname = return-retfield.
  dynfields-fieldvalue =  return-fieldval.
  append dynfields.
 
* Get the company code from db and add to dynpro
  data: xt001 type t001.
 
  clear xt001.
  select single * into xt001
         from t001
        where bukrs = return-fieldval.
 
  dynfields-fieldname = 'BUTXT'.
  dynfields-fieldvalue = xt001-butxt.
  append dynfields.
 
 
* Update the dynpro values.
  call function 'DYNP_VALUES_UPDATE'
       exporting
            dyname     = sy-cprog
            dynumb     = sy-dynnr
       tables
            dynpfields = dynfields
       exceptions
            others     = 8.
 
start-of-selection.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2006 08:49:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1671345#M296669</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-23T08:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: search help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1671346#M296670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chk this &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="2505807"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2006 08:52:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1671346#M296670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-23T08:52: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/1671347#M296671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen,&lt;/P&gt;&lt;P&gt;    You can assign search help for your selection screen by assigning the type of data.&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters p_test type LFA1-LIFNR. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will create a parameter, and search help is automatically called when you press F4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create search you have to go to SE11 and do the nessesary operations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF you dont want to create search help using data dictionary table, that is dynamic search helps (which are populated using internal tables). then you can use following function modules&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VRM_SET_VALUES&lt;/P&gt;&lt;P&gt;F4IF_INT_TABLE_VALUE_REQUEST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps..&lt;/P&gt;&lt;P&gt;Assign forum points to helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2006 08:53:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1671347#M296671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-23T08:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: search help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1671348#M296672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/79/34a243d9b511d1950e0000e8353423/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/79/34a243d9b511d1950e0000e8353423/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2006 09:04:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1671348#M296672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-23T09:04:14Z</dc:date>
    </item>
  </channel>
</rss>

