10-03-2008 4:46 PM
Hi,
Do you know if it's possible to raise excptions in a Function Module called in Update Task mode ?
Thanks
10-03-2008 5:09 PM
Hi,
You cannot catch exceptions for the function modules that are called in update task.
Generally you will be raising an abort message inside the Update function module..
Ex..
IF sy-subrc <> 0.
MESSAGE a208(00) with 'Update failed' RAISING update_failed.
ENDIF.
In case if the function module is not called in update task...Then the above raise an exception which can be caught in the calling place..
Thanks
Naren
10-03-2008 5:09 PM
Hi,
You cannot catch exceptions for the function modules that are called in update task.
Generally you will be raising an abort message inside the Update function module..
Ex..
IF sy-subrc <> 0.
MESSAGE a208(00) with 'Update failed' RAISING update_failed.
ENDIF.
In case if the function module is not called in update task...Then the above raise an exception which can be caught in the calling place..
Thanks
Naren
10-03-2008 7:10 PM
I'm not entirely sure, but I think the user will get express mail informing him or her of the failure and there will either be a dump (ST22) or an error message in the system log (SM21).
SM13 and SM14 will also give information.
Rob
Edited by: Rob Burbank on Oct 3, 2008 2:11 PM