Skip to Content
author's profile photo
Former Member

Dynamic Population of DropDownByKey/Index

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • author's profile photo
    Former Member
    Jul 22, 2004 at 04:14 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 04, 2004 at 06:54 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Aug 05, 2004 at 12:08 AM

    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

    Add comment
    10|10000 characters needed characters exceeded