Application Development and Automation 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: 
Read only

2 dialogs in parallel

RadimB
Product and Topic Expert
Product and Topic Expert
0 Likes
897

Hello colleagues,

one customer requires to display 2 dialogs or screen in paralell. Both has to be controllable. It means in both would be a scroll bar, which has to react on customer actions.

Would it be possible? I cannot find so called modalless dialogs. I assume this is not possible. Do you have any idea?

Thank you for help.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
853

Hi

I don't understand if you mean two separate modes or only a screen separated in two parts.

If you means last option you can create a screen with a container and devide it in two part, in every part you can load a screen.

Max

6 REPLIES 6
Read only

Former Member
0 Likes
854

Hi

I don't understand if you mean two separate modes or only a screen separated in two parts.

If you means last option you can create a screen with a container and devide it in two part, in every part you can load a screen.

Max

Read only

RadimB
Product and Topic Expert
Product and Topic Expert
0 Likes
853

Hello,

what I originally mean 2 separate modes each in separate window. I already thought about the option with the container and splitter. But I would prefer if the first option with 2 separate screens. Is it possible?

Radim

Read only

0 Likes
853

Hi

I don't think, you can run a new process (so a new program) in a new tusk, but not the same program.

Max

Read only

Former Member
0 Likes
853

I think it is possible using splitter control:

Have a look at the sample program: DEMO_ABAP_OBJECTS_SPLIT_SCREEN

Regards,

Ravi

Read only

Former Member
0 Likes
853

Hi Radim,

I know for sure that you can't have 2 dialogues at once. The reason for this is that amodal dialogues are not supported (yet!). You can only use modal ones. Modal means that while the popup is being displayed, the calling program is frozen, you can notice this with the screen painter in se80. For instance if you have the screen layout window open, you cannot click on the flow logic screen anymore until you close the window.

So I guess it's 'bad luck' until future releases.

Have you tried using 2 docking containers (on on each side) or one docking container and one modal pop-up? That may do what you want.

Cheers,

Phil.

Read only

Former Member
0 Likes
853

Hi Radim, Phillip here again.

I have been looking around recently in the SAP Container doco, and it has talks about SAP Dialog Box Container - which is <b>amodal!</b>.

The only problem is there is only one event you can respond to the close. But you can give this amodal dialog box to be a parent to any other control (say, an ALV grid, or a Dynamic Document).

Then, you can set up the event handlers in your program to respond to events from the control in the amodal dialog box. You can make as many amodal dialog boxes as you want.

Hope this helps,

Phil.