Skip to Content
author's profile photo Former Member
Former Member

Prefill drop-down element with Web Service data

Hi

I would like to prefill a drop-down element with the values that I got from a Web Service, e.g. Countries.

Is this possible???

If yes, what must be the return value of this WebService call??

e.g. List, Resultset??

Regards,

Go:khan

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 26, 2007 at 08:40 AM

    Hi Goekhan,

    I think this should be possible. I did it with a ABAP RFC. The return value was in my RFC a table. I'm sorry that I have no experience with webservices in this case. If a List or resultset does not work you can use two returnvalues a key (integer) and a text (string) in two arrays.

    Maybe Mario knows more about this case.

    Best Regards,

    Marcel

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Marcel

      Thanks for you contribution.

      Using a key/value pair sounds like a sound idea. I will give it a try.

      Has s.o. of you experiences in calling Web Services for prefilling a drop-down UI element??

      Regards,

      Go:khan

  • author's profile photo Former Member
    Former Member
    Posted on Jan 26, 2007 at 10:38 AM

    Hi,

    I think it depends on your VC version.

    I'm using NW2004s SP9 and I couldn't make it work. I tried using a dynamic integration of a WS and also added additional entries. The result was only a display of the manual added entries. The WS didn't deliver any result. Maybe this is solved in SP 10 now, or I forgot something. If somebody had success with the inclusion, I'm very interested, too.

    Tobias

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 31, 2007 at 07:14 AM

    Hi Goekhan,

    In the CSN note 995481 it is said that, Patch 2 for SP9 has been released and it has the fix for dropdown and webservices. You will have to install patch 2 for VC and patch 5 for portal to get the complete fix. But even after applying these patch files, <b>drop-down's dynamic entry list with web service</b> remains a bug.. I did not get this resolved yet.

    Kavitha.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.