Application Development 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: 

show select-options for certain key fields for any table

Former Member
0 Kudos

hi,

i have to write a program, that works like transaction sm30.

therefore i need select-options for all key fieds of any table.

(a screen where you can choose the key fields might also be necessary).

has anybody some samplecoding to do this?

i have found some code in a block some time ago, but i can't find it again ;-(

thanks in advance

1 ACCEPTED SOLUTION

Former Member
0 Kudos

To get all fields of table to be displayed on the selection screen use the function module "RS _ TABLE_LIST_CREATE ".

Regards,

Kiran

3 REPLIES 3

Former Member
0 Kudos

hi

if u want to know the table name and the key fields for any field

press F1 ON THE FIELD

help window wil be opened

go to technical settings on that window. it will a Technical SETTING tab ar a button having tool on it

table name and the field name will be dispalyed for that particular field.

u can use these for select options.

regards

ravish

<b>plz dont forget to reward points if helpful</b>

Message was edited by:

ravish goyal

Former Member
0 Kudos

To get all fields of table to be displayed on the selection screen use the function module "RS _ TABLE_LIST_CREATE ".

Regards,

Kiran

Former Member
0 Kudos

RS _ TABLE_LIST_CREATE works, but i don't want to show tha data with this alv grid (i need a editable alv grid), i just need the content of the select options for the key fields