Exending SAME ALV tree control to different screens
I have to extend same ALV tree control to other different screens:
I have screen 100 in that I have splitter control on Left ( say TREE_LEFT) which has ALV tree (ref to CL_GUI_ALV_TREE).
The same Tree I want to show it in Screen 200 with the same reference(TREE_LEFT) ..I do not want to create another rererence to for the same tree control, as I have to show the same tree display in screen 200 also.
You are passing the Data to the Screen 100,200,..... by using ALV_GRID OO concept.so the screen is not a constant one.
It is possible to pass the Data (Based on the ALV_TREE user selection) and Modify the Screen dynamically by designing the Fieldcat.
So use only one screen may it 100 or 200 and then Pass data based on the user selection from the Tree control.
For Example Go to TCODE WE02 Execute it will appear one ALV Tree, Based on the Idocs in the Left side tree then screen will display the dynamic Data.