cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a screen with alv tree like at se80 t-code?

shiz0frenik
Participant
640

HI,experts .
How can I create a screen with an ALV tree similar to the SE80 transaction code? I want to create a movable panel on the left side, and when I click on an item, something should be displayed on the right side, just like in the SE80 transaction. Can anyone tell me how the screen logic should work? And how many screens i need to create?"

Sandra_Rossi
Active Contributor

Comment posted as an answer.

View Entire Topic
matt
Active Contributor

No. It's not downcasting. Downcasting is casting to a subtype.

All you care about is that the object is a context node. The actual type of the context node is irrelevant for your purposes. The method wd_context->get_child_node returns an object that is a context node, so there's no need to have any other type.

It's what interfaces are used for. I suggest you read some articles about using interfaces and polymorphism in object oriented design. Some say that you should always use interfaces.