cancel
Showing results for 
Search instead for 
Did you mean: 

Populating a dropdown list by selecting a value from Enumerated dropdown.

Former Member
0 Kudos

Hello Experts ,

I want to populate my dropdown list depending on the value selected in the enumerated dropdown list

I tried writting code(calling BADI) in the exit event of enumerated dropdown list but this event gets triggered before selecting the value.

Please help me with this.

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

i042339
Product and Topic Expert
Product and Topic Expert
0 Kudos

Please try this in the pre-open event of the dependent dropdown. This will solve the problem.

On exit of the first dropdown, please write the code to clear the

values in dependent dropdown.

Any problem please reply me.

Regards

Satya

Former Member
0 Kudos

Thanks Satya ,

I tried writting the code in PreOpen event,

but this event gets triggered everytime time in click on the dropdown and doesnt allow me to select any value.

i042339
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

I understood your problem. The problem is happeing because everytime you are calling BADI, the form is getting initialised again. So it is little tricky.

You can set one hidden Text field to 1 for the first time you are calling the BADI.

Then next time depending on this value do not call the BADI again.

Hope you will get my idea. In the mean time if i get any alternate solution i will let you know.

Former Member
0 Kudos

Hi,

Yes you understood my problem right.

But I am not getting how exactly the new set of dropdown values are going to get fetched if the badi wont be called for the new selected value from enumerated dropdown.

Thank you Satya , for your efforts.

i042339
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Thomas,

Can you please send the form and a small one pager document in the below ID

p_satya123@yahoo.com. I will analyse how i can give you an easier solution.

Will you use your form always online or offline scenario is also possible?

Regards

Satya

Former Member
0 Kudos

Hi Satya ,

i have send you my requirements on the given mail id.

Couldnt send it yesterday , was a bit busy.

Please have a look.

Thanks in advance.