cancel
Showing results for 
Search instead for 
Did you mean: 

Reset &page& and &SAPSCRIPT-FORMPAGES&

Former Member
0 Kudos

HI,

I need to reset &SAPSCRIPT-FORMPAGES& and &page& varaible after certain break in an itab.

Shall be grateful, if you could let me know.

Regards,

Harsha

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Found the soltuion myself.

Former Member
0 Kudos

hi,

why dont you declare a variable on your own and depending upon the condition increment it or clear it.

Former Member
0 Kudos

HI,

I managed to fix that problem though it could popup again, if I cannt fix the current problem.

By putting open and close functions at new and at end. Now, i can see the page numbers properly,

but, sapscript is printing one extra invoice with only header and footer information without any

main data. i.e my invoice has 2 copies one with the main data and other without main, i would

like to eliminate the unwanted header and footer data.

Please help me.

Regards,

Harsha