‎2007 Nov 18 12:26 PM
‎2007 Nov 18 12:28 PM
Hi Lavanya,
Welcome to SDN
Handling errors in BADI is not different than handling errors in normal programs, Same as how you handle errors in normal programs.
Reward if this helps,
Regards,
Satish
‎2007 Nov 18 12:31 PM
Just like FM's you can define the Exceptions for the Method and raise the errors within the Method.
Regards,
Abhishek
‎2007 Nov 18 2:11 PM
hi,
in BADI's u cannot display any error/information/warning messages from message id's.
The only way is to call the relevant POP_UP ......function modules, through which one can display the popup Meassges.
Show ur message in the POP UP function module...after which use the statement "Leave Program".
Revert back if any issues...
Regards.
Naveen
‎2007 Nov 18 2:16 PM
TO handle the errors in the BADI's you can give the messages as you needed. There isn't any limitation on that.
Regards,
Naimesh Patel
‎2007 Nov 19 2:45 AM
Hi
IN the Interface of the BADI
You can specify any exceptions in the Exceptions section.
And can handle them in the Implementation ..
Hope this Helps .
Praveen