<?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 / matchcode object in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-matchcode-object/m-p/7693827#M1577209</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;you need to write your own code based on company code, put it in one internal table. pass the internal table to the below FM:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F4IF_INT_TABLE_VALUE_REQUEST&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Feb 2011 10:08:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-02-22T10:08:10Z</dc:date>
    <item>
      <title>search help / matchcode object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-matchcode-object/m-p/7693826#M1577208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some queries about search help/matchcode object.&lt;/P&gt;&lt;P&gt;How do i do and filtering when I select the company code value eg: MY01, the when i click on F4 Location name, it only display the data for location name for company code MY01 only? The fields need to display in S_NAME are&lt;/P&gt;&lt;P&gt;company code &amp;amp; Location name. Can anyone a&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selection screen:&lt;/P&gt;&lt;P&gt;Company code (s_bukrs)&lt;/P&gt;&lt;P&gt;Location name (s_name)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 09:51:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-matchcode-object/m-p/7693826#M1577208</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-22T09:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: search help / matchcode object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-matchcode-object/m-p/7693827#M1577209</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;you need to write your own code based on company code, put it in one internal table. pass the internal table to the below FM:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F4IF_INT_TABLE_VALUE_REQUEST&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 10:08:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-matchcode-object/m-p/7693827#M1577209</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-22T10:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: search help / matchcode object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-matchcode-object/m-p/7693828#M1577210</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;You have to fetch the data according to the parameters e.g company code in a internal table and pass it back to FM.&lt;/P&gt;&lt;P&gt;F4_INT_TABLE_VALUE_REQUEST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It WIL WORK, try it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Arbind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 10:35:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-matchcode-object/m-p/7693828#M1577210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-22T10:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: search help / matchcode object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-matchcode-object/m-p/7693829#M1577211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In every case you will need to read the value of the other fields (in POV or AT SELECTION-SCREEN ON VALUE-REQUEST) via FM [DYNP_VALUES_READ|http://www.sdn.sap.com/irj/scn/advancedsearch?query=dynp_values_read]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The easiest way is then to use a simple [F4IF_INT_TABLE_VALUE_REQUEST|http://www.sdn.sap.com/irj/scn/advancedsearch?query=f4if_int_table_value_request] after filling an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another more user-friendly  is to use [F4IF_FIELD_VALUE_REQUEST|http://www.sdn.sap.com/irj/scn/advancedsearch?query=f4if_field_value_request] which will use the standard search help (which can be collective) you wail fill [callback_program and callback_form|http://www.sdn.sap.com/irj/scn/advancedsearch?query=f4if_field_value_request&lt;EM&gt;callback_program&lt;/EM&gt;callback_form] to get program/form that will filter the data.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
       EXPORTING
            tabname          = &amp;lt;table&amp;gt;
            fieldname        = &amp;lt;field&amp;gt;
*            multiple_choice  = 'X'  
            callback_program = '&amp;lt;callback_program&amp;gt;
            callback_form    = '&amp;lt;callback_form&amp;gt;
       TABLES
            return_tab       = return_tab
       EXCEPTIONS
            OTHERS           = 1.

FORM &amp;lt;callback_form&amp;gt; TABLES   record_tab STRUCTURE seahlpres
                      CHANGING shlp TYPE shlp_descr_t
                               callcontrol LIKE ddshf4ctrl.
* Local data
  DATA: ddshiface TYPE ddshiface,
        worklist LIKE lumskz,
        dynpfields TYPE TABLE OF dynpread WITH HEADER LINE.
*Add  Filter
  LOOP AT shlp-interface INTO ddshiface WHERE shlpfield = &amp;lt;fieldname&amp;gt;.
    ddshiface-valtabname = &amp;lt;table&amp;gt;.
    ddshiface-valfield   = &amp;lt;other field&amp;gt;.
    ddshiface-value      = &amp;lt;other field value&amp;gt;.
    MODIFY shlp-interface FROM ddshiface.
  ENDLOOP.
ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 10:51:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-matchcode-object/m-p/7693829#M1577211</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2011-02-22T10:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: search help / matchcode object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-matchcode-object/m-p/7693830#M1577212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Blue Sky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can either :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Use search help with Imp parameter checked for Company Code.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For this you will have to assign either the parameter ID for Company code field , or the screen field name should correspond to a dictionary field to which this search help is assigned. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Use F4IF_INT_TABLE_VALUE_REQUEST function module&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In this case, use &lt;EM&gt;DYNP_VALUES_READ&lt;/EM&gt; to read teh screen field value for company code if necessary and then selct the values using coding to pass it to the function module F4IF_INT_TABLE_VALUE_REQUEST . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please get back for any further help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suzie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 11:05:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-matchcode-object/m-p/7693830#M1577212</guid>
      <dc:creator>lijisusan_mathews</dc:creator>
      <dc:date>2011-02-22T11:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: search help / matchcode object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-matchcode-object/m-p/7693831#M1577213</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;Either you can create a search help and add Both the fields in the help, so you will get the values for both the fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can use FM '4IF_INT_TABLE_VALUE_REQUEST' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chk the link below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sapprograms.blogspot.com/2008/11/f4-help-of-one-field-depends-on-other.html" target="test_blank"&gt;http://sapprograms.blogspot.com/2008/11/f4-help-of-one-field-depends-on-other.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Shankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 11:16:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-matchcode-object/m-p/7693831#M1577213</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-22T11:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: search help / matchcode object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-matchcode-object/m-p/7693832#M1577214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this FM DYNP_VALUES_READ able to read the select-options value? I did tried it and seem it only work for parameter value. Is there any way to read the selection screen value for select-options? Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg: &lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : s_id FOR xx,&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : s_class for xx.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 14:52:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-matchcode-object/m-p/7693832#M1577214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-22T14:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: search help / matchcode object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-matchcode-object/m-p/7693833#M1577215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To get teh LOW and HIGH values.. you can use it, and then you can append it into a ranges table or teh the select options itself manually.. But in case of extensions, i dont think it is possible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suzie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 04:51:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-matchcode-object/m-p/7693833#M1577215</guid>
      <dc:creator>lijisusan_mathews</dc:creator>
      <dc:date>2011-02-23T04:51:56Z</dc:date>
    </item>
  </channel>
</rss>

