<?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 SEARCH HELP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1317643#M164203</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HOW I CAN EXPORT 3 FIELDS WITH SEARCH HELP INTO &lt;/P&gt;&lt;P&gt;3 FIELD IN MY SELECTION SCREEN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jun 2006 17:41:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-08T17:41:32Z</dc:date>
    <item>
      <title>SEARCH HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1317643#M164203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HOW I CAN EXPORT 3 FIELDS WITH SEARCH HELP INTO &lt;/P&gt;&lt;P&gt;3 FIELD IN MY SELECTION SCREEN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2006 17:41:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1317643#M164203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-08T17:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: SEARCH HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1317644#M164204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;After selecting one value in the search help, you can get the values for the remaining by SELECT statement or from the internal table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is done in the event &lt;/P&gt;&lt;P&gt;AT SELECTION SCREEN ON VALUE REQUEST for..&lt;/P&gt;&lt;P&gt;Here when a search help for a particular value is requested, we get one value from user.. we can get the remaining from some internal table or from DB using Select Statement..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tanveer.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Please mark helpful answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2006 17:51:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1317644#M164204</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-08T17:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: SEARCH HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1317645#M164205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Liat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont think it is possible with out some programming effort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, the only other option is to create 3 search helps for those 3 fields on the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2006 18:56:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1317645#M164205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-08T18:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: SEARCH HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1317646#M164206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is very much possible, but yes, you need to read the datbase to get the other values.  Here is a sample program to illistrate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0002 .

parameters: p_bukrs type t001-bukrs,
            p_butxt type t001-butxt,
            p_ort01 type t001-ort01,
            p_land1 type t001-land1.

data: dynfields type table of dynpread with header line.
data: return type table of ddshretval with header line.

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 = 'P_BUTXT'.
  dynfields-fieldvalue = xt001-butxt.
  append dynfields.

  dynfields-fieldname = 'P_ORT01'.
  dynfields-fieldvalue = xt001-ort01.
  append dynfields.

  dynfields-fieldname = 'P_LAND1'.
  dynfields-fieldvalue = xt001-land1.
  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;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2006 19:00:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1317646#M164206</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-06-08T19:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: SEARCH HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1317647#M164207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Liat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this I think you have set the export sequence in your search help. And you should use the same fields in your selection screen and in same sequence(i think) in selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2006 19:02:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1317647#M164207</guid>
      <dc:creator>Manohar2u</dc:creator>
      <dc:date>2006-06-08T19:02:09Z</dc:date>
    </item>
  </channel>
</rss>

