06-29-2011 1:53 PM
I want to print the variant selected on the selection screen as a report header in the report painter.....Kindly help....The variant selected prior to generating the report painter output must be displayed on the final output screen as the header on the screen...
06-29-2011 2:04 PM
Hi,
If you mean variant name, parameter sy-slset contain selected variant name. If you mean all parameters maintained in selection screen, As far as I know no automatic way to do it and you need to code it yourself.
Regards,
06-29-2011 2:04 PM
Hi
Here you've to use 'Z_HEADER_FOOTER' function module at TOP-OF-PAGE
Just pass parameters for report_name as repid
show_select_options as 'Y'
show_parameters as 'Y'
line_size as you wish
action as 'X'
Hope this fulfills your requirement
Thanks
Suren
06-29-2011 2:20 PM
my issue deals with the report painter..it is a report tool which is executed by the SAP standard code in the background...
06-29-2011 4:15 PM
Tr y FM RS_COVERPAGE_SELECTIONS
or see its Function Group: SVAR
FM: RS_VARIANT_DISPLAY_FROM_SELSCR