<?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: Problem with updating variable in pai in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-updating-variable-in-pai/m-p/835411#M43813</link>
    <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;pis296&lt;/SPAN&gt; Maybe you didn't fully understand my answer: the "field transport" means the transfer of values of screen fields to the global variables of the program and vice versa. If you trigger an error message then the global variables are not transferred to the screen. This is how dynpros work. You have DYNP_VALUES_UPDATE to do the "field transport" manually. Another solution is to trigger a status message and display it like an error (MESSAGE ... TYPE 'S' DISPLAY LIKE 'E') so that the fields keep being transported.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jan 2019 17:35:24 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2019-01-22T17:35:24Z</dc:date>
    <item>
      <title>Problem with updating variable in pai</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-updating-variable-in-pai/m-p/835408#M43810</link>
      <description>&lt;P&gt;&lt;A href="https://answers.sap.com/storage/temp/268250-2.png"&gt;2.png&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;Dear Experts,&lt;/P&gt;
  &lt;P&gt;I would like to define a screen with 3 fields as in the attachment, and i.e if the material was not found, all 3 fields should be cleaned. I have tried to clean the 3 fields in PAI, when the material not be found, but in PBO they are not empty and still have the values like before cleaning.&lt;/P&gt;
  &lt;P&gt;Does anyone know why and how could i solve this?&lt;/P&gt;
  &lt;P&gt;Thanks and regards &lt;/P&gt;
  &lt;P&gt;Ton &lt;/P&gt;</description>
      <pubDate>Sat, 19 Jan 2019 22:12:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-updating-variable-in-pai/m-p/835408#M43810</guid>
      <dc:creator>former_member595421</dc:creator>
      <dc:date>2019-01-19T22:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with updating variable in pai</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-updating-variable-in-pai/m-p/835409#M43811</link>
      <description>&lt;P&gt;You say "if the material was not found" so I guess you trigger an error message (MESSAGE ... TYPE 'E')&lt;/P&gt;&lt;P&gt;There is no implicit "field transport" in case of error message, but you may trigger it explicitly for some fields using the function module DYNP_VALUES_UPDATE.&lt;/P&gt;&lt;P&gt;But maybe in matter of User eXperience, the field should not be cleared in case of error, to let the user see the error and correct himself?&lt;/P&gt;</description>
      <pubDate>Sun, 20 Jan 2019 11:01:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-updating-variable-in-pai/m-p/835409#M43811</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-01-20T11:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with updating variable in pai</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-updating-variable-in-pai/m-p/835410#M43812</link>
      <description>&lt;P&gt;Thank you Sandra Rossi for you answer. You are right, the field should not be cleared. But i find out, when we clear the variables in PAI, they stay with the same values like before clearing in PBO. I think in dialog processing, the behaviour of variable is little bit same with the behaviour of message but i'm not sure about it. I'm newbie in ABAP Development &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt; Is this right or what is your opinion? Please tell me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ton&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 17:09:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-updating-variable-in-pai/m-p/835410#M43812</guid>
      <dc:creator>former_member595421</dc:creator>
      <dc:date>2019-01-22T17:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with updating variable in pai</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-updating-variable-in-pai/m-p/835411#M43813</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;pis296&lt;/SPAN&gt; Maybe you didn't fully understand my answer: the "field transport" means the transfer of values of screen fields to the global variables of the program and vice versa. If you trigger an error message then the global variables are not transferred to the screen. This is how dynpros work. You have DYNP_VALUES_UPDATE to do the "field transport" manually. Another solution is to trigger a status message and display it like an error (MESSAGE ... TYPE 'S' DISPLAY LIKE 'E') so that the fields keep being transported.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 17:35:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-updating-variable-in-pai/m-p/835411#M43813</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-01-22T17:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with updating variable in pai</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-updating-variable-in-pai/m-p/835412#M43814</link>
      <description>&lt;P&gt;Oh sorry if i did not fully understand you :). I think what you actually mean is the database LUW? So when i correctly understand, it is the same with this topic here &lt;A href="https://help.sap.com/doc/abapdocu_751_index_htm/7.51/en-US/abenabap_message_dialog.htm"&gt;https://help.sap.com/doc/abapdocu_751_index_htm/7.51/en-US/abenabap_message_dialog.htm&lt;/A&gt; right?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ton&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 18:52:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-updating-variable-in-pai/m-p/835412#M43814</guid>
      <dc:creator>former_member595421</dc:creator>
      <dc:date>2019-01-22T18:52:09Z</dc:date>
    </item>
  </channel>
</rss>

