11-09-2011 2:51 PM
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
11-09-2011 5:54 PM
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'