Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ALV output to spool

Former Member
0 Kudos

hi,

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.

regards

7 REPLIES 7

Former Member
0 Kudos

Hi Moorthy,

Can you show us your program code?

Regards,

Sudeesh Soni

0 Kudos

REPORT  ytest.

INCLUDE yest_top.

AT SELECTION-SCREEN OUTPUT.

  PERFORM selectionscreen_modify.

  PERFORM validate_selscreen .

START-OF-SELECTION.

PERFORM fetch_data.

    PERFORM build_dyntable.

Inside the build_dyntable perform i am calling alv_list_display to dislay output.

when i debug the code after executing report from seleciton screen in background execution immediately after AT SLECTION SCREEN OUTPUT i get the popup.

let me know incase anything to be done to suppress the popup.

thanks

Former Member
0 Kudos

Hi Moorthy,

Can you show the AT SELECTION-SCREEN OUTPUT,perform code logic?


Regards,

Sudeesh Soni

0 Kudos

Hi Sudeesh,

Submit RSNAST00 as a background job.


Please refer the thread for the sample code.


Hope it will be helpful.


Regards,

Kannan

0 Kudos

Hi Kanna,

Please mark ur reply to thread owner

Regards,

Sudeesh Soni

0 Kudos

Hi Sudeesh,

Oh !! sorry   Thanks for informing.

Regards,

Kannan

0 Kudos

Hi Moorthy,

Submit RSNAST00 as a background job.


Please refer the thread for the sample code.

RSNAST00 using SUBMIT syntax without Pop Ups?


Hope it will be helpful.


Regards,

Kannan