<?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 for 2 fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-for-2-fields/m-p/6061702#M1354036</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;I have created one screen for MBLNR (Document No) &amp;amp; MJAHR(Year) field, I have created one search help for this field, but based on f4 selection it is getting document no from help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but my requirement is it will get both fields from single help,&lt;/P&gt;&lt;P&gt;screen take both field MBLNR &amp;amp; MJAHR from single search help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Sep 2009 09:42:43 GMT</pubDate>
    <dc:creator>arpit_shah</dc:creator>
    <dc:date>2009-09-16T09:42:43Z</dc:date>
    <item>
      <title>search help for 2 fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-for-2-fields/m-p/6061702#M1354036</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;I have created one screen for MBLNR (Document No) &amp;amp; MJAHR(Year) field, I have created one search help for this field, but based on f4 selection it is getting document no from help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but my requirement is it will get both fields from single help,&lt;/P&gt;&lt;P&gt;screen take both field MBLNR &amp;amp; MJAHR from single search help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2009 09:42:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-for-2-fields/m-p/6061702#M1354036</guid>
      <dc:creator>arpit_shah</dc:creator>
      <dc:date>2009-09-16T09:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: search help for 2 fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-for-2-fields/m-p/6061703#M1354037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi Arpit, 
Try this way. Check this example and change accordingly .
&lt;PRE&gt;&lt;CODE&gt; REPORT ZVENKAT_F4_FOR_PARAMETERS MESSAGE-ID ZMSG .
 TYPES:BEGIN OF T_T001W,
        WERKS       TYPE T001W-WERKS,
        NAME1       TYPE T001W-NAME1,
       END OF T_T001W,
       T_RETURN_TAB  TYPE DDSHRETVAL.
 DATA:W_T001W      TYPE T_T001W,
      W_RETURN_TAB TYPE T_RETURN_TAB.
 DATA:I_T001W      TYPE STANDARD TABLE OF T_T001W,
      I_RETURN_TAB TYPE STANDARD TABLE OF T_RETURN_TAB.
 DATA:W_DYNPFIELDS TYPE DYNPREAD,
      I_DYNPFIELDS LIKE STANDARD TABLE OF DYNPREAD.
 SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
 PARAMETERS :P_WERKS TYPE T001W-WERKS,
             P_NAME1 TYPE T001W-NAME1.
 SELECTION-SCREEN END OF BLOCK B1.
"F4 Help for Werks
 AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_WERKS.
   IF I_T001W[] IS INITIAL.
     SELECT WERKS NAME1
     FROM T001W
     INTO TABLE I_T001W.
   ENDIF.
   CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
     EXPORTING
       RETFIELD    = 'WERKS'
       DYNPPROG    = SY-REPID
       DYNPNR      = SY-DYNNR
       DYNPROFIELD = 'P_WERKS'
       VALUE_ORG   = 'S'
     TABLES
       VALUE_TAB   = I_T001W
       RETURN_TAB  = I_RETURN_TAB.
   READ TABLE I_RETURN_TAB INTO W_RETURN_TAB INDEX 1.
   P_WERKS = W_RETURN_TAB-FIELDVAL.
   READ TABLE I_T001W INTO W_T001W WITH KEY WERKS = P_WERKS.
   IF SY-SUBRC = 0.
     W_DYNPFIELDS-FIELDNAME    = 'P_NAME1'.
     W_DYNPFIELDS-FIELDVALUE   = W_T001W-NAME1.
     APPEND W_DYNPFIELDS TO I_DYNPFIELDS.
     CLEAR W_DYNPFIELDS.
     CALL FUNCTION 'DYNP_VALUES_UPDATE'
       EXPORTING
         DYNAME     = SY-REPID
         DYNUMB     = SY-DYNNR
       TABLES
         DYNPFIELDS = I_DYNPFIELDS.
   ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;
Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2009 09:51:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-for-2-fields/m-p/6061703#M1354037</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-09-16T09:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: search help for 2 fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-for-2-fields/m-p/6061704#M1354038</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;thanks for your reply,&lt;/P&gt;&lt;P&gt;but i want same thing using by creating search help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using search help that is created in SE11 and assign to this field.&lt;/P&gt;&lt;P&gt;I hope you understand my requirements.&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;Arpit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2009 10:00:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-for-2-fields/m-p/6061704#M1354038</guid>
      <dc:creator>arpit_shah</dc:creator>
      <dc:date>2009-09-16T10:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: search help for 2 fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-for-2-fields/m-p/6061705#M1354039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In search help ensure you have placed both fields and selected option &lt;STRONG&gt;EXP&lt;/STRONG&gt; for them. It will then return values for those two once you pick desired entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2009 10:21:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-for-2-fields/m-p/6061705#M1354039</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-09-16T10:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: search help for 2 fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-for-2-fields/m-p/6061706#M1354040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for your reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have already set EXP for both fields, and when i am executing search help from se11 then its working correct,  &lt;/P&gt;&lt;P&gt;but in selection screen it is only fetching document no only, not fetching year.&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;Arpit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2009 11:08:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-for-2-fields/m-p/6061706#M1354040</guid>
      <dc:creator>arpit_shah</dc:creator>
      <dc:date>2009-09-16T11:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: search help for 2 fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-for-2-fields/m-p/6061707#M1354041</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;after creating search help, I have to assign to both field or single one?...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in from SE11 when i m executing it is working fine , but from selection screen it is working for only single field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arpit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2009 05:04:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-for-2-fields/m-p/6061707#M1354041</guid>
      <dc:creator>arpit_shah</dc:creator>
      <dc:date>2009-09-17T05:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: search help for 2 fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-for-2-fields/m-p/6061708#M1354042</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;Any idea on this issue...&lt;/P&gt;&lt;P&gt;or i have to use functional module for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arpit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2009 08:52:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-for-2-fields/m-p/6061708#M1354042</guid>
      <dc:creator>arpit_shah</dc:creator>
      <dc:date>2009-09-18T08:52:29Z</dc:date>
    </item>
  </channel>
</rss>

