<?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: Message type E in PAI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-e-in-pai/m-p/3473384#M834891</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if you've since solved this, but the approach I usually take is to set a flag in the PAI that indicates there was an exception and issues an "S" type message, and allow the PAI to flow back to the PBO and position the cursor on the "bad" data field... the user can't see what happens other than the cursor moves to the erroneous data and the message is displayed at the bottom of the screen (don;t forget to clear the exception flag in the PBO once used though).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 May 2008 09:04:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-19T09:04:51Z</dc:date>
    <item>
      <title>Message type E in PAI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-e-in-pai/m-p/3473380#M834887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guru.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I set an error message in PAI ( not in chain - enchain or in loop - endloop ), &lt;/P&gt;&lt;P&gt;it is not possible work on dynpro because the fields are protected ( in other words they are not input fields ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I solve it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Angela&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 15:51:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-e-in-pai/m-p/3473380#M834887</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T15:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Message type E in PAI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-e-in-pai/m-p/3473381#M834888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angela,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is you requirement to make fields as changable, if that is the case you can try with FIeld XXXX Module XXX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran I&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 16:12:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-e-in-pai/m-p/3473381#M834888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T16:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Message type E in PAI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-e-in-pai/m-p/3473382#M834889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry your ideas don't work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Angela&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 17:16:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-e-in-pai/m-p/3473382#M834889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T17:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Message type E in PAI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-e-in-pai/m-p/3473383#M834890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;here´s one possible solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAI&lt;/P&gt;&lt;P&gt;FIELD yourfield MODULE check_yourfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MODULE check_yourfield.

IF NOT yourfield IS INITIAL.
  PERFORM do_your_checks_here.
ELSE.
  LOOP AT SCREEN.
    CASE SCREEN-NAME.
     WHEN 'yourfield'.
      screen-input = '1'.
      MODIFY SCREEN.
    ENDCASE.
  ENDLOOP.
  SET CURSOR FIELD yourfield.
  MESSAGE E001(yourmessageclass).
ENDIF.

ENDMODULE.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 20:07:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-e-in-pai/m-p/3473383#M834890</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2008-02-26T20:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Message type E in PAI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-e-in-pai/m-p/3473384#M834891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if you've since solved this, but the approach I usually take is to set a flag in the PAI that indicates there was an exception and issues an "S" type message, and allow the PAI to flow back to the PBO and position the cursor on the "bad" data field... the user can't see what happens other than the cursor moves to the erroneous data and the message is displayed at the bottom of the screen (don;t forget to clear the exception flag in the PBO once used though).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 09:04:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-e-in-pai/m-p/3473384#M834891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T09:04:51Z</dc:date>
    </item>
  </channel>
</rss>

