ALV output to spool
i am having a issue when running ALV output to background. If user gives his email address i am able to send output as attachment to email.but incase he doesnt give then i have to send it to SPOOL.
I am able to send the output to spool but when i execute the report in background i get a POPUP where i have to input device and then a other dialog box which gives formatting information I.E. X_65_132' and when i click OK then spool is getting generated.
i tried ways to suppress this popup but couldnt find the way..can anyone suggest me a way to suppress this popup?
i used get_print_parameters function module but the program doesn't go till that place and immediately before executing start-of-selection i am getting this popup.