<?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: related to input help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-input-help/m-p/8282939#M1633986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi charudevrani &lt;/P&gt;&lt;P&gt;Actually it should be working by now, if you define the parameters as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS: p_bukrs TYPE pa0001-bukrs,
            p_werks TYPE pa0001-werks,
            p_btrtl TYPE pa0001-btrtl.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Personal subarea values will be filtered automatically after you have entered Company Code and Pers. Area.  there's no need to do anything in this case since it is using the standard search help H_T001P defined in table PA0001 to filter the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: If your question is solved pleas mark it as solved problem.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Oct 2011 09:11:37 GMT</pubDate>
    <dc:creator>former_member209703</dc:creator>
    <dc:date>2011-10-28T09:11:37Z</dc:date>
    <item>
      <title>related to input help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-input-help/m-p/8282936#M1633983</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;my project is HR based.&lt;/P&gt;&lt;P&gt;i developed an initial screen with 3 fields(i.e.company code,personnel area and personnel subarea)&lt;/P&gt;&lt;P&gt;i have explained my requirement with an example:&lt;/P&gt;&lt;P&gt;if i give company code as 1000,the input help for personnel area should only be related to 1000 company code and so for  subarea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sap provides combined search help.i need the filterd input help for each i/o field.&lt;/P&gt;&lt;P&gt;pls tel me how to do it.&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;charu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Oct 2011 17:53:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-input-help/m-p/8282936#M1633983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-22T17:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: related to input help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-input-help/m-p/8282937#M1633984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;To do that, you need to create a Z copy of the standard search hellp &lt;STRONG&gt;H_T500P&lt;/STRONG&gt; and just mark the Import Parameter in the field &lt;STRONG&gt;BUKRS&lt;/STRONG&gt; (Company Code) so you can now use the Search Help to filter the values entered in the C.Code field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://img829.imageshack.us/img829/9427/samplejb.jpg" target="test_blank"&gt;http://img829.imageshack.us/img829/9427/samplejb.jpg&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then your code would be something similar to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT ztest .

TYPE-POOLS: shlp.

DATA: l_shlp     TYPE shlp_descr_t,
      l_wa       TYPE ddshiface,
      l_bukrs    TYPE char50,
      l_repid    TYPE syrepid,
      L_DYNNR    TYPE SYDYNNR,
      l_ret_val  LIKE ddshretval OCCURS 0 WITH HEADER LINE,
      l_t_fields TYPE dynpread   OCCURS 0 WITH HEADER LINE.


PARAMETERS: p_bukrs TYPE pa0001-bukrs,
            p_werks TYPE pa0001-werks,
            p_btrtl TYPE pa0001-btrtl.


AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_werks.

  FIELD-SYMBOLS &amp;lt;fs&amp;gt; TYPE ddshiface.
  l_repid = sy-repid.
  L_DYNNR = SY-DYNNR.

  CALL FUNCTION 'F4IF_GET_SHLP_DESCR'
    EXPORTING
      shlpname       = 'ZH_T500P'
*     SHLPTYPE       = 'SH'
    IMPORTING
      shlp           = l_shlp
            .

  CALL FUNCTION 'DYNPRO_STRING_READ'
    EXPORTING
      i_fieldname = 'P_BUKRS'
      i_repid     = l_repid
    IMPORTING
      e_string    = l_bukrs.


  LOOP AT l_shlp-interface INTO l_wa.
    IF l_wa-shlpfield  EQ 'BUKRS'.
      l_wa-value = l_bukrs.
      l_wa-valtabname = 'PA0001'.
      l_wa-valfield   = 'BUKRS'.
    ELSEIF l_wa-shlpfield EQ 'PERSA'.
      l_wa-valtabname = 'PA0001'.
      l_wa-valfield   = 'WERKS'.
    ENDIF.
    MODIFY l_shlp-interface FROM l_wa.
  ENDLOOP.

* Process standard searchhelp
  CALL FUNCTION 'F4IF_START_VALUE_REQUEST'
    EXPORTING
      shlp          = l_shlp
    TABLES
      return_values = l_ret_val.

  LOOP AT l_ret_val.
    IF l_ret_val-fieldname EQ 'BUKRS'.
      l_t_fields-fieldname  = 'P_BUKRS'.
      l_t_fields-fieldvalue = l_ret_val-fieldval.
      APPEND l_t_fields.
    ELSEIF l_ret_val-fieldname EQ 'PERSA'.
      l_t_fields-fieldname  = 'P_WERKS'.
      l_t_fields-fieldvalue = l_ret_val-fieldval.
      APPEND l_t_fields.
    ENDIF.
  ENDLOOP.

  CALL FUNCTION 'DYNP_VALUES_UPDATE'
    EXPORTING
      dyname               = l_repid
      dynumb               = l_dynnr
    TABLES
      dynpfields           = l_t_fields
    EXCEPTIONS
      invalid_abapworkarea = 1
      invalid_dynprofield  = 2
      invalid_dynproname   = 3
      invalid_dynpronummer = 4
      invalid_request      = 5
      no_fielddescription  = 6
      undefind_error       = 7
      OTHERS               = 8.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Oct 2011 19:07:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-input-help/m-p/8282937#M1633984</guid>
      <dc:creator>former_member209703</dc:creator>
      <dc:date>2011-10-22T19:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: related to input help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-input-help/m-p/8282938#M1633985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi jose,&lt;/P&gt;&lt;P&gt;ur solution works....thanks a lot.&lt;/P&gt;&lt;P&gt;can u tell me how to do same for personnel subarea.&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;after entering company code, respective personnel area input help is displayed.after this step,on choosing P Area, respective subarea is displayed. hw to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 07:17:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-input-help/m-p/8282938#M1633985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-28T07:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: related to input help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-input-help/m-p/8282939#M1633986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi charudevrani &lt;/P&gt;&lt;P&gt;Actually it should be working by now, if you define the parameters as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS: p_bukrs TYPE pa0001-bukrs,
            p_werks TYPE pa0001-werks,
            p_btrtl TYPE pa0001-btrtl.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Personal subarea values will be filtered automatically after you have entered Company Code and Pers. Area.  there's no need to do anything in this case since it is using the standard search help H_T001P defined in table PA0001 to filter the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: If your question is solved pleas mark it as solved problem.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 09:11:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-input-help/m-p/8282939#M1633986</guid>
      <dc:creator>former_member209703</dc:creator>
      <dc:date>2011-10-28T09:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: related to input help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-input-help/m-p/8282940#M1633987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;INPUT HELP FOR PERSONNEL AREA IS BEEN DISPLAYED.BUT WHEN I SELECT A VALUE FROM THE LIST , THE SELECTED VALUE DOESNT GET DISPLAYED ON I/O FIELD.FIELD GOES BLANK.WHAT SHOULD I DO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 10:21:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-input-help/m-p/8282940#M1633987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-28T10:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: related to input help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-input-help/m-p/8282941#M1633988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you testing with the exact code sample? I'm testing it and i don't have that issue you're talking about.&lt;/P&gt;&lt;P&gt;If you have done something different paste the code over here, so we can help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 10:29:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-input-help/m-p/8282941#M1633988</guid>
      <dc:creator>former_member209703</dc:creator>
      <dc:date>2011-10-28T10:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: related to input help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-input-help/m-p/8282942#M1633989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;thanks.my problem is solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 03:15:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-input-help/m-p/8282942#M1633989</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-01T03:15:56Z</dc:date>
    </item>
  </channel>
</rss>

