<?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 Input field event in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-event/m-p/4275790#M1020151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requriement where in I have to populate the input field on the screen based on the input in the other filed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;I have to input fields on the screen F1 and F2.&lt;/P&gt;&lt;P&gt;If the user enters "123" in F1 then 456 should be populated in F2 with out any button pressed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any event in ABAP for Input fields where in we can trigger our code based on some input from keyboard without doing/pressing any button.(Such as" if field value " or Field empty etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest how to proceed futher with this type of requriement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for all the suggestions and solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards..&lt;/P&gt;&lt;P&gt;Shakeel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 02 Aug 2008 08:12:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-02T08:12:54Z</dc:date>
    <item>
      <title>Input field event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-event/m-p/4275790#M1020151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requriement where in I have to populate the input field on the screen based on the input in the other filed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;I have to input fields on the screen F1 and F2.&lt;/P&gt;&lt;P&gt;If the user enters "123" in F1 then 456 should be populated in F2 with out any button pressed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any event in ABAP for Input fields where in we can trigger our code based on some input from keyboard without doing/pressing any button.(Such as" if field value " or Field empty etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest how to proceed futher with this type of requriement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for all the suggestions and solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards..&lt;/P&gt;&lt;P&gt;Shakeel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Aug 2008 08:12:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-event/m-p/4275790#M1020151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-02T08:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Input field event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-event/m-p/4275791#M1020152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Event:  AT SELECTION-SCREEN ON &amp;lt;FIELDNAME&amp;gt;.&lt;/P&gt;&lt;P&gt;after inut, press enter then it will be filled automatically&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT ZTEST.
data: lt_dr like dynpread occurs 0 with header line.

 parameters: f1 type char10,
             f2 type char10.

 at selection-screen on  f1.
 lt_dr-fieldname = 'F1'.
  append lt_dr.

  call function 'DYNP_VALUES_READ'
       exporting
            dyname               = sy-repid
            dynumb               = '1000'
       tables
            dynpfields           = lt_dr
       exceptions
            invalid_abapworkarea = 1
            invalid_dynprofield  = 2
            invalid_dynproname   = 3
            invalid_dynpronummer = 4
            invalid_request      = 5
            no_fielddescription  = 6
            invalid_parameter    = 7
            undefind_error       = 8
            double_conversion    = 9
            others               = 10.
  if sy-subrc eq 0.
   read table lt_dr index q.
   if lt_dr-fieldvalue = '123'.
   f2 = '123434'.
   endif.
  endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Aug 2008 08:32:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-event/m-p/4275791#M1020152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-02T08:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Input field event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-event/m-p/4275792#M1020153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;The fields are not selection screen fields, they are screen fields which I have created for Module pool program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let me know any screen field events are there for my requriement which is similar to the selection screen fields events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards..&lt;/P&gt;&lt;P&gt;Shakeel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Shakeel on Aug 2, 2008 10:58 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Aug 2008 08:58:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-event/m-p/4275792#M1020153</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-02T08:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Input field event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-event/m-p/4275793#M1020154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shakeel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Should be in PAI&lt;/STRONG&gt; ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;put a logic with like that read the screen field with codition if field1 is not initial than modify field2 else nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if F1-field1 ne initial."this if F1 screen field
F2-field2 = F1-field1.
modify F2-field2.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Aug 2008 10:17:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-event/m-p/4275793#M1020154</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-02T10:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Input field event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-event/m-p/4275794#M1020155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case , you have to go for Flow ligic Event PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In  PAI&lt;/P&gt;&lt;P&gt;Flow logic..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD F1 MODULE MODULE_NAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Module logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE MODULE_NAME ......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF F1 = '123'.&lt;/P&gt;&lt;P&gt; F2 = '456'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Aug 2008 11:02:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-event/m-p/4275794#M1020155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-02T11:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Input field event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-event/m-p/4275795#M1020156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I totally agree with you that we have to write the logic in PAI.&lt;/P&gt;&lt;P&gt;But the PAI is triggered when the user presses some key/button.&lt;/P&gt;&lt;P&gt;My requriement is without pressing the key/button event should triggered in ABAP.&lt;/P&gt;&lt;P&gt;When the user inputs some data in Field then some event has to be triggered with out any action from user except inputing the data in the field.&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;Shakeel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 05:20:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-event/m-p/4275795#M1020156</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-04T05:20:23Z</dc:date>
    </item>
  </channel>
</rss>

