<?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 Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-problem/m-p/1136504#M113219</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a selection screen with 2 parameters, param2 has a search help exit for filter data depending of param1 value, the problem is i don't know how to get the input value of param1 in the exit function module. The search help has an input param of same data element por param1. Can anybody help me please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leonardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Feb 2006 19:52:10 GMT</pubDate>
    <dc:creator>leonardo_pavia</dc:creator>
    <dc:date>2006-02-01T19:52:10Z</dc:date>
    <item>
      <title>Search Help Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-problem/m-p/1136504#M113219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a selection screen with 2 parameters, param2 has a search help exit for filter data depending of param1 value, the problem is i don't know how to get the input value of param1 in the exit function module. The search help has an input param of same data element por param1. Can anybody help me please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leonardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 19:52:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-problem/m-p/1136504#M113219</guid>
      <dc:creator>leonardo_pavia</dc:creator>
      <dc:date>2006-02-01T19:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-problem/m-p/1136505#M113220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use function module DYNP_VALUE_READ for getting the value of the parameters in the same program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 20:07:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-problem/m-p/1136505#M113220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-01T20:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-problem/m-p/1136506#M113221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand you correctly, then this sample should help you.  This is a sample only.  These two fields actually have this functionality built in, but is being overriden in this sample.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0002 .

parameters: p_werks type t001w-werks,
            p_lgort type t001l-lgort.

at selection-screen on value-request for p_lgort.

* Internal Table for storage location help
  data: begin of help_char occurs 0,
         lgort type t001l-lgort,
         LGOBE type t001l-LGOBE,
        end of help_char.

  data: dynfields type table of dynpread with header line.


  dynfields-fieldname = 'P_WERKS'.
  append dynfields.

  call function 'DYNP_VALUES_READ'
       exporting
            dyname               = sy-cprog
            dynumb               = sy-dynnr
            translate_to_upper   = 'X'
       tables
            dynpfields           = dynfields
       exceptions
            invalid_abapworkarea = 1
            invalid_dynprofield  = 2
            invalid_dynproname   = 3
            invalid_dynpronummer = 4
            invalid_request      = 5
            no_fielddescription  = 6
            invalid_parameter    = 7
            undefind_error       = 8
            double_conversion    = 9
            stepl_not_found      = 10
            others               = 11.


  read table dynfields with key fieldname = 'P_WERKS'.

  select * into corresponding fields of table help_char
               from t001l
                     where werks = dynfields-fieldvalue.

  call function 'F4IF_INT_TABLE_VALUE_REQUEST'
       exporting
            retfield    = 'LGORT'
            dynprofield = 'P_LGORT'
            dynpprog    = sy-cprog
            dynpnr      = sy-dynnr
            value_org   = 'S'
       tables
            value_tab   = help_char.


&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>Wed, 01 Feb 2006 20:08:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-problem/m-p/1136506#M113221</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-02-01T20:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-problem/m-p/1136507#M113222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you friends, my problem was solved. function module  DYNP_VALUES_READ was very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leonardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 21:07:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-problem/m-p/1136507#M113222</guid>
      <dc:creator>leonardo_pavia</dc:creator>
      <dc:date>2006-02-01T21:07:28Z</dc:date>
    </item>
  </channel>
</rss>

