2007 Mar 25 10:10 AM
Hi everyone,
Is there a way to create UI elements dinamically in the PBO ?
Thanks.
Regards.
2007 Mar 26 7:31 AM
Hi David,
I found certain links which might be answering your question. I couldn't find any documents which supports creation of screen elements dynamically. But using the container control of the screen painter, it is possible to display dynamically created controls of the screen into the container area using the HTML. This is called Dynamic documents.
Dynamic documents allow you to create an area on a screen containing various graphical elements. You create them in your program using ABAP statements ( so it is possible to make decisions on what to display dynamically ), from which the system generates the required HTML code. The finished HTML document is then displayed at runtime.
Dynamic documents are displayed using SAP container control.
A dynamic document can contain the following:
Text
Links
Pushbuttons
Input fields
Dropdown list boxes
Icons
Pictures
Tables
For further information refer the following link:
http://help.sap.com/saphelp_webas620/helpdata/en/f5/edd938d8dbe93de10000000a11405a/frameset.htm
Hope i have done my best which might be of some use to you.
regards,
Naveenan.
2007 Mar 26 6:20 AM
hi david,
can you specify what you want to create?
we can place all elements on the screen at 1st and can display or hide as and when required. or we can also create sub screens which can be hidden or visible based on condition. I think this will help you.
Darshan
**Pl. motivate by rewarding points.
2007 Mar 26 7:31 AM
Hi David,
I found certain links which might be answering your question. I couldn't find any documents which supports creation of screen elements dynamically. But using the container control of the screen painter, it is possible to display dynamically created controls of the screen into the container area using the HTML. This is called Dynamic documents.
Dynamic documents allow you to create an area on a screen containing various graphical elements. You create them in your program using ABAP statements ( so it is possible to make decisions on what to display dynamically ), from which the system generates the required HTML code. The finished HTML document is then displayed at runtime.
Dynamic documents are displayed using SAP container control.
A dynamic document can contain the following:
Text
Links
Pushbuttons
Input fields
Dropdown list boxes
Icons
Pictures
Tables
For further information refer the following link:
http://help.sap.com/saphelp_webas620/helpdata/en/f5/edd938d8dbe93de10000000a11405a/frameset.htm
Hope i have done my best which might be of some use to you.
regards,
Naveenan.
2007 Mar 26 7:50 AM