Skip to Content

SAP WebIDE - Create UI elements Dynamically

Dear All Experts,

I have created a fully customized ui5 App for Purchase Order Change/Edit using SAPWebIDE tool.

My requirement is to display Line Items data (ex : item number/material number and material text ) in a ObjectListItem UI element in View1.view.xml page based on the PO number that User inputs. But since this should be dynamic how do I achieve.

below is an illustration of the progam

View1.view.xml (Full coding is attached herewith)

a) UI elements to enter PO number and UI elemtns for header items of the PO (Static)

b) Line Items ( UI element - ObjectListItem ) (Dynamic)


Function getPODetails() {

In this section I have done coding(oData) to fetch details of PO from the PO number that User inputs and assigned some values created in " a) " above.


need to create ObjectListItem UI elements according to Line Items of the PO dynamically " b) above"


please help

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Dec 12, 2014 at 02:00 PM

    Any updates on this plzzz..

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 12, 2014 at 06:17 PM

    Hello Tharaka,

    Looking at the view, did you happen to use Web IDE to drag-and-drop an ObjectListItem into the layout editor? Try starting with a List control.

    The SAP Web IDE Layout Editor How-To Guide includes a section on creating a List with data binding.

    Rather than directly creating a list, you may want to utilize Web IDE's tools and functionality. For example, you can create a Project from the SAPUI5 Master Detail template and select a Data Connection. In the Template Customization, you can select an OData collection and bind properties in the Detail Section. SAP Web IDE - Create Applications includes detailed How-To Guides on actually doing so.

    Hope this helps,


    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.