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

Regarding refreshing tree

surya_ramireddy
Participant
0 Likes
474

Hi Experts.

There are two screens namely 100 and 200.. Screen 100 contains selections and based on selections i am displaying screen 200 with tree structure.. Now its displaying exact results.

When i come back from screen 200 and changed the selection paramters in screen 100. If i go to screen 200, its still displaying the same screen with the old values.

Can you tell me how can i go farward ?

Regards,

surya.

1 ACCEPTED SOLUTION
Read only

uwe_schieferstein
Active Contributor
0 Likes
443

Hello Surya

It is always the same problem:

How can you expect a reasonable answer if your question is missing any kind of details???

Searching classes with CL*TREE you will find on ERP 6.0 more than 300 different one.

Assuming that you are using CL_GUI_ALV_TREE the required method calls would be:


(1) DELETE_ALL_NODES
(2) Build the new tree using methods like ADD_NODE
(3) Update the display using UPDATE_CALCULATIONS

CL_GUI_SIMPLE_TREE:


(1) DELETE_ALL_NODES
(2) Build the new tree using methods like ADD_NODES

...

Regards

Uwe

3 REPLIES 3
Read only

huseyindereli
Active Contributor
0 Likes
443

Hi ,

While returning screen 100 use FREE method of alv tree instance and also you can try FREE : gi_tree.

Read only

uwe_schieferstein
Active Contributor
0 Likes
444

Hello Surya

It is always the same problem:

How can you expect a reasonable answer if your question is missing any kind of details???

Searching classes with CL*TREE you will find on ERP 6.0 more than 300 different one.

Assuming that you are using CL_GUI_ALV_TREE the required method calls would be:


(1) DELETE_ALL_NODES
(2) Build the new tree using methods like ADD_NODE
(3) Update the display using UPDATE_CALCULATIONS

CL_GUI_SIMPLE_TREE:


(1) DELETE_ALL_NODES
(2) Build the new tree using methods like ADD_NODES

...

Regards

Uwe

Read only

0 Likes
443

Thanx uwe.

I solved it and even ur answer helpful.