<?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 PBO issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pbo-issue/m-p/6813498#M1469299</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The issue is, I am validating some data based on standard transaction SAVE button, in case of in-valid, i'm displaying the error message. Now after the error message the screen got locked, even if I press 'enter' or any user action..screen got locked. In my validation i have written the logic for sy-ucomm = 'SAVE'. But the issue is, after displaying the error message, in the next user action..sy-ucomm would not changed, i think becuase of PBO is not getting called. When i hit enter second time, then it works fine. Is there any way to check in the validation that PBO is called or not, so I can skip the error message in case when sy-ucomm = save and screen has not completed the PBO cycle.&lt;/P&gt;&lt;P&gt;(I am also trying to write the code at some other appropriate place, but could not find the place and it's a standard SAP code)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Mar 2010 17:13:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-30T17:13:36Z</dc:date>
    <item>
      <title>PBO issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pbo-issue/m-p/6813498#M1469299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The issue is, I am validating some data based on standard transaction SAVE button, in case of in-valid, i'm displaying the error message. Now after the error message the screen got locked, even if I press 'enter' or any user action..screen got locked. In my validation i have written the logic for sy-ucomm = 'SAVE'. But the issue is, after displaying the error message, in the next user action..sy-ucomm would not changed, i think becuase of PBO is not getting called. When i hit enter second time, then it works fine. Is there any way to check in the validation that PBO is called or not, so I can skip the error message in case when sy-ucomm = save and screen has not completed the PBO cycle.&lt;/P&gt;&lt;P&gt;(I am also trying to write the code at some other appropriate place, but could not find the place and it's a standard SAP code)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 17:13:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pbo-issue/m-p/6813498#M1469299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T17:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: PBO issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pbo-issue/m-p/6813499#M1469300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do your validation in the PAI, not the PBO; otherwise, you'll end up saving the data and &lt;U&gt;then&lt;/U&gt; trying to issue an error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 17:25:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pbo-issue/m-p/6813499#M1469300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T17:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: PBO issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pbo-issue/m-p/6813500#M1469301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My code is in PAI module. But when error message is displayed, then after the first user action, SY-UCOMM would not changed and hence my logic is not working properly. As i said earlier, after the 2nd user acation e.g if I hit 'ENTER' two times, then its' fine. So in the 2nd 'enter', sy-ucomm is getting changed. Any suggestion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 17:55:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pbo-issue/m-p/6813500#M1469301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T17:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: PBO issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pbo-issue/m-p/6813501#M1469302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What you can do is Display your message in the format below and then exit.This will not lock your screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE 'No Records Found' TYPE 'S' DISPLAY LIKE 'E'.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 18:26:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pbo-issue/m-p/6813501#M1469302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T18:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: PBO issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pbo-issue/m-p/6813502#M1469303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved at my own. Added another attribute in the condition which is sy-dynnr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 19:28:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pbo-issue/m-p/6813502#M1469303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T19:28:54Z</dc:date>
    </item>
  </channel>
</rss>

