<?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 - Help!!!! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-help/m-p/3954959#M945188</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're in a selection-screen (report) :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS p_carrid TYPE s_carr_id  MATCHCODE OBJECT &amp;lt;SEARCH HELP&amp;gt;.
SELECT-OPTIONS s_carrid FOR sflight-carrid MATCHCODE OBJECT &amp;lt;SEARCH HELP&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you're in a module pool, go to &lt;STRONG&gt;SE51&lt;/STRONG&gt; double click the field and set the search help in the attributes screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 May 2008 15:04:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-30T15:04:47Z</dc:date>
    <item>
      <title>Search Help - Help!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-help/m-p/3954957#M945186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;People, &lt;/P&gt;&lt;P&gt;I have a very basic question about Search Helps.&lt;/P&gt;&lt;P&gt;In an screen, I have two fields: Criteria and Subcriteria. Each one has a search help defined.&lt;/P&gt;&lt;P&gt;For Criteria field all criteria are displayed.&lt;/P&gt;&lt;P&gt;For SubCriteria SearchHelp, I would like to show only subcriterias related to the Criteria selected on the screen.&lt;/P&gt;&lt;P&gt;We already have this Subcriteria SearchHelp defined in SE11, and it imports a criteria and exports subcriteria.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I have to put in ABAP code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 14:43:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-help/m-p/3954957#M945186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-30T14:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help - Help!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-help/m-p/3954958#M945187</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;U should use the event AT SELECTION-SCREEN ON VALUE-REQUEST in order to call the search help and transfer the values to filter the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ih the event u can use the fm F4IF_FIELD_VALUE_REQUEST in order to call the search help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 14:53:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-help/m-p/3954958#M945187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-30T14:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help - Help!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-help/m-p/3954959#M945188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're in a selection-screen (report) :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS p_carrid TYPE s_carr_id  MATCHCODE OBJECT &amp;lt;SEARCH HELP&amp;gt;.
SELECT-OPTIONS s_carrid FOR sflight-carrid MATCHCODE OBJECT &amp;lt;SEARCH HELP&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you're in a module pool, go to &lt;STRONG&gt;SE51&lt;/STRONG&gt; double click the field and set the search help in the attributes screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 15:04:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-help/m-p/3954959#M945188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-30T15:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help - Help!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-help/m-p/3954960#M945189</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;Hope following code will help you.&lt;/P&gt;&lt;P&gt;Below porgram will have search help for S_AUFNR field based on S_WERKS value in selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
report ztestsdn_test.

tables: resb.
data: begin of df occurs 2.
        include structure dynpread.
  data: end of df.

ranges: r_werks for resb-werks.
select-options: s_werks for resb-werks,
                s_aufnr for resb-aufnr.

at selection-screen on value-request for s_aufnr-low.

  data: begin of ihelp_proc_ord occurs 0,
        aufnr like resb-aufnr,
        werks  like aufk-werks,
        end of ihelp_proc_ord.
data: l_prog like d020s-prog,
         l_dnum like d020s-dnum.
 move: sy-dynnr to l_dnum,
        sy-repid to l_prog.

  loop at s_werks.
  append s_werks to r_werks.
  endloop.

 call function 'DYNP_VALUES_READ'
       exporting
            dyname     = l_prog
            dynumb     = l_dnum
            request    = 'A'
       tables
            dynpfields = df.

 read table df with key fieldname = s_werks.
 if df-fieldvalue &amp;lt;&amp;gt; space.



  select distinct aufnr werks
  into corresponding fields of table ihelp_proc_ord
  from resb
  where werks = s_werks-low.

  call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
      retfield    = 'AUFNR'
      dynprofield = 'S_AUFNR'
      dynpprog    = sy-cprog
      dynpnr      = sy-dynnr
      value_org   = 'S'
    tables
      value_tab   = ihelp_proc_ord.
  endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 15:04:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-help/m-p/3954960#M945189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-30T15:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help - Help!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-help/m-p/3954961#M945190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check this example for the search help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ztest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables:pa0002 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters:p_pernr like pa0002-pernr .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters:p_pernr1 like pa0002-pernr matchcode object &lt;STRONG&gt;PREM&lt;/STRONG&gt; .&amp;lt;-----here i used the standard search help&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;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 15:40:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-help/m-p/3954961#M945190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-30T15:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help - Help!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-help/m-p/3954962#M945191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikram (and all)!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the answers!&lt;/P&gt;&lt;P&gt;Our code is like we don´t have a pre-defined search help for field S_AUFNR. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case, I already have a defined search help in SE11 for this field. I just want to pass for it, the value in S_WERKS, so that the search help can work normally. (Without  this SELECT in the code). It is possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 16:25:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-help/m-p/3954962#M945191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-30T16:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help - Help!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-help/m-p/3954963#M945192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;See that you have defined match id code for first field in selection screen.&lt;/P&gt;&lt;P&gt;Check that match id code for first field is given in the Default value of that field in the search help for second field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose i have 2 fields &lt;/P&gt;&lt;P&gt;BUKRS and ANLN1 (Asset #)&lt;/P&gt;&lt;P&gt;then selection screen is to be defined as :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT-OPTIONS:    BUKRS     FOR ANLAV-BUKRS MEMORY ID BUK.
SELECT-OPTIONS:    ANLAGE    FOR ANLAV-ANLN1.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now BUK should be in the default value for BUKRS in the search help.&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vikram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 16:43:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-help/m-p/3954963#M945192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-30T16:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help - Help!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-help/m-p/3954964#M945193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's possible. Just define in the search help an parameter id in the data element of the two fields (SET/GET PARAMETER ID).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the values that you selected in the first search help will be automatically transferred to the field with the same parameter id in the second search help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 16:43:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-help/m-p/3954964#M945193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-30T16:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help - Help!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-help/m-p/3954965#M945194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David, it worked!&lt;/P&gt;&lt;P&gt;Thanks!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 20:24:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-help/m-p/3954965#M945194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T20:24:10Z</dc:date>
    </item>
  </channel>
</rss>

