cancel
Showing results for 
Search instead for 
Did you mean: 

how to set the Value in Dropdownbyindex

Former Member
0 Kudos

Hi Experts,

I am New to Webdynpro-ABAP.

I have one Dropdownbyindex field. I need to set the value from BAPI. how to set that values in Dropdown..

I need Basic step-by-step procedure.

Regards,

P.Manivannan

Accepted Solutions (1)

Accepted Solutions (1)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Please Search the Forum before posting a query

Call the BAPI and get the values into an internal table, and follow this link

Abhi

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

1. First import the BAPI in to WD component using create->service call.

2.The BAPI import, export and Table parameters will be set in to the Component Controller context.Then drag this BAPI node to your view.

3.In the 'texts' property of DDbyindex bind the BAPI output node which will be the Table parameter of the BAPI.It could be under CHANGING node.

4.In WDDOINIT method just click the code wizard and enter the method name which you will give when importing the BAPI.Automatically the values from the BAPI will be loaded into your Dropdown when you run the application.

Regards,

Dinesh

Former Member
0 Kudos

Hi All,

Thanks for ur replies. I got a solution

Regards,

P.Manivannan