cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

amolgupta
Active Contributor
0 Kudos

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