cancel
Showing results for 
Search instead for 
Did you mean: 

Drop down values in Adobe print form, WDA.

Former Member
0 Kudos

Hi All,

I would like to know, how we can dynamically display drop down values in an interactive form developed either through report programme or WD ABAP.

I passed an internal table, but it didnt work.

I tried the ISR way, even then i couldnt get much success.

I even tried using the dynamic properties.

As per my understanding, i need to pass the values as index- text pairs and add some script to the field.

Kindly help on the steps i need to follow. Any suggestions are welcomee [:)]. I require to fetch the DDL values from database tables.

Kind Regards,

- anto.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

DDLs are defined by adding Key and Label fieldnames to one of the characteristics in the ISR scenario. The indexed table is then build by assigning values to the the Key and Label in SCENARIO_SET_ADDITIONAL_VALUES. Use one of the two ISR DDL fields from the "ISR CONTROL" tab of the library when adding the list to the form.

Former Member
0 Kudos

Hi Lori,

Thanks for your response. I am looking not on ISR forms but for Adobe Interactive forms generated through Report programmes and also WebDynpro ABAP.

I would like to know, how i could achieve the dynamic values in a drop down through an internal table in ABAP.

I am looking more on the scripting involved.

Thanks and Regards,

Anto.

amolgupta
Active Contributor
0 Kudos

hi,

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

1). manually or

2). by code

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

Answers (0)