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.
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
I think it is possible using splitter control:
Have a look at the sample program: DEMO_ABAP_OBJECTS_SPLIT_SCREEN
Regards,
Ravi
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.
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.
Add a comment