<?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: Input field not populating values in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-not-populating-values/m-p/4423550#M1050550</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u send your code i try in my system with my code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Sep 2008 07:03:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-16T07:03:07Z</dc:date>
    <item>
      <title>Input field not populating values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-not-populating-values/m-p/4423545#M1050545</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 an issue.&lt;/P&gt;&lt;P&gt;There are 2 input fields in the selection screen. Both are Z fields and F4 help has been written for those 2 fields using F4IF_INT_TABLE_VALUE_REQUEST function module in AT SELECTION-SCREEN ON VALUE-REQUEST event. The 2nd input field displays values in the popup window based on the value available in 1st input field while pressing F4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question, if I'm not pressing F4 key and type the correct value manually in the 1st input field, and then I press the F4 help for the 2nd input field, it doesn't display any value in the popup window. &lt;/P&gt;&lt;P&gt;That is, the 2nd input field doesn't select any value into the popup window if I've not pressed F4 key in the 1st input field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could any one please help me to solve this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2008 06:21:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-not-populating-values/m-p/4423545#M1050545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-16T06:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Input field not populating values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-not-populating-values/m-p/4423546#M1050546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi use dynpro_values_read function module to get value of first field and to get f4 help for the second field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at last use dynpro_values_update to update respective fields..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to see codings .please send it . i try my best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;kani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2008 06:35:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-not-populating-values/m-p/4423546#M1050546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-16T06:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Input field not populating values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-not-populating-values/m-p/4423547#M1050547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kani&lt;/P&gt;&lt;P&gt;This is not screen programming. Normal report.&lt;/P&gt;&lt;P&gt;I've used Selection Screen only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2008 06:40:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-not-populating-values/m-p/4423547#M1050547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-16T06:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Input field not populating values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-not-populating-values/m-p/4423548#M1050548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the below code ........&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;*&amp;amp;--------------------------------------------------------------------*
*&amp;amp;      Form  F1000_QUARTER_HELP
*&amp;amp;--------------------------------------------------------------------*
*       F4 help for Quarter field
*       Use FM GET_DYNP_VALUE to fetch the value against the fields
*       Quarter and year based on which modify the value Table and
*       provide it as F4 help to the user
*---------------------------------------------------------------------*
FORM f1000_quarter_help .

  DATA: w_quarter TYPE dfies-fieldname   VALUE 'QUARTER'.

* Get year change value
  CALL FUNCTION 'GET_DYNP_VALUE'
    EXPORTING
      i_field =  'P_YEAR'
      i_repid = sy-repid
      i_dynnr = sy-dynnr
    CHANGING
      o_value = p_year.


  e_quarter-begda(4) = p_year.
  e_quarter-endda(4) = p_year.

  MODIFY       t_quarter
    FROM       e_quarter
  TRANSPORTING begda(4)
               endda(4)
         WHERE begda(4) NE p_year.

  SORT t_quarter
    by quarter.

  READ TABLE t_quarter INTO e_quarter WITH KEY quarter = c_q4
                                      BINARY SEARCH.
  IF sy-subrc EQ 0.
    e_quarter-begda(4) = p_year + 1.
    e_quarter-endda(4) = p_year + 1.
    MODIFY t_quarter FROM e_quarter INDEX sy-tabix.
  ENDIF.


* Function module to get F4 help
  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
      retfield        = w_quarter
      dynpprog        = sy-repid
      dynpnr          = sy-dynnr
      dynprofield     = 'P_QUART'
      value_org       = 'S'
    TABLES
      value_tab       = t_quarter[]
    EXCEPTIONS
      parameter_error = 1
      no_values_found = 2
      OTHERS          = 3.

  IF sy-subrc NE 0.
*  Do nothing
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers ,&lt;/P&gt;&lt;P&gt;Jacks M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2008 06:50:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-not-populating-values/m-p/4423548#M1050548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-16T06:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Input field not populating values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-not-populating-values/m-p/4423549#M1050549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Jacks,&lt;/P&gt;&lt;P&gt;The FM GET_DYNP_VALUE  has solved my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;Senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2008 07:02:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-not-populating-values/m-p/4423549#M1050549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-16T07:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Input field not populating values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-not-populating-values/m-p/4423550#M1050550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u send your code i try in my system with my code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2008 07:03:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-not-populating-values/m-p/4423550#M1050550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-16T07:03:07Z</dc:date>
    </item>
  </channel>
</rss>

