<?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 with 3 return values in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-with-3-return-values/m-p/6737116#M1458027</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a screen with 3 input fields. The first input field has a search help. How can I do that, if I chose a value from the search help list, then the other fields on the screen should have receive some values according to the search help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean: I have 3 fields on the screen f1, f2, f3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f1 has a search help, in the search help I see: date, f2, f3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f1 receives the date because this is the export parameter of it, and f2, f3 remains empty. I need to pass the values f2, f3 from the search help list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Feb 2010 10:15:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-24T10:15:29Z</dc:date>
    <item>
      <title>Search help with 3 return values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-with-3-return-values/m-p/6737116#M1458027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a screen with 3 input fields. The first input field has a search help. How can I do that, if I chose a value from the search help list, then the other fields on the screen should have receive some values according to the search help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean: I have 3 fields on the screen f1, f2, f3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f1 has a search help, in the search help I see: date, f2, f3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f1 receives the date because this is the export parameter of it, and f2, f3 remains empty. I need to pass the values f2, f3 from the search help list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 10:15:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-with-3-return-values/m-p/6737116#M1458027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-24T10:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Search help with 3 return values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-with-3-return-values/m-p/6737117#M1458028</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 are getting the value for f1 through search help.Now,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;if p_f1 is not initial.&lt;/P&gt;&lt;P&gt;Loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name =  'P_F2'.&lt;/P&gt;&lt;P&gt;&amp;lt;here write ur logic to get the value for f2 based on f1.&amp;gt;&lt;/P&gt;&lt;P&gt;screen-input = 1.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;elseif  screen-name =  'P_F3'.&lt;/P&gt;&lt;P&gt;&amp;lt;here write ur logic to get the value for f3 based on f1.&amp;gt;&lt;/P&gt;&lt;P&gt;screen-input = 1.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endloop.&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;Check the F1 help on screen for more information.&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>Wed, 24 Feb 2010 10:24:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-with-3-return-values/m-p/6737117#M1458028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-24T10:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Search help with 3 return values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-with-3-return-values/m-p/6737118#M1458029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi you have to create a search help.&lt;/P&gt;&lt;P&gt;For example see the transaction CV01N, check the search help attached to the data element of first input field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 20:11:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-with-3-return-values/m-p/6737118#M1458029</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-02-24T20:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Search help with 3 return values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-with-3-return-values/m-p/6737119#M1458030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the exact fuctionality what I want, but I did not found any search help. It looks like a very complicated code behind the screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 09:48:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-with-3-return-values/m-p/6737119#M1458030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-25T09:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Search help with 3 return values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-with-3-return-values/m-p/6737120#M1458031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Name of the search help on this field is CV01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find it in the value table of domain. Search help is defined on field doknr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 10:05:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-with-3-return-values/m-p/6737120#M1458031</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-25T10:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Search help with 3 return values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-with-3-return-values/m-p/6737121#M1458032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi White,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;"It would be great help for others who search for similar Issue,
" So please take some time in Providing details of how you managed it&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;Check the following
"  Implement your own search Help as below
data : from_f4.
PARAMETERS : carrid TYPE spfli-carrid,
             connid TYPE spfli-connid,
             fldate TYPE sflight-fldate.

DATA : itab TYPE TABLE OF sflight WITH HEADER LINE.
DATA : fmap TYPE TABLE OF dselc WITH HEADER LINE.



AT SELECTION-SCREEN ON VALUE-REQUEST FOR carrid." If it is a selection Screen
else in PROCESS ON VALUE REQUEST
from_f4 = 'X'. " This indicates the Value come from F4 only
  SELECT * FROM sflight INTO TABLE itab.
  SORT itab BY carrid connid fldate.
  DELETE ADJACENT DUPLICATES FROM itab
  COMPARING carrid connid fldate.
  fmap-fldname = 'CARRID'.
  fmap-dyfldname = 'CARRID'.
  APPEND fmap.
  fmap-fldname = 'CONNID'.
  fmap-dyfldname = 'CONNID'.
  APPEND fmap.
  fmap-fldname = 'FLDATE'.
  fmap-dyfldname = 'FLDATE'.
  APPEND fmap.

  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
     ddic_structure         = 'SFLIGHT'
      retfield               = 'CARIID'
*     PVALKEY                = ' '
     dynpprog               = sy-repid
     dynpnr                 = sy-dynnr
     DYNPROFIELD            = 'CARRID'
*     STEPL                  = 0
*     WINDOW_TITLE           =
*     VALUE                  = ' '
     value_org              = 'S'
*     MULTIPLE_CHOICE        = ' '
*     DISPLAY                = ' '
*     CALLBACK_PROGRAM       = ' '
*     CALLBACK_FORM          = ' '
*     MARK_TAB               =
*   IMPORTING
*     USER_RESET             =
    TABLES
      value_tab              = itab
*     FIELD_TAB              =
*     RETURN_TAB             =
     dynpfld_mapping        = fmap
*   EXCEPTIONS
*     PARAMETER_ERROR        = 1
*     NO_VALUES_FOUND        = 2
*     OTHERS                 = 3
            ." Just Execute this pilot program and verify
  IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 10:07:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-with-3-return-values/m-p/6737121#M1458032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-25T10:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Search help with 3 return values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-with-3-return-values/m-p/6737122#M1458033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The search help name is CV01, check it in se11.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 10:08:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-with-3-return-values/m-p/6737122#M1458033</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-02-25T10:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Search help with 3 return values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-with-3-return-values/m-p/6737123#M1458034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, I have a sample CV01 search help, but it looks like very difficult. It is a collective search help, with some elementary and collective search help included in its Include part &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; And this included search helps has exits and additional included collective search helps. It like a tree with lots of branches.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 08:46:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-with-3-return-values/m-p/6737123#M1458034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-26T08:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Search help with 3 return values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-with-3-return-values/m-p/6737124#M1458035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved it in a different way. Thanks for replying.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Mar 2010 10:27:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-with-3-return-values/m-p/6737124#M1458035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-03T10:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Search help with 3 return values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-with-3-return-values/m-p/6737125#M1458036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; I solved it in a different way. Thanks for replying.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello Mr.White,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is your solution copyrighted ? &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt; Can you please be kind enough to share it with fellow SDNers ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Apr 2010 06:32:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-with-3-return-values/m-p/6737125#M1458036</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-04-05T06:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Search help with 3 return values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-with-3-return-values/m-p/6737126#M1458037</link>
      <description>&lt;P&gt;It is working fine! Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 05:59:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-with-3-return-values/m-p/6737126#M1458037</guid>
      <dc:creator>lmouni</dc:creator>
      <dc:date>2021-12-16T05:59:40Z</dc:date>
    </item>
  </channel>
</rss>

