cancel
Showing results for 
Search instead for 
Did you mean: 

Print Total in the last page of Script

Former Member
0 Kudos

Hi All,

I have copied the standard script F110_FR_CHEQUE. I want to print the total in CARRYFWD window only in the last page of the form.

I tried using IF &PAGE& EQ &SAPSCRIPT-FORMPAGES&, IF &NEXTPAGE& EQ 0, but this does not work.

Please let me know how can this be done.

Thanks for you help.

Radhika

Accepted Solutions (0)

Answers (2)

Answers (2)

aidan_black
Active Contributor
0 Kudos

Hi Radhika,

Sorry, I misread your first post. I thought this was a smartform. The window type Final Window is only for smartforms. Is it possible to just place the total in the MAIN window at the end so it should be only on the last page? In the print program you could call this text element after the others have been processed.

Regards,

Aidan

Former Member
0 Kudos

Hi Aidan,

Thanks for your reply.

But the print program is a standard SAP program, changing it is not possible.

Anyways i solved the problem.

Thanks & Regards,

Radhika

Former Member
0 Kudos

Hi Radhika ,

Could you go through this thread and provide a reply?

Thanks

aidan_black
Active Contributor
0 Kudos

Hi Radhika,

The value of &SAPSCRIPT-FORMPAGES&,cannot be known until the processing is complete. Can you try making window CARRYFWD a Window type 'Final Window'? After this does the condition IF &PAGE& EQ &SAPSCRIPT-FORMPAGES& work?

Regards,

Aidan

Former Member
0 Kudos

Hi Aidan,

I copied ZF110_FR_CHEQUE from the standard script F110_FR_CHEQUE. It does not allow me to change the window types of any of the windows.

Regards,

Radhika