I have implemented the badi NOTIF_EVENT_SAVE.
The error is :
RAISE_EXCEPTION
Exception condition "OTHERS" raised.
Program SAPLIQS1
Include LIQS1F10
Row 306
Module type (FORM)
Module name MSG_STORE
In this the function module ISQ1_MSG_STORE returns sy-subrc = 4 which raises the Exception.
I have tried to debug the standard code as well.
In the standard code there are two tables ITAB_JEST AND ITAB_JOST which get cleared for no reason, the dump is due to these tables getting cleared.
If I remove the badi code, I dont get any dump.