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: 

problem in printing pageno. in spool

Former Member
0 Kudos

hi all.

am pritin a report in spool.. there are 5 spool requests for the print.. am generating the new spool request using get_print_parameters fm ..new page on .. each spool request should start with page no.1 ..but the problem am facing is the page no's are continuing in the next spool request ..

for eg:-

1. first spool -> 1-5 page no's

2. 2nd spool -> 6-8 page no's

3. 3rd spool-> 9-14 page no's ..so on.... the page no' are contuining in the new spool request's

but the page no. should always start with 1 in every new spool request.

1. 1st spool - 1-5 page no's

2. 2nd spool - 1-3

3. 3rd spool - 1-6.... -> this is expected..

pls suggest the possible alternatives

thanks

suresh

1 REPLY 1

Former Member
0 Kudos

Hi Suresh,

Please set PRNEW as 'X' once after calling FM

CALL FUNCTION 'GET_PRINT_PARAMETERS' 
  IMPORTING out_parameters        = params 
            valid                 = valid.

params-PRNEW = 'X'