I have a report and i need to display the variant selected by the user on the output. Now I am using the system field SY_SLSET to display the value.
When I execute the report from selection screen by choosing the variant and run it with run in background mode from selection screen , it does not display the correct value . It displays something like &000000222.
Is there any way I can come to know user has selected which variant. Please let me know.
Report shows correct value in SY-SLSET when run in foreground or scheduled through SM36.
Problem comes only when it is run from selection screen with run in background mode.
An early response is highly appreciated.