07-03-2007 2:02 PM
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
07-03-2007 2:21 PM
To get all fields of table to be displayed on the selection screen use the function module "RS _ TABLE_LIST_CREATE ".
Regards,
Kiran
07-03-2007 2:07 PM
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
07-03-2007 2:21 PM
To get all fields of table to be displayed on the selection screen use the function module "RS _ TABLE_LIST_CREATE ".
Regards,
Kiran
07-03-2007 3:14 PM
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