2006 Aug 30 5:40 PM
I got ABAP dump at RAISE NODE_NODE_FOUND. See the code. May I know how to trace the RAISE in method.
CALL METHOD ME->ENSURE_NODES_VISIBLE
EXPORTING IT_NODE_KEYS = LT_NODE_KEY
EXCEPTIONS NODE_NOT_FOUND = 1.
IF SY-SUBRC = 1.
RAISE NODE_NOT_FOUND.
ENDIF.
I got ABAP dump at RAISE NODE_NODE_FOUND. See the code. May I know how to trace the RAISE in method.
CALL METHOD ME->ENSURE_NODES_VISIBLE
EXPORTING IT_NODE_KEYS = LT_NODE_KEY
EXCEPTIONS NODE_NOT_FOUND = 1.
IF SY-SUBRC = 1.
RAISE NODE_NOT_FOUND.
ENDIF.
2006 Aug 30 6:38 PM
Did you declare the same exception in your function module, if you havent then it will dump for sure. If your purpose is to send a message back to user try the following
DATA : l_err_string TYPE string.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
INTO l_err_string.
hith
Sunil Achyut
2006 Aug 30 7:10 PM
Thank you Sunil.
There error message was raised because there is no data to be displayed in the ALV Tree.