Application Development 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: 

Display dynpro in splitter control area

Former Member
0 Kudos

Hi everybody!

Is it possible to create a splitter control with two areas and then display an "ordinary" dynpro with buttons, input areas etc. in one of those areas?

Regards, Joerg

4 REPLIES 4

former_member183804
Active Contributor
0 Kudos

Hello Joerg,

you can only place controls into dynpro but not vice versa. This is also true for the splitter container. There are some tricks of dynpros with sub dynpros to simulate a splitter behavior, as e.g. in the 7.00 debugger. But the size of this areas is fixed and cannot be resized.

Sorry

Klaus

0 Kudos

This has been discussed before, but never was a solution presented. What you are looking for is something like SE80.

May be debuggin, SE80 would give us some idea.

Regards

Raja

Former Member
0 Kudos

Hi,

in ABAP in general only ONE dynpro can be displayed.

You can place controls on the dynpro but not the way round.

In SE80 the SAP uses a trick.

On the right hand the dynpro is being presented as subscreen.

The input on the left hand side (it is only the object name) is being realized by using HTML control (Internet Explorer).

Regards

Andreas

0 Kudos

Hi everyone!

Thanx for the replies so far. As usual with SAP programming, I think the answer to my original question is: "Can't be done. We do it like this..."

Although I had not actually thought of SE80 when I posted the question, I think that this transaction is a pretty good example of what I had in mind.

By analyzing and doing some debugging I think SAP uses a combination of several techniques to achieve the SE80 look&feel. There are different "modi" of the program, with at least one dynpro each.

But the general setup seems to be that the area on the left hand side is actually presented as a docking control. I think the area on the right is then usually is a "simple" dynpro with a container control for ABAP source etc...

However, if I try to "copy" this setup, I have two problems, which are closely related to each other:

1.) If the left hand area is resized, I would have to resize the display area on the right hand side. That would have to happen in the SIZE_CONTROL event of the docking control. However, I don't really know how to resize controls dynamically. I always paint them in dynpro painter and they have a fixed size and position, then.

2.) To start with a nice layout one would have to know the size of the screen in order to calculate the size of the left and the right hand side of the didplay. I don't know how to do that either. The same is true for the resizing event.

Any suggestions?

Regards, Joerg