cancel
Showing results for 
Search instead for 
Did you mean: 

Drop-down liast in Adobe interactive forms

former_member202077
Participant
0 Kudos

Hello,

We have 3 regions, US, Europe and Asia Pacific and each region has a manager.

Now, am developing a Interactive form with Webdynpro for ABAP (pls. note always FORM is only one) for these regions/managers. Manager pressess submit button for approval.

I have 19 drop-down (Enumerated drop-down with SELECT) fields in this form.

Regardsing the field 'DROP_DOWN_1' :

US manger should get 7 values in the drop-down list with a 'US_DROPDOWN' default, if manager donw want to keep this value, he can change/over ride and submits the form.

Europe manger should get 5 values in the drop-down list with a 'EUROPE_DROPDOWN' default, if manager donw want to keep this value, he can change/over ride and submits the form.

Asia Pcific manger should get 11 values in the drop-down list with a 'ASIA_PACIFIC_DROPDOWN' default, if manager donw want to keep this value, he can change/over ride and submits the form.

Pls. let me know

1) Is DYNAMIC drop-downs possible?

2) If so, where should i mainatin the code, is it in FORM level scrpting? webdynpro abap code?

3) If FORM level script, webdynpro has to pass these drop-down values to FORM via CONTEXT, is it right?

4) Any settings for this dynamic functionality either FORM setinsg to webdynpro settings?

Thank you,

Accepted Solutions (1)

Accepted Solutions (1)

vaibhav_tiwari
Contributor
0 Kudos

Hi,

There are two options to do that, first by web service which suits best the offline scenario and another by server round trip which is possible in online scenario only.

For web service scenario you have to create data binding in the form with web service data node, (search SDN for suitable document explaining the scenario with web service for more info). Every time the user will choose value from DD the web service will trigger to fetch data based on user input.

Second scenario uses server round trip. In this method you have to call the submit method in web dynpro view with some conditions that it is called through DD to fetch values. Use some flag variable to differentiate between the final submit and DD value help submit.

There is one more option but the performance of the form will get affected based on the data used for the DDs.

In that method you have to maintain the data for each US, Europe, Asia in a table. Based on user input fetch value from that table in the specific dropdown using script on the form.

Regards,

Vaibhav

Former Member
0 Kudos

Dynamic drop downs are possible. Dynamic drop down means based on some value entered by the user drop down

will change. Here you need to set up user event to fetch values from backend. Form level scripting will be needed to

trigger user event and then in the backend fetch dropdown values. But in your scenario manager is processing the

form so this seems to be not a dynamic drop down. Before the form is opened you can determine which manager

is processing the form and based on that populate the drop down.

Thanks,

Aravind

Answers (0)