Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Exceptions in FM in update task

Hi,

Do you know if it's possible to raise excptions in a Function Module called in Update Task mode ?

Thanks

Tags:
Former Member
Former Member replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question