cancel
Showing results for 
Search instead for 
Did you mean: 

Dropdowns in a table....urgent

Former Member
0 Kudos

Hi,

I have a table with 5 columns and all the columns are dropdowns which are populated through a BAPI.

My context structure is:

MainNode(0..n)

-


OutputNode(0...1)

-


SubNode1(0...n singleton:false)

-


Attr1

-


SubNode2(0...n)

-


Attr2

-


SubNode3(0...n)

-


Attr3

-


SubNode4(0...n)

-


Attr4

-


SubNode5(0...n)

-


Attr5

I am binding my table's datasource to MainNode and each of the column is bound to Attr1, Attr2, Attr3, Attr4, Attr5.

When I run my application, I can only display one row in the table. But I want to use the table as a dataentry tool so that the user could enter as many rows as they want. How should I display as many rows as I want with the dropdowns?

Could anyone suggest about this.

Thanks

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Thank u for ur quick response.

I did the same and it worked now

Former Member
0 Kudos

hi laxmi,

since the table column type you are using is dropdown and binding it to a attribute of node with cardinality 0-n you will get only one record.

Take a value node and populate all the values from model to this value node and display it in a table. Let the table column be an input field instead of dropdown.

Then user will have the chance to edit the values.

This solution i am giving based on my understanding of your problem.

Regards,

Gopi

Former Member
0 Kudos

Could u give me exact steps to follow...

Former Member
0 Kudos

Hi:

it seems that using drop down by keys would be an easier approach