Select all Hotline users from USR02
How do I select all the hotline users from USR02 in an abap?
I have made following code, but the result is not gooe :
data: begin of g_usr02_tab occurs 0.
include structure USR02.
data: end of g_ursr02_tab.
ranges: r_hotline for usr02-bname.
r_hotline-sign = 'I'.
r_hotline-option = 'CO'.
r_hotline-low = 'HOTLINE*'.
append r_hotline.
Select * from usr02 into corresponding fields of table g_usr02_tab where bname in r_hotline.
Thats it.
Thanks a lot.
Merry Christmas !!