cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 display Purchase Order Header/Item

Former Member
0 Kudos

Hello,

I have a requirement to show PO header nodes that have columns from structure1(fields from EKKO) when user click expand the header, it should show their items with column from structure2(fields from EKPO).

When all rows are collapsed it is just a table with the PO header details.

I'm thinking of using treetable butmy question is that is it possible for treetable to have parent node with one  structure and child node with different structure?

If treetable is not possible for this requirement, Is there something else that I can use for this requirement?

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

karthikarjun
Active Contributor
0 Kudos

Hi Kittipon,

You can use tree table structure to show your records.

Step1:

Create one json model. Get records from different collections, make those records in a single json array.

Step2:

try this...JS Bin - Collaborative JavaScript Debugging

Thanks,

Karthik A