‎2009 May 27 8:58 PM
Debbuging SAP code over the years, I often witnessed a situation where exceptions were cascading automatically between successive nested function calls. I try to reproduce the same without success
If I do not declare the exception at the call, I end up with a short dump(classic), if I do declare it, then I get the requested subrc but it does not casade back to the calling function.
How the hell SAP manages this
‎2009 May 28 2:56 AM
I don't exactly understand the situation, but if in the calling program, you put something like:
CALL FUNCTION abc
EXPORTING
IMPORTING
TABLES
EXCEPTIONS
error_message = 1.
Any A,E errors in the called FM will be handled/cascaded to the calling program.
For more information, check out the online documentation (t-code ABAPDOCU) for 'CALL FUNCTION'
Thanks & regards,
Hadiman