cancel
Showing results for 
Search instead for 
Did you mean: 

Reg : Two Drop Down's on Adobe Form

Former Member
0 Kudos

Hi ,

I have a form on which I placed two Dropdown fields and I bounded them to the same internal table.

The internal table has 10 records with a blank record as the first record.

When I execute the form u2026 first dropdown shows blank record as the first record being selected and

Second dropdown shows next record being selected .

but my requirement is ..both the dropdownu2019s should display blank record as selected

Any idea???

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member189058
Active Contributor
0 Kudos

How have you bound the data of the dropdowns?

Former Member
0 Kudos

hi,

bindind data to 2 dropdown's is perfectly correct.

I able to see the values also in both the drop down's.

but my question here is:

frist drop down shows first value in the interanl table as the defaut value displayed in the first dropdown.

second drop down shows second value in the interanl table as the defaut value displayed in the second dropdown.

and suppose if we have third dropdown..

third drop down shows third value in the interanl table as the defaut value displayed in the third dropdown.

I want all the dropdown's to show first record as the default record to be displayed.

any idea is greatly appreciated.

try yourself by placing 3 dropdown's on the form and bind all the 3 dropdowns to the same internal table field.

regards

Arjun

chintan_virani
Active Contributor
0 Kudos

Arjun,

You may try out the following code in form:ready event in JavaScript of the main SubForm and see if it helps:-

DropDownList1.selectedIndex = 0;
DropDownList2.selectedIndex = 0;
DropDownList3.selectedIndex = 0;

Chintan

Former Member
0 Kudos

HI CHINTAN,

THX FOR YOUR ANSER.

the solution which you gave is not working.

Can you plz try by placing 3 dropdown's onthe form and binding them to the same internal table field.

and check it out.

regards

Arjun

chintan_virani
Active Contributor
0 Kudos

Arjun,

I have not worked on ABAP as such but another thing to try is , use the Enumerated Drop Down (no select) control for all 3 drop-downs.

This won't give the default value but should mostly show blank value for all 3.

Chintan

Former Member
0 Kudos

Hi Arjun,

Please use the Enumerated DropdownList (No Select) from the library and it will resolve the issue.

Regards,

Arafat

Former Member
0 Kudos

hi,

I already tried with Enumerated DropdownList (No Select) from the library .

but it did not work.

Can you plz try from your side if possible,