cancel
Showing results for 
Search instead for 
Did you mean: 

Build Tree UI with Bapi/Rfc

Former Member
0 Kudos

Can I build Tree UI dinamically with data from bapi/Rfc?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Does your Model node from RFC contains recursive nodes?

Here is a link to a good BLOG on Tree UI element.

[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1787] [original link is broken] [original link is broken] [original link is broken];

Regards

Raghu

Former Member
0 Kudos

hi!

to build yor tree first Define a RFC model, then fill the structure reading data from backend then context will be used to to bind a Tree to it (recursive vs. non-recursive), add a Tree and suitable TreeNodeType elements to a view then bind the properties.

check this link also

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0ec6622-8da5-2a10-349b-868b6a55...

thanks

vishal

Former Member
0 Kudos

But once filled the structure with bapi/Rfc,

can I "loop" it to build the tree with my logic program?

Many thank, I'm new in develop web dynpro applications for EP!!!

Former Member
0 Kudos

Hi ,

yes you can create loops around your node . you can iterate through your node

eg.

for (int i = 0; i < wdContext.nodeOrgStr().size(); i++)

{

//code

}

Former Member
0 Kudos

Ok I try it.....

Many thanks....