cancel
Showing results for 
Search instead for 
Did you mean: 

Drop Down box in VC dashboard

Former Member
0 Kudos

Hi All,

We need to achieve the below functionality for the drop down box in VC dashboard. Can you please help us to achieve that?

There is a drop down and a table dependant on that drop down.

We want to have a field as u201CALL COUNTRIESu201D included in the existing list of the drop down values. So the drop down should have values,

u201CALL COUNTRIESu201D, u201CUSu201D,u201DARu201D,u201DGEu201D,u201DUKu201Du2026u2026.etc

Whenever user selects u201CALL COUNTRIESu201D the table below that should display data for all the values.

Thanks & Regards,

Pallavi

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Pallavi,

You can make it by following the below steps.

1) Create a drop down list in a for and add the entry list as you like.

2) Now create one bapi which will get the inputs from the drop down and return the country list as output.(ABAP programmer can do this).

3) Pass the input to the bapi and display the output in a table.

Is this match your exact requirements? or kindly explain you problem.

Regards

Basheer

Former Member
0 Kudos

Thanks for the inputs!

My requirement is to create a Drop down list wherein we can have all the values for the field like US, AR , UK etc and along with that we have a another value called "ALL". When the user selects " ALL" it will display the values for all the countries.

Thankyou!

Former Member
0 Kudos

Try this:

1. The bapi should receive "country" parameter and return data relevant for passed country; if passed country is null or zero (or some other key you declare) it will return all data.

2. Another bapi should return list of countries.

3. Create the dynamic dropdown with "list of countries" bapi and add value "all countries" with empty key or zero (you can do this in properties of dropdown)

4.On action of dropdown call the first bapi that returns data to the table and map passed country parameter .

You can create dropdown with static values without "list of countries" bapi but care about countries keys that should be known in the first bapi.

Ola