cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Population of DropDownByKey/Index

Former Member
0 Kudos
188

Hi,

I'm using Adaptive RFC model to get data from SAP and I've to create DropDownByKey/Index dynamically and populate it with the data. I've Model node with attributes in the Controller context bound to the DataModel and also model nodes/attributes in the view context bound to controller context. But the data doesnt seem to be populated.

The return from the RFC is just one internal table. Where exactly (in the code or otherwise) do i need to populate this dynamically created drop down unit?

Any links/code would be greatly appreciated.

Thanks,

Rajit.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Ranjit

I didnt try out any example to check if that is the actual behaviour of the drop down .Just a suggestion ..in the rfc could you just check if you have refreshed the internal table before populating it

regards

Pran

lorenwoo
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Rajit,

I have been creating DropDownByKey elements with dynamic values by following Example A under "Code Example of Key Binding" in the IDE help. I just use a loop on the internal table to populate the value set that's bound to the context node attribute with the desired key/value pairs.

Hope this helps.

Best regards,

Loren

Message was edited by: Loren Woo

Former Member
0 Kudos

Hi,

I had issues when trying to use the Dropdown with key, in a table column.

Why dont you try to use a EVS Extended value selector in its place.

Regards,

Balaji