Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CL_GUI_ALV_TREE

Former Member
0 Likes
629

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.

2 REPLIES 2
Read only

Former Member
0 Likes
532

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

Read only

Former Member
0 Likes
532

Thank you Sunil.

There error message was raised because there is no data to be displayed in the ALV Tree.