Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CATCH SYSTEM-EXCEPTIONS

Former Member
0 Likes
449

Hi,

is it possible to catch an system error called by perform, which is called in function module in 4.6 C?

In function module exists a perform which i can't modify. This perform in case of an exeption just call message type e. I would like to catch this message when i call this perfrom in function module.

Thanks

J

2 REPLIES 2
Read only

Former Member
0 Likes
388

I think you can catch the exception right after the function call, the exception will not propagate to outside the perform.

Regards,

Ravi

note - Please mark all the helpful answers

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
388

You can catch it only if it is caught by the PERFORM and then raises an exception in the function module, then you can catch the expection coming back from the funciton module, otherwise, I don't think so.

Regards,

Rich Heilman