Q
Problem solve Get help with specific problems with your technologies, process and projects.

How to assign a subscreen in the controls framework

I am just starting to work with the SAP controls framework to build screens. Is there a way to assign a subscreen to a container?

I am just starting to work with the controls framework to build screens. Is there a way to assign a subscreen to a container? For example, to present a tree view and node details such that the space allocated to each piece is flexible, I would use a splitter. The tree control can be assigned to the one side but on the other side, I need to display details like on a standard dynpro possibly using a tabstrip. I don't really see any methods that look like they would do this. I found an SAP transaction that looks like what I want to produce but it uses a class that is flagged as for "internal use only" CL_GUI_DYNPRO_COMPANION.
Yes it can be done -- consider SE80 as a good example, browsing a class. The sequence is to define a docking container, then the splitter, then the container for the tree control, then the tree control. The dynpro is defined as a subscreen, so in the PBO of your main screen, you'll need a flow logic command. Call subscreen mysub including repid subscreen_number.
This was last published in February 2005

Dig Deeper on SAP ABAP

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchHRSoftware

Close