ALV in background - Doe'sn't show all columns!!
I have a ALV report and I want to execute the report in background. I'm using the FM REUSE_ALV_GRID_DISPLAY, it executes with success but the spool cut a lot of columns of my report. When I execute online, I don't have any problems.
Do you any idea of what is happening? Is there any parameter I have to set in FM?
I already set in transaction SPAD ->System Spool -> tab Others -> the first checkbox. Is there anything else?
Thanks in advance!!!
Naimesh Patel replied
You need to set proper page format when you run in background in the print parameters of the ALV FM.
Pass the LA_PRINT to the IS_PRINT in the Function module
DATA: LA_PRINT TYPE SLIS_PRINT_ALV. * set your page format which can bring your all columns LA_PRINT-PRINT_CTRL-PRI_PARAMS-PAART = 'X_65_255'.