Skip to Content
author's profile photo Former Member
Former Member

CL_GUI_ALV_TREE

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 30, 2006 at 05: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 30, 2006 at 06:10 PM

    Thank you Sunil.

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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.