<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/7229212#M1524645</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sumithra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using the FM 'F4UT_PARAMETER_VALUE_GET'. Here's an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;    CALL FUNCTION 'F4UT_PARAMETER_VALUE_GET'
      EXPORTING
        PARAMETER             = 'FIELD1'
        FIELDNAME             = 'FIELD1'
      TABLES
        SHLP_TAB              = SHLP_TAB
        RECORD_TAB            = RECORD_TAB
        RESULTS_TAB           = lt_results
      CHANGING
        SHLP                  = SHLP
        CALLCONTROL           = CALLCONTROL.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vladan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Aug 2010 11:50:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-20T11:50:15Z</dc:date>
    <item>
      <title>Search Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/7229211#M1524644</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 have created a search help with one input parameter and one output using SE11 elementary searchhelp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created the Search help ext .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my screen, I have 2 fields.&lt;/P&gt;&lt;P&gt;The searchhelp has been attached to the field2.&lt;/P&gt;&lt;P&gt;Based on field1 I need to display the field 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am not able to get it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Function module(search help help), shlp-selopt is blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please help on  this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Sumithra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;In the future please use a descriptive title and post questions in the right forum.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moved to the right forum by: kishan P on Aug 20, 2010 5:33 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Aug 2010 09:06:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/7229211#M1524644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-20T09:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/7229212#M1524645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sumithra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using the FM 'F4UT_PARAMETER_VALUE_GET'. Here's an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;    CALL FUNCTION 'F4UT_PARAMETER_VALUE_GET'
      EXPORTING
        PARAMETER             = 'FIELD1'
        FIELDNAME             = 'FIELD1'
      TABLES
        SHLP_TAB              = SHLP_TAB
        RECORD_TAB            = RECORD_TAB
        RESULTS_TAB           = lt_results
      CHANGING
        SHLP                  = SHLP
        CALLCONTROL           = CALLCONTROL.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vladan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Aug 2010 11:50:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/7229212#M1524645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-20T11:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/7229213#M1524646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, F4UT_PARAMETER_VALUE_GET is for retrieving values from the search help interface.  It stands to reason that if the value isn't in the select options table, then the function call won't work.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To the OP, did you attach the screen field to the search help interface properly?  Otherwise, you would need to use DYNP_VALUES_READ to get the value(s).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Aug 2010 14:12:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/7229213#M1524646</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2010-08-20T14:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/7229214#M1524647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ooops... My bad. You're right, Brad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vladan Vujaklija on Aug 20, 2010 4:32 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Aug 2010 14:30:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/7229214#M1524647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-20T14:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/7229215#M1524648</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 waqy..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

parameter : p_field1 type char10,
                   p_field2 type char10.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_field1.
 CLEAR t_dynpfields.
  REFRESH t_dynpfields.
  t_dynpfields-fieldname  = p_field2.
  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.
  p_field2 = t_dynpfields-fieldvalue.
 IF  p_field2 = 0.
    select * from table into itab where field2 - field2.
   if sy-subrc = 0.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
        retfield    = 'SUPERDEST'
        dynpprog    = sy-repid
        dynpnr      = '1000'
        dynprofield = w_dynprofld
        value_org   = 'S'
      TABLES
        value_tab   = t_zssysmap.
    IF sy-subrc &amp;lt;&amp;gt; 0.
    ENDIF.
ENDIF.
  ENDIF.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_field2.
 CLEAR t_dynpfields.
  REFRESH t_dynpfields.
  t_dynpfields-fieldname  = p_field1.
  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.
  p_field2 = t_dynpfields-fieldvalue.
 IF  p_field2 = 0.
    select * from table into itab where field1 - field1.
   if sy-subrc = 0.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
        retfield    = 'SUPERDEST'
        dynpprog    = sy-repid
        dynpnr      = '1000'
        dynprofield = w_dynprofld
        value_org   = 'S'
      TABLES
        value_tab   = t_zssysmap.
    IF sy-subrc &amp;lt;&amp;gt; 0.
    ENDIF.
ENDIF.
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Aug 2010 14:38:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/7229215#M1524648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-20T14:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/7229216#M1524649</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 was using F4IF_INT_TABLE_VALUE_REQUEST. But the return tab is having the field type C132. But in my F4 help, the field has length of char255.&lt;/P&gt;&lt;P&gt;As the return tab has 132 length, the value is getting truncated. Hence I tried to use the SE11 search help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my screen, I am using Dynp_values_read to get the current value and I am getting it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I dont know how can I send this value to the F4 Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because the F4 help I have attached is for field2 based on field 1. But how will it take the field1 value.&lt;/P&gt;&lt;P&gt;Can  anyone explain the process of creation and usage of Search help using se11(based on search help exit).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for the answers... &lt;/P&gt;&lt;P&gt;Sumithra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2010 04:25:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/7229216#M1524649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-23T04:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/7229217#M1524650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;     when u created search help then in import field put both 2 feilds and in export as u want to see feild 2 wrt feild 1 then put feild 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as u paste the search help for feild 2 u see all values of feild 1 and feild2 together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sulabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Sep 2010 09:16:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/7229217#M1524650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-10T09:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/7229218#M1524651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem Not solved.But closing this cos of the limitation of open questions...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 06:44:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/7229218#M1524651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T06:44:13Z</dc:date>
    </item>
  </channel>
</rss>

