<?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 parameters in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-parameters/m-p/2966862#M700103</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think u need to input Material number as input and according to that u want Plants matching that material number on other parameters or select-options of selection screen then u can achieve it by other way:&lt;/P&gt;&lt;P&gt; U need to use structure &amp;#145;DYNPREAD&amp;#146; , then Select and then function module &amp;#145;F4IF_INT_TABLE_VALUE_REQUEST&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_matnr type mara-matnr, &amp;#147; material&lt;/P&gt;&lt;P&gt;                    p_werks type mara-werks. &amp;#147; plant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for p_werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of help_item occurs 0,&lt;/P&gt;&lt;P&gt;matnr type mara-matnr,&lt;/P&gt;&lt;P&gt;werks type mara-werks,&lt;/P&gt;&lt;P&gt;end of help_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: dynfields type table of dynpread with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dynfields-fieldname = 'P_matnr'.&lt;/P&gt;&lt;P&gt;append dynfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;dyname = sy-cprog&lt;/P&gt;&lt;P&gt;dynumb = sy-dynnr&lt;/P&gt;&lt;P&gt;translate_to_upper = 'X'&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;dynpfields = dynfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; read table dynfields with key fieldname = 'P_matnr'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_matnr = dynfields-fieldvalue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;input = p_matnr&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;output = p_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select  matnr werks from vbap into table help_item&lt;/P&gt;&lt;P&gt;where matnr = p_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;retfield = 'WERKS'&lt;/P&gt;&lt;P&gt;dynprofield = 'P_WERKS'&lt;/P&gt;&lt;P&gt;dynpprog = sy-cprog&lt;/P&gt;&lt;P&gt;dynpnr = sy-dynnr&lt;/P&gt;&lt;P&gt;value_org = 'S'&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;value_tab = help_item.&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;Vijay Mekala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 21 Oct 2007 05:06:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-21T05:06:02Z</dc:date>
    <item>
      <title>search help parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-parameters/m-p/2966860#M700101</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 am using a search help H_WERKS_MATNR in the selection screen.This shows all the plants in which the material enterd by the user is present.I want to know how to pass this material no to the search help as input parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rakesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 07:11:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-parameters/m-p/2966860#M700101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-19T07:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: search help parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-parameters/m-p/2966861#M700102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A search help has the following parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import parameters: Parameters with which context information from the processed input template (screen) may be copied to the help process. &lt;/P&gt;&lt;P&gt;Export parameters: Parameters with which values from the hit list may be returned to the input template.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case, the Material No. should be assigned as an Import parameter to the Search help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 10:18:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-parameters/m-p/2966861#M700102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-19T10:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: search help parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-parameters/m-p/2966862#M700103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think u need to input Material number as input and according to that u want Plants matching that material number on other parameters or select-options of selection screen then u can achieve it by other way:&lt;/P&gt;&lt;P&gt; U need to use structure &amp;#145;DYNPREAD&amp;#146; , then Select and then function module &amp;#145;F4IF_INT_TABLE_VALUE_REQUEST&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_matnr type mara-matnr, &amp;#147; material&lt;/P&gt;&lt;P&gt;                    p_werks type mara-werks. &amp;#147; plant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for p_werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of help_item occurs 0,&lt;/P&gt;&lt;P&gt;matnr type mara-matnr,&lt;/P&gt;&lt;P&gt;werks type mara-werks,&lt;/P&gt;&lt;P&gt;end of help_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: dynfields type table of dynpread with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dynfields-fieldname = 'P_matnr'.&lt;/P&gt;&lt;P&gt;append dynfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;dyname = sy-cprog&lt;/P&gt;&lt;P&gt;dynumb = sy-dynnr&lt;/P&gt;&lt;P&gt;translate_to_upper = 'X'&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;dynpfields = dynfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; read table dynfields with key fieldname = 'P_matnr'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_matnr = dynfields-fieldvalue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;input = p_matnr&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;output = p_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select  matnr werks from vbap into table help_item&lt;/P&gt;&lt;P&gt;where matnr = p_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;retfield = 'WERKS'&lt;/P&gt;&lt;P&gt;dynprofield = 'P_WERKS'&lt;/P&gt;&lt;P&gt;dynpprog = sy-cprog&lt;/P&gt;&lt;P&gt;dynpnr = sy-dynnr&lt;/P&gt;&lt;P&gt;value_org = 'S'&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;value_tab = help_item.&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;Vijay Mekala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Oct 2007 05:06:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-parameters/m-p/2966862#M700103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-21T05:06:02Z</dc:date>
    </item>
  </channel>
</rss>

