04-21-2007 4:59 PM
Hi,
In a the top of my module pool i am defining
DATA wa_users TYPE usr02.
and in a module of my PBO of my screen, I am using
SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW.
SELECT-OPTIONS : so_user FOR wa_users-bname.
SELECTION-SCREEN END OF SCREEN 500.
to select a set of users.
Is there a way to store the so_user after this code in global variable and if so, how would I define this variable. What TYPE or what LIKE would i need to use?
Many thanks,
Jo.
04-21-2007 5:05 PM
04-21-2007 5:05 PM
04-21-2007 5:10 PM
The user, who uses the application, can save it as a variant, true.
But how can you store so_user programmatically?
04-21-2007 5:18 PM
hei....
I have not worked on this.....trying some ideas here....if they are blunt plz dont mind.....
varients are stored in tables VARI,TVARV.........How about using those tables to fetch those variants.......
04-21-2007 6:22 PM
Hello Jo
I have not yet used the function module <b>RS_REFRESH_FROM_SELECTOPTIONS</b> for module pools but I do not see why it should not work. This function modules reads the entire selection criteria and returns them in a table of type <b>RSPARAMS</b>.
Regards
Uwe
04-22-2007 5:00 AM
hi,
The only way to store it is by storing it as a variant....it works...just check it out...n let me know ...
with regards,
madhuri.