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

Problem in CL_GUI_ALV_TREE

Former Member
0 Likes
637

Hello all,

I am working on the class CL_GUI_ALV_TREE.

From my selection screen i am displaying an ALV and when i click on the sales order i am displaying a screen which has the CL_GUI_ALV_TREE control in it.

When i press the BACK button i reach again to my intermediate screen betwwen the Selection screen and the ALV Tree screen.

Now if the user clicks on some other sales order i am getting the previous sales order details on the ALV Tree.

I tried using the method DELETE_ALL_NODES to delete the previos tree but then the problem was that when i again click on some other sales order i am getting a blank ALV TREE Scree.

Regards,

Arun

Hello all,

I am working on the class CL_GUI_ALV_TREE.

From my selection screen i am displaying an ALV and when i click on the sales order i am displaying a screen which has the CL_GUI_ALV_TREE control in it.

When i press the BACK button i reach again to my intermediate screen betwwen the Selection screen and the ALV Tree screen.

Now if the user clicks on some other sales order i am getting the previous sales order details on the ALV Tree.

I tried using the method DELETE_ALL_NODES to delete the previos tree but then the problem was that when i again click on some other sales order i am getting a blank ALV TREE Scree.

Regards,

Arun

4 REPLIES 4
Read only

Former Member
0 Likes
599

Hi,

Check in debug after double click is your code reading the new selected sales order details.

Read only

Former Member
0 Likes
599

Hi,

Flush your tree and refresh it before displaying it again .

Regards,

Raghavendra

Read only

Former Member
0 Likes
599

Hi,

Refresh the fieldcatlog before adding the values to it. To display the correct data in the ALV.

Hope this may help you,

Thanks,

Jayasree.

Read only

Former Member
0 Likes
599

Thx