Skip to Content
author's profile photo Former Member
Former Member

Creating dynamic view elements in WDA

Hi

I wish to add various elements to a tabstrip at runtime. The elements on tab one are created at design time to show the structure to other developers but since the same structure will be repeated on a further 11 tabs, I wanted to create the remaining elements dynamically.

However, whenever I try to attach any element to another element and not to the ROOTUIELEMENTCONTAINER, I get a runtime error.

Can I only create a pointer to the ROOTUIELEMENTCONTAINER and attach directly to this?

Any help greatly appreciated

Cheers

Ian

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 24, 2006 at 10:03 AM

    Read the Weblogs by Thomas Szuecs about using the UI element API.

    See /people/thomas.szcs/blog/2006/01/03/dynamic-programming-in-web-dynpro-abap--part-ii-handling-viewelements

    Armin

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.