Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Accessing BAPI through Tree UI Element


I have one Tree Structure where i have to populate one BAPI and display the data on the browser .I have created two tree node elements and finished the binding .The tree is getting diaplayed in the browser.

But i am facing difficulty in populating data from the BAPI into the tree .

I tried to search in web dynpro tutorials regarding this but the exmples for tree are not much useful .

They are populating manually created data and not the data from BAPI .

Can anybody suggest me how to do this.If anybody can suggest some other tutorials for this then it will be very much useful for me .


Former Member
Former Member replied


take a look at this:

here you will find links to create recursive as well as non-recursive tree.

Though the example is of value node, you can extend that to be done from BAPI node. Simply replace the loop of value node by loop which iterate through the BAPI model class' output node.


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question