2008 Feb 19 5:15 AM
Hi Gurus,
Please provide me the ways to handle Errors in Update Function Modules.
(I.e. I should export errors from Update Function Module)
Warm Regards,
2008 Feb 19 5:19 AM
Hi!
Handle Exceptions as you do in a normal Function Module. In that way you would be able to catch errors. Try to find out what would be the exceptions that could raise in your source code. Then, catch those exceptions.
Reward Points if useful
---
Sultan
2008 Feb 19 5:19 AM
Use Raise statement ...
FUNCTION-POOL CSTR.
FUNCTION STRING_SPLIT.
...
IF STRING NA DELIMITER.
RAISE NOT_FOUND.
ENDIF.
...
ENDFUNCTION.
Regards,
Santosh