cancel
Showing results for 
Search instead for 
Did you mean: 

Automatically adding elements to dropdown

Former Member
0 Kudos

Hi to all SAP Masters,

I am new to Adobe interactive forms development.I have created a form but now i am facing a problem which has stopped my form development . I have tried and tested every method but i am kinda stuck here.

The problem is that i am not able to automatically add the 80 text elements to my drop down list .

If i do manual entry of dropdown then it becomes difficult for me , as i have large number of dropdowns in this form .

Please help me.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Just copy the data and paste it to XML Source code.

For Example:

<text>Drop-down List</text>

</value>

</caption>

<items save="1">

<text>ABCD</text>

</items>

</field>

If you are having more value, Open ur excel sheet just type <text> in "A" Column and </text> in "C" Column. In "B" column copy ur data and paste it in ur xml source code

EFGH

IJKL

MNOP

QRST

UVWX

YZAB

Edited by: Chanshini on Mar 11, 2011 12:26 PM

Former Member
0 Kudos

thanks for the reply ..but where i should add this code as i have no idea of xml coding ,so could you please explain me in detail so that i can solve my problem.

Thanks & Regards

Ravi

Former Member
0 Kudos

Hi Ravi,

Go to SFp tcode.

open your form in layout mode

select the dropdown you want to add items to

now click on xmlsource tab (it would automatically highlight your drowdown element tags) if it could not just search your dropdown by name in this xml source tab.

if you obbserve you will see list of items for your dropdown there.

so similar to that have your required elements in the same tags and add it her.

once you nevigate back to the designer view, if you look into the dropdown elements you will see them added here.

Hope this helps,

Cheers,

Sai.

Former Member
0 Kudos

Hi,

Goto SFP tranaction

Create or Display the form.

Go to the Layout tab.

View-> XML Source ( You can add ur code in the source).

Answers (1)

Answers (1)

Former Member
0 Kudos

my query solved thanks to all of you for your valuable help.