‎2007 Dec 27 12:41 PM
Hi All,
i have problem in alv for background processing.
In that spool generate Data statistics that not required..
i want in spool Data statistics should not be generate..
like it generate,
No of Records Passed & Calculated totals etc.
it will be not required. so how to stop that.
or any programming required for the same.
I m generating pdf from spool & send mail.
but due to that Data Statistics that show on the first page of pdf and main information will be start from second page.
that is not required......
what to do for that?.......
point will be assured for the correct answer..
thanks in advanced.....
regards,
arpit
Edited by: Arpit Shah on Dec 27, 2007 6:55 PM
‎2007 Dec 27 3:11 PM
To avoid the statics, You need to pass the LS_PRINT parameter to the ALV FM.
Like:
DATA: l_PRINT TYPE SLIS_PRINT_ALV.
l_print-no_print_listinfos = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = l_repid
IS_LAYOUT = l_layout
is_print = l_print
it_sort = it_sort
it_fieldcat = t_fieldcat[]
TABLES
t_outtab = it_bkpf
EXCEPTIONS
program_error = 1
OTHERS = 2.
Regards,
Naimesh Patel
‎2007 Dec 27 3:11 PM
To avoid the statics, You need to pass the LS_PRINT parameter to the ALV FM.
Like:
DATA: l_PRINT TYPE SLIS_PRINT_ALV.
l_print-no_print_listinfos = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = l_repid
IS_LAYOUT = l_layout
is_print = l_print
it_sort = it_sort
it_fieldcat = t_fieldcat[]
TABLES
t_outtab = it_bkpf
EXCEPTIONS
program_error = 1
OTHERS = 2.
Regards,
Naimesh Patel
‎2007 Dec 28 4:49 AM
hi, naimesh...
thanks for your replay.........
its working fine...
total 10 points to u.
if u hv any material regarding abap and dialog programing as well as any new materials,
pls give to me or provide some kind of tips from where i learn new things.
i am new to abap.
my email-id is anshah1985@gmail.com
regards,
arpit.
‎2008 Mar 20 7:57 PM
Hi Naimesh Patel,
Thanks for answering this problem. You are a life-saver and a job-saver (my job). (smile) Thanks.
Dodie Plata
‎2012 Nov 26 6:23 AM