Application Development and Automation 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: 
Read only

spool settings or programming

arpit_shah
Contributor
0 Likes
582

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

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
548

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

4 REPLIES 4
Read only

naimesh_patel
Active Contributor
0 Likes
549

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

Read only

0 Likes
548

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.

Read only

0 Likes
548

Hi Naimesh Patel,

Thanks for answering this problem. You are a life-saver and a job-saver (my job). (smile) Thanks.

Dodie Plata

Read only

Former Member
0 Likes
548

Thanks