Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Exending SAME ALV tree control to different screens

Hi Experts,

I have to extend same ALV tree control to other different screens:

For exmaple:

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.

Please suggest.




Hi Sathish,

You are passing the Data to the Screen 100,200,..... by using ALV_GRID OO 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.


Kanagaraja .L

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question