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

Drop down list in ADOBE Forms - WDP for ABAP...urgent

Hi Gurus,

Can you please explain me how to display values in the dropdown list of Adobe interactive form in WDP for ABAP. Also expalin me how to accept them in the program once the user selects the value from the list. The requirement is I have to call the RFC, get the data and display in the dropdown list at the time of initialization.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 02, 2007 at 06:44 AM

    hi,

    to populate the dropdown list you can do it...

    1). manually or

    2). by code(i work in java... there must be some ABAP equivalent...)

    1). <b>manually</b> go to interactive form->edit

    go to Object tab->field tab ->

    you must see something like

    List Items :

    Text + x

    click on the green + sign...

    it promps you to type. type in the value press enter... and so on...

    2) <b>by Code...</b>

    //set up contents of a drop down list dynamically...

    IWDAttributeInfo countryInfo = wdContext.nodeTravelData().getNodeInfo().

    getAttributeInfo().getAttribute("DestinationCountry");

    ISimpleTypeModifiable countryType =

    countryInfo.getModifiableSimpleType();

    IModifiableSimpleValueSet countryValueSet =

    countryType.getSVServices().getModifiableSimpleValueSet();

    countryValueSet.put("1","Germany");

    countryValueSet.put("2","UK");

    This will work....

    regards,

    -amol gupta

    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.