<?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: Module Pool Error handling in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-error-handling/m-p/6759807#M1461512</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;in PAI. " Also try to close your Questions as currently 8 out of 8 are unresolved

Chain. " For More info take F1 help on this Key word
field : carrid, connid. " These are the Screen Field names
module validate on chain-request.
endchain.

in Program.
module validate.
select single carrid into carrid 
     from scarr
      where carrid = carrid.
if sy-subrc = 0.
select single connid into connid
          from sflight 
          where connid = connid,
if sy-subrc NE 0.
message 'Enter Valid Connid' type 'E'.
endif.
else.
message 'Enter Valid Carrid' type 'E'.
endif.
endmodule.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ramchander Krishnamraju on Apr 12, 2010 11:48 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Apr 2010 09:13:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-12T09:13:23Z</dc:date>
    <item>
      <title>Module Pool Error handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-error-handling/m-p/6759806#M1461511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This issue regarding Module Pool Error Handling&lt;/P&gt;&lt;P&gt;How to handle the multiple error on the same screen ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example in the below code you could see "&lt;STRONG&gt;Carrid is Invalid"  when carrid is entred wrongly&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;"in the same way i also need " &lt;STRONG&gt;Connid is invalid&lt;/STRONG&gt;" When the customer entres the wrong Connid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Select single * from sflight into e_sflight*&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;where carrid = e_sflight-carrid AND&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;connid = e_sflight-connid AND&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;fldate = e_sflight-fldate.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF NOT sy-subrc IS INITIAL.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MESSAGE ID 'ZADT' TYPE 'E'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NUMBER '002' WITH 'Carrid is invalid'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let me know your feedback\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Sandy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 09:07:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-error-handling/m-p/6759806#M1461511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-12T09:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool Error handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-error-handling/m-p/6759807#M1461512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;in PAI. " Also try to close your Questions as currently 8 out of 8 are unresolved

Chain. " For More info take F1 help on this Key word
field : carrid, connid. " These are the Screen Field names
module validate on chain-request.
endchain.

in Program.
module validate.
select single carrid into carrid 
     from scarr
      where carrid = carrid.
if sy-subrc = 0.
select single connid into connid
          from sflight 
          where connid = connid,
if sy-subrc NE 0.
message 'Enter Valid Connid' type 'E'.
endif.
else.
message 'Enter Valid Carrid' type 'E'.
endif.
endmodule.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ramchander Krishnamraju on Apr 12, 2010 11:48 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 09:13:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-error-handling/m-p/6759807#M1461512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-12T09:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool Error handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-error-handling/m-p/6759808#M1461513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This functionality is possible using OOPS ALV. If you are using a table control, you can replace it by an ALV grid. A pop up can be displayed at the end of user entry with all the errors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 09:15:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-error-handling/m-p/6759808#M1461513</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-12T09:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool Error handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-error-handling/m-p/6759809#M1461514</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;Include the fields in a FIELD statement, and enclose it in a CHAIN-ENDCHAIN block statment.&lt;/P&gt;&lt;P&gt; Eg. Screen flow logic: &lt;/P&gt;&lt;P&gt;CHAIN. &lt;/P&gt;&lt;P&gt;FIELD: SPFLI-CARRID, SPFLI-CONNID. &lt;/P&gt;&lt;P&gt;MODULE CHECK_FLIGHT. &lt;/P&gt;&lt;P&gt;ENDCHAIN. &lt;/P&gt;&lt;P&gt;When an error is found inside a chain, the screen is re-displayed, and all fields found anywhere in the chain are input-enabled.&lt;/P&gt;&lt;P&gt; All non-chain fields remain disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopes this is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 09:17:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-error-handling/m-p/6759809#M1461514</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-12T09:17:14Z</dc:date>
    </item>
  </channel>
</rss>

