cancel
Showing results for 
Search instead for 
Did you mean: 

Print out with range of pages

sanjeeb_sahoo
Participant
0 Kudos

Hi Experts,

I am facing problem when taking printout of salary register with smartform. The client requirment is to print a rang of page. For example if total of 10 Pages, then the printout shoud be 1 to 5 page of 3 to page like this.

Thanks,

Sanjeeb

Accepted Solutions (1)

Accepted Solutions (1)

former_member777515
Participant
0 Kudos

Try using the parameter OUTPUT_OPTIONS-TDPAGESLCT in Form Interface. The calling program would need know to what pages to print (statically or dynamically) prior to calling the your smartform.

Edited by: bloodcool on Dec 6, 2011 4:47 AM

sanjeeb_sahoo
Participant
0 Kudos

Hi bloodcool ,

OUTPUT_OPTIONS-TDPAGESLCT in Form Interface where and how to use. Please send me the details.

Thanks,

Sanjeeb

Answers (2)

Answers (2)

sanjeeb_sahoo
Participant
0 Kudos

Thanks to all

madhu_vadlamani
Active Contributor
0 Kudos

Hi Sanjeeb,

Did you try with system fields .

&SFSY-PAGE& for the current page number

&SFSY-FORMPAGES& for the total number of pages in the form

&SFSY-JOBPAGE& for the total number fo pages in all forms in the print job

Regards,

Madhu.

sanjeeb_sahoo
Participant
0 Kudos

Hi Madhu,

My required is to give print in print dialog a range of pages. Like if there are total of 20 Pages, Then the requirment is only from Page 1 to Page 10, or from Page 5 to Page 15 like this.

Thanks,

Sanjeeb.

madhu_vadlamani
Active Contributor
0 Kudos

Hi Sanjeeb,

Please check in this way.

p_output_options TYPE ssfcompop

P_OUTPUT_OPTIONS-TDDEST = 'SAPPRODPRINT'.

P_OUTPUT_OPTIONS-TDIMMED = 'X'

In this structure TDPAGESLCT pass a values from your program manually.Declare all these in driver program and pass.

Regards,

Madhu.