<?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: Reg : Reading run time value on an input field generated (Dynamic Document) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reading-run-time-value-on-an-input-field-generated-dynamic-document/m-p/8144590#M1620719</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmmm..didnt read your post completely...it looks like we need to perform an Event like Enter or F1 to get the value...i too got struck here..i am also having problem in refreshing the display of this input element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;rama&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Sep 2011 08:49:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-22T08:49:45Z</dc:date>
    <item>
      <title>Reg : Reading run time value on an input field generated (Dynamic Document)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reading-run-time-value-on-an-input-field-generated-dynamic-document/m-p/8144583#M1620712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the cl_dd_input_element class for creating my input elements dynamically on a container , &lt;/P&gt;&lt;P&gt;  how i can i read value entered on that during runtime on click of any other button other than enter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vinutha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 04:32:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reading-run-time-value-on-an-input-field-generated-dynamic-document/m-p/8144583#M1620712</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-14T04:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Reg : Reading run time value on an input field generated (Dynamic Document)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reading-run-time-value-on-an-input-field-generated-dynamic-document/m-p/8144584#M1620713</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;Check this docu: &lt;A href="http://help.sap.com/saphelp_470/helpdata/en/b6/ab3ac003ac11d4a73f0000e83dd863/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_470/helpdata/en/b6/ab3ac003ac11d4a73f0000e83dd863/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;value&lt;/STRONG&gt;   Contains the Entered Input Value..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps u.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 05:30:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reading-run-time-value-on-an-input-field-generated-dynamic-document/m-p/8144584#M1620713</guid>
      <dc:creator>Kiran_Valluru</dc:creator>
      <dc:date>2011-09-14T05:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Reg : Reading run time value on an input field generated (Dynamic Document)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reading-run-time-value-on-an-input-field-generated-dynamic-document/m-p/8144585#M1620714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah this will have a value if i go to that u element and click on enter on it , on any other event on pai i cannot able to get the values entered, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example if i have created 5 input elements dynamically i have to press enter on all the input fields to trigger my handler &lt;/P&gt;&lt;P&gt;i want to read the entered values on the screen on trigger of PAI on the screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Vinutha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 08:09:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reading-run-time-value-on-an-input-field-generated-dynamic-document/m-p/8144585#M1620714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-14T08:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Reg : Reading run time value on an input field generated (Dynamic Document)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reading-run-time-value-on-an-input-field-generated-dynamic-document/m-p/8144586#M1620715</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 think you can manually trigger event  &lt;STRONG&gt;entered&lt;/STRONG&gt;  in your PAI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let say when u press button , in Your PAI trigger the evens &lt;STRONG&gt;entered&lt;/STRONG&gt;  of  cl_dd_input_element .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps u.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 08:57:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reading-run-time-value-on-an-input-field-generated-dynamic-document/m-p/8144586#M1620715</guid>
      <dc:creator>Kiran_Valluru</dc:creator>
      <dc:date>2011-09-14T08:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Reg : Reading run time value on an input field generated (Dynamic Document)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reading-run-time-value-on-an-input-field-generated-dynamic-document/m-p/8144587#M1620716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot set the focus on the input element as set_focus is obsolete and hence i cannot trigger an enter event at runtime and hence it is not capturing any value it is initial during runtime&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vinutha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 09:20:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reading-run-time-value-on-an-input-field-generated-dynamic-document/m-p/8144587#M1620716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-14T09:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Reg : Reading run time value on an input field generated (Dynamic Document)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reading-run-time-value-on-an-input-field-generated-dynamic-document/m-p/8144588#M1620717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm facing the exact same problem. If you find a solution, could you let me know?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 09:47:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reading-run-time-value-on-an-input-field-generated-dynamic-document/m-p/8144588#M1620717</guid>
      <dc:creator>martin_jonsson</dc:creator>
      <dc:date>2011-09-19T09:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Reg : Reading run time value on an input field generated (Dynamic Document)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reading-run-time-value-on-an-input-field-generated-dynamic-document/m-p/8144589#M1620718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the Events of the Class CL_DD_INPUT_ELEMENT you can do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  set handler obj_event_handler-&amp;gt;input_on_enter for input_element.&lt;/P&gt;&lt;P&gt;Now, define n implement this method in your class:&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;input_on_enter FOR EVENT entered OF cl_dd_input_element&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                                                       &lt;STRONG&gt;IMPORTING sender.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, sender will help you fetch the value and the name of the input element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sender-&amp;gt;Name: Name of the input element&lt;/P&gt;&lt;P&gt;Sender-&amp;gt;Value: latest value entered in the input element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;rama&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 13:45:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reading-run-time-value-on-an-input-field-generated-dynamic-document/m-p/8144589#M1620718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-21T13:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Reg : Reading run time value on an input field generated (Dynamic Document)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reading-run-time-value-on-an-input-field-generated-dynamic-document/m-p/8144590#M1620719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmmm..didnt read your post completely...it looks like we need to perform an Event like Enter or F1 to get the value...i too got struck here..i am also having problem in refreshing the display of this input element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;rama&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 08:49:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reading-run-time-value-on-an-input-field-generated-dynamic-document/m-p/8144590#M1620719</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-22T08:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Reg : Reading run time value on an input field generated (Dynamic Document)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reading-run-time-value-on-an-input-field-generated-dynamic-document/m-p/8144591#M1620720</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 me Kiran is right. The attribute Value of the class cl_dd_input_element has the value of the input field captured in all the events(irrespective of the handler event set for that input field). For example take a look at the demo program DD_ADD_FORM_INPUT, in which the values of the input fields INPUT1 and INPUT2 are captured inside all the even handler methods(you can use input1-&amp;gt;value in the debugger to see the value captured).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solved your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Srikanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 06:42:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reading-run-time-value-on-an-input-field-generated-dynamic-document/m-p/8144591#M1620720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-26T06:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Reg : Reading run time value on an input field generated (Dynamic Document)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reading-run-time-value-on-an-input-field-generated-dynamic-document/m-p/8144592#M1620721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know how to trigger PAI from the events of ALV or other classes,,,but how to trigger those events from PAI????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;rama&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 14:27:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reading-run-time-value-on-an-input-field-generated-dynamic-document/m-p/8144592#M1620721</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-27T14:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Reg : Reading run time value on an input field generated (Dynamic Document)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reading-run-time-value-on-an-input-field-generated-dynamic-document/m-p/8144593#M1620722</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;Also, If you want to be able to read new value from your control before the PAI is finished, you have to dispatch the event yourself with the method cl_gui_cfw=&amp;gt;dispatch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kr,&lt;/P&gt;&lt;P&gt;m.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;added: didn't read properly...sorry, this won't help for screen commands...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Manu D'Haeyer on Oct 4, 2011 10:58 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 20:52:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reading-run-time-value-on-an-input-field-generated-dynamic-document/m-p/8144593#M1620722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-04T20:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Reg : Reading run time value on an input field generated (Dynamic Document)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reading-run-time-value-on-an-input-field-generated-dynamic-document/m-p/8144594#M1620723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the sender of your event is in the same form_area as your input element you can loop through it's table of elements and get your wanted values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    data: curr_object  type ref to object,
          curr_element type ref to cl_dd_form_element,
          curr_iel     type ref to cl_dd_input_element,
          curr_fa      type ref to cl_dd_form_area,
          wele         type ref to cl_dd_input_element,
          wanted_v  type sdydo_value.

  try.
    curr_iel ?= sender.
    curr_fa = curr_iel-&amp;gt;formarea.
    loop at curr_fa-&amp;gt;table_of_elements into curr_object.
          curr_element ?= curr_object.
          case curr_element-&amp;gt;name.
            when 'WANTED_ELEMENT'.
               wele ?= curr_element.
               wanted_v = wele-&amp;gt;value.
          endcase.

    endloop.
  catch cx_sy_move_cast_error.
      "not the expected type
  endtry.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 08:20:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reading-run-time-value-on-an-input-field-generated-dynamic-document/m-p/8144594#M1620723</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-17T08:20:35Z</dc:date>
    </item>
  </channel>
</rss>

