<?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 Dynamic Search-help in Selection Screen Parameter in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-search-help-in-selection-screen-parameter/m-p/7226340#M1524394</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;Please can you provide some solution for the below requirements.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I have 2 fields ( Organization channel and Team ) in my selection screen. Under one organization channel there can be many teams.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;And I am trying a  dynamic search help on both the fields using event AT selection-screen on Value request and &lt;/P&gt;&lt;P&gt;FM 'F4IF_INT_TABLE_VALUE_REQUEST'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;But I am facing the below issue .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;First I am giving some values in field 'Organization channel' . Then I am clicking on F4 button on my  2nd field 'Team' .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;and in debugging mode under the event  'At selection-screen on value request', Select option SO_Team is blank. &lt;/P&gt;&lt;P&gt;The value provided in the Organiozation channel is not being captured in SO_TEAM-Low&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Please have a look on the below codes.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_team-low .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not  so_orgchannel-low  is  initial.      "Here so_orgchannel-low  value is coming as Zeros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select  * from HRP1001 into table GT_HRP1001 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          where objid = so_orgchannel-low.&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        = 'ORGID'&lt;/P&gt;&lt;P&gt;              value_org       = 'S'&lt;/P&gt;&lt;P&gt;              dynpprog        = 'ZTEST'&lt;/P&gt;&lt;P&gt;              dynpnr          = '1000'&lt;/P&gt;&lt;P&gt;         TABLES&lt;/P&gt;&lt;P&gt;              value_tab       = gt_hrp1001&lt;/P&gt;&lt;P&gt;         EXCEPTIONS&lt;/P&gt;&lt;P&gt;              parameter_error = 1&lt;/P&gt;&lt;P&gt;              no_values_found = 2&lt;/P&gt;&lt;P&gt;              OTHERS          = 3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Aug 2010 13:17:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-06T13:17:49Z</dc:date>
    <item>
      <title>Dynamic Search-help in Selection Screen Parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-search-help-in-selection-screen-parameter/m-p/7226340#M1524394</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;Please can you provide some solution for the below requirements.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I have 2 fields ( Organization channel and Team ) in my selection screen. Under one organization channel there can be many teams.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;And I am trying a  dynamic search help on both the fields using event AT selection-screen on Value request and &lt;/P&gt;&lt;P&gt;FM 'F4IF_INT_TABLE_VALUE_REQUEST'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;But I am facing the below issue .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;First I am giving some values in field 'Organization channel' . Then I am clicking on F4 button on my  2nd field 'Team' .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;and in debugging mode under the event  'At selection-screen on value request', Select option SO_Team is blank. &lt;/P&gt;&lt;P&gt;The value provided in the Organiozation channel is not being captured in SO_TEAM-Low&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Please have a look on the below codes.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_team-low .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not  so_orgchannel-low  is  initial.      "Here so_orgchannel-low  value is coming as Zeros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select  * from HRP1001 into table GT_HRP1001 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          where objid = so_orgchannel-low.&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        = 'ORGID'&lt;/P&gt;&lt;P&gt;              value_org       = 'S'&lt;/P&gt;&lt;P&gt;              dynpprog        = 'ZTEST'&lt;/P&gt;&lt;P&gt;              dynpnr          = '1000'&lt;/P&gt;&lt;P&gt;         TABLES&lt;/P&gt;&lt;P&gt;              value_tab       = gt_hrp1001&lt;/P&gt;&lt;P&gt;         EXCEPTIONS&lt;/P&gt;&lt;P&gt;              parameter_error = 1&lt;/P&gt;&lt;P&gt;              no_values_found = 2&lt;/P&gt;&lt;P&gt;              OTHERS          = 3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 13:17:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-search-help-in-selection-screen-parameter/m-p/7226340#M1524394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-06T13:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Search-help in Selection Screen Parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-search-help-in-selection-screen-parameter/m-p/7226341#M1524395</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;try this way...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

 AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_team-low .
 
 if not  so_orgchannel-low  is  initial.      "Here so_orgchannel-low  value is coming as Zeros.
 "Add This  Begin
  CLEAR t_dynpfields.
  REFRESH t_dynpfields.
  t_dynpfields-fieldname  = 'SO_ORGCHANNEL-LOW'. 
  APPEND t_dynpfields.
  w_repid = sy-repid.
* reading Screen variables and Values
  CALL FUNCTION 'DYNP_VALUES_READ'
       EXPORTING
            dyname     = w_repid
            dynumb     = sy-dynnr
       TABLES
            dynpfields = t_dynpfields
       EXCEPTIONS
            OTHERS.
  READ TABLE t_dynpfields INDEX 1.
  so_orgchannel-low = t_dynpfields-fieldvalue.
"Add this End
 select  * from HRP1001 into table GT_HRP1001 
           where objid = so_orgchannel-low.
 
 CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
          EXPORTING
               retfield        = 'ORGID'
               value_org       = 'S'
               dynpprog        = 'ZTEST'
               dynpnr          = '1000'
          TABLES
               value_tab       = gt_hrp1001
          EXCEPTIONS
               parameter_error = 1
               no_values_found = 2
               OTHERS          = 3.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 13:27:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-search-help-in-selection-screen-parameter/m-p/7226341#M1524395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-06T13:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Search-help in Selection Screen Parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-search-help-in-selection-screen-parameter/m-p/7226342#M1524396</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_team-low .
 

 "Add This  Begin
  CLEAR t_dynpfields.
  REFRESH t_dynpfields.
  t_dynpfields-fieldname  = 'SO_ORGCHANNEL-LOW'. 
  APPEND t_dynpfields.
  w_repid = sy-repid.
* reading Screen variables and Values
  CALL FUNCTION 'DYNP_VALUES_READ'
       EXPORTING
            dyname     = w_repid
            dynumb     = sy-dynnr
       TABLES
            dynpfields = t_dynpfields
       EXCEPTIONS
            OTHERS.
  READ TABLE t_dynpfields INDEX 1.
  so_orgchannel-low = t_dynpfields-fieldvalue.
"Add this End

 if not  so_orgchannel-low  is  initial.      "Your code is here
 select  * from HRP1001 into table GT_HRP1001 
           where objid = so_orgchannel-low.
 
 CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
          EXPORTING
               retfield        = 'ORGID'
               value_org       = 'S'
               dynpprog        = 'ZTEST'
               dynpnr          = '1000'
          TABLES
               value_tab       = gt_hrp1001
          EXCEPTIONS
               parameter_error = 1
               no_values_found = 2
               OTHERS          = 3.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 13:29:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-search-help-in-selection-screen-parameter/m-p/7226342#M1524396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-06T13:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Search-help in Selection Screen Parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-search-help-in-selection-screen-parameter/m-p/7226343#M1524397</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;i tried with the following code for your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables hrp1001.&lt;/P&gt;&lt;P&gt;select-options:so_org for hrp1001-objid,&lt;/P&gt;&lt;P&gt;               so_team for hrp1001-objid.&lt;/P&gt;&lt;P&gt;data:GT_HRP1001 type table of hrp1001 with header line.&lt;/P&gt;&lt;P&gt; AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_team-low.&lt;/P&gt;&lt;P&gt; if not so_org-low is initial.&lt;/P&gt;&lt;P&gt; select * from HRP1001 into table GT_HRP1001 where objid = so_org-low.&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 = 'ORGID'&lt;/P&gt;&lt;P&gt;   value_org = 'S'&lt;/P&gt;&lt;P&gt;   dynpprog = 'Z16320_SDN'&lt;/P&gt;&lt;P&gt;   dynpnr = '1000'&lt;/P&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;   value_tab = gt_hrp1001&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;   parameter_error = 1&lt;/P&gt;&lt;P&gt;   no_values_found = 2&lt;/P&gt;&lt;P&gt;   OTHERS = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if anything goes wrong.It worked as per your requiremnt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Ramya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 13:30:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-search-help-in-selection-screen-parameter/m-p/7226343#M1524397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-06T13:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Search-help in Selection Screen Parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-search-help-in-selection-screen-parameter/m-p/7226344#M1524398</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;Inside Value Request Section, you will not get the value you have entered in other parameters.&lt;/P&gt;&lt;P&gt;For that you need to read them from Screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Function Module  'DYNP_VALUES_READ' to Read Screen Parameter value and use the same value as filter criteria for your next select statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 13:37:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-search-help-in-selection-screen-parameter/m-p/7226344#M1524398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-06T13:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Search-help in Selection Screen Parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-search-help-in-selection-screen-parameter/m-p/7226345#M1524399</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 need the values in Select option (Low, High as well as the multiple values also). But above mentioned FM take only one Screen Field. Can you pls suggest some other option, pls. &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;Pankaj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 11:48:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-search-help-in-selection-screen-parameter/m-p/7226345#M1524399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-10T11:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Search-help in Selection Screen Parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-search-help-in-selection-screen-parameter/m-p/7226346#M1524400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After selecting the 1st select option u need to press &lt;STRONG&gt;'ENTER'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;only after pressing enter the select option will populate and den u can use it in the select statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So just try pressing ENTER&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 11:54:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-search-help-in-selection-screen-parameter/m-p/7226346#M1524400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-10T11:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Search-help in Selection Screen Parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-search-help-in-selection-screen-parameter/m-p/7226347#M1524401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Sep 2010 07:28:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-search-help-in-selection-screen-parameter/m-p/7226347#M1524401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-03T07:28:37Z</dc:date>
    </item>
  </channel>
</rss>

