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

ALV tree - change node text


on a screen I have input fields such as year and below a container holding an ALV tree.

When I change the year value, that starts a new selection from a table and should result in changing many of the lines in the tree.

I was trying to use the methods "get_outtab_line" to retrieve the tree line data and then changing this data with method "change_node".

The problem is I cannot access the correct node-key. The node-key value is kept in memory somewhere and when I refresh the alv tree at PBO, the node-key is incremented from the stored value which means I cannot use get_outtab_line properly.

Any suggestions or example programs,

Thanks a lot,


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 23, 2005 at 02:07 PM

    Hi Kevin,

    Here is one approach that might work actually,

    Use get_top_node method of ALV Tree to get the top node key every time you refresh and then add this to the node key that you have already stored before calling get_outtab_line.

    Hope this helps..


    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.