Hello,
here's a little teaser for user interface experts out there:
I wonder what kind of techniques ABAP offers for creating dynamic user interfaces.
When talking of 'dynamic' I imagine something like an arbitrary number of 'containers' where other programs (classes f.ex.) can draw their own user interface into.
In Java this could be realized with the container concept in swing.
I have done some research on this topic and the results are so far:
a plain dynpro: seems to have no dynamic at all -> not an option
a plain dynpro with a tabstrip: in case the number of tabs CAN be set at runtime AND the subscreens CAN be drawn from inside separate classes -> a definite option otherwise not an option
any kind of web-frontend (BSP, JSP etc.): web-frontends are not allowed by company restrictions -> not an option
dynamic documents: I could not find many information on these yet (also not on sdn). In case that an arbitrary number of parts of the dynamic document can be created from inside separate classes -> an option otherwise not an option
I will be happy about any further information on this topic.
Best regards,
Patrick Baer
I know you said that BSP wasn't an option because of comapany policy. However you can run a BSP inside the HTML control in a SAPGui transaction (this even supports single-sign on). The user hardly even knows that he/she is interacting with a web interface. You can have the Dynpro buttons (like back and exit) control the HTML container. Since Dynamic Documents are really just HTML in a HTML Control, there is very little difference. However BSP you have more provided functionality than just plain HTML.
May be you meant something else, but what about control elements (eg: cl_gui_docking_container, cl_gui_alv_grid etc)? They might fit with your requirements.
Peter
Hi Patrick,
Just a thought ...
If you want to add on or compbine a screen to your exsiting container maybe you can make your container a docking container. The Docking container can dock to the screen which the user program suppies to your main dyamic screen function...
For eg : You have a function module which performs certain functionality. It has a screen to display certain information. It allows the user to add on to the functionality provided and also show some more information in their own screen. So if your main function module displays its information in a docking container and then this container docks to the users screen you can combine the screen of the function module with the users GUI. Something similar to SE80...
Regards,
Vani
Dynamic documents help:
http://help.sap.com/saphelp_470/helpdata/en/f0/edd938d8dbe93de10000000a11405a/frameset.htm
The splitter container can be used to divide up the screen into multiple containers. As I recall, they can be nested so you can get as many as you need (up to some limit). I coded an example some time ago where I put 16 containers on the screen, but at that point they are so small that it is a major annoyance to see anything useful.
Check this post for a splitter container example:
Add a comment