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: 

UI dynamic

david_fryda2
Participant
0 Kudos
86

Hi everyone,

Is there a way to create UI elements dinamically in the PBO ?

Thanks.

Regards.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
64

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.

3 REPLIES 3

Former Member
0 Kudos
64

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.

Former Member
0 Kudos
65

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.

0 Kudos
64

Thanks for the replies!

Regards.

David