04-27-2009 10:52 PM
Hi,
I have a requirement to code in an user exit EXIT_SAPLV56S_001. In this user exit, i will need to find out if the program running in background is RV56TRGN, then get it's global data G_TVTK-SHTYP and do the rest of processing.
How do I get the data value of G-TVTK-SHTYP in RV56TRGN in the user exit?
Thanks
04-29-2009 12:44 PM
Hi,
Can you just check in debug if the variable is accessible by typing in as follows:-
(RV56TRGN)variable name.
Incase it is then extract the value using field-symbols as follows:-
ASSIGN (y_k_prgname1) TO <fs> where Y_K_PRGNAME1 = (RV56TRGN)variable name
Regards,
Ankur
04-29-2009 12:44 PM
Hi,
Can you just check in debug if the variable is accessible by typing in as follows:-
(RV56TRGN)variable name.
Incase it is then extract the value using field-symbols as follows:-
ASSIGN (y_k_prgname1) TO <fs> where Y_K_PRGNAME1 = (RV56TRGN)variable name
Regards,
Ankur
04-29-2009 1:18 PM
Yo can check SY-BATCH = 'X', then the program is running in background