<?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: Update field value in screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-field-value-in-screen/m-p/6047986#M1351927</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, it doesn't seem to work. &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Aug 2009 08:06:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-06T08:06:07Z</dc:date>
    <item>
      <title>Update field value in screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-field-value-in-screen/m-p/6047982#M1351923</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 have a screen with some input fields in the header (e.g. input field s1) and a tree below them. Using a modal dialog box,  I add new values in the tree. My problem is that after I enter a specified value (x1) in the input from modal dialog box and I press 'Save', except adding the new node to the tree, I want to update the value from the header (s1 = s1 + x1). I tried to make update on input field, but the value still remains the old one (s1 from the beginning). Could you please give me some suggestions to solve this situation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Alexandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 07:14:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-field-value-in-screen/m-p/6047982#M1351923</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-06T07:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Update field value in screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-field-value-in-screen/m-p/6047983#M1351924</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;If you are passing a value to a screen field in &lt;STRONG&gt;PBO&lt;/STRONG&gt; and change the value in either PBO or PAI it passes the same old value which is in PBO. so &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case first_time.&lt;/P&gt;&lt;P&gt;when ' '.&lt;/P&gt;&lt;P&gt;input_value = 'AAAA'.&lt;/P&gt;&lt;P&gt;first_time = 'X'.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from second time onwards it will take the updated value only&lt;/P&gt;&lt;P&gt;and make sure your variables are declared in TOP Include&lt;/P&gt;&lt;P&gt;Hope this will serve your purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ramc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 07:25:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-field-value-in-screen/m-p/6047983#M1351924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-06T07:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Update field value in screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-field-value-in-screen/m-p/6047984#M1351925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry, but could you specify where I should insert this (in PAI or PBO)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 07:50:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-field-value-in-screen/m-p/6047984#M1351925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-06T07:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Update field value in screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-field-value-in-screen/m-p/6047985#M1351926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PBO&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 07:55:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-field-value-in-screen/m-p/6047985#M1351926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-06T07:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: Update field value in screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-field-value-in-screen/m-p/6047986#M1351927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, it doesn't seem to work. &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 08:06:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-field-value-in-screen/m-p/6047986#M1351927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-06T08:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Update field value in screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-field-value-in-screen/m-p/6047987#M1351928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finally I found a solution  that works fine for me. I use &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL METHOD cl_gui_cfw=&amp;gt;set_new_ok_code
          EXPORTING
            new_code = 'SAVE'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for ok_code with value 'Save' I recalculate values from header and then the refresh is done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help somebody in the future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all for your answers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 13:00:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-field-value-in-screen/m-p/6047987#M1351928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-06T13:00:03Z</dc:date>
    </item>
  </channel>
</rss>

