Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

setting values in Drop down list in Screen Painter

Former Member
0 Likes
1,748

Hello Freinds,

I have the requirement as, I have drop down list in screen painter and want to fill the values in that list using database table.

So using foreign key table I have updated the values in the list.

But now client wants me to fill the dropdown list with ID as well as description..

Please suggest me how to achieve this.

Thanks and Regards

Nishad

5 REPLIES 5
Read only

Former Member
0 Likes
883

I have used ID as list value earlier using foreign key..

But how to add description in that..

Read only

0 Likes
883

Hi,

You the FM 'F4IF_INT_TABLE_VALUE_REQUEST' and try.

Fill the internal table with the key and description and pass the same to above FM.

You will get sample code by searching the forum.

Thanks.

Anversha

Read only

Former Member
0 Likes
883

HI,

Use the Function module VRM_SET_VALUES to fill the list box with values which you want.

Hope this will help you.

Regards,

Kiran

Read only

Former Member
0 Likes
883

Hi Nishad

As Kiran Mentioned, Use VRM_SET_VALUES FM to fill your drop down list and concatenate the description and value in 'value field of VRM_set_value fm table.

search on VRM_SET_VALUES, you will find the code.

thanks

Lalit Gupta

Read only

Former Member
0 Likes
883

Hi,

Check the following link:

http://wiki.sdn.sap.com/wiki/display/Snippets/Abap-Create+Listbox

Regards,

Bhaskar