07-15-2018 12:13 AM
When function modules are created via ADT, exceptions by default uses exception classes instead of standard exceptions.
Is there a way to create / modify (in Eclipse) function modules created in ADT to use standard exceptions, instead of exception classes?
07-16-2018 7:16 AM
Hi Benson,
yes this is possible as well. In ADT you enter the signature of your function module directly in the source code editor.
So it's up to you if you choose EXCEPTIONS or RAISING clause to decide which exception mechanism you want to use.
Regards,
Thomas.
07-16-2018 7:16 AM
Hi Benson,
yes this is possible as well. In ADT you enter the signature of your function module directly in the source code editor.
So it's up to you if you choose EXCEPTIONS or RAISING clause to decide which exception mechanism you want to use.
Regards,
Thomas.
07-18-2018 12:01 AM
Hi Thomas,
Thanks for your inputs. I have tried it, and it is exactly what I was looking for!
One question though, it seems that if I update the flag via SE37, the changes do not get reflected in ADT.
Or, if I mark it as "raising" in ADT (then activate and unlock the FM), and uncheck the flag via SE37 (then reactivate the object), the flag remains right after the FM is reactivated.
Is this normal behavior on 740 SP16?
Regards,
Benson