Skip to Content
0
Former Member
Apr 12, 2010 at 09:07 AM

Module Pool Error handling

171 Views

Hi friends,

This issue regarding Module Pool Error Handling

How to handle the multiple error on the same screen ,

For example in the below code you could see "Carrid is Invalid" when carrid is entred wrongly

"in the same way i also need " Connid is invalid" When the customer entres the wrong Connid

*Select single * from sflight into e_sflight*

where carrid = e_sflight-carrid AND

connid = e_sflight-connid AND

fldate = e_sflight-fldate.

IF NOT sy-subrc IS INITIAL.

MESSAGE ID 'ZADT' TYPE 'E'

NUMBER '002' WITH 'Carrid is invalid'.

Kindly let me know your feedback\

Thank you

Sandy