cancel
Showing results for 
Search instead for 
Did you mean: 

sapscript last invoice duplicated

Former Member
0 Kudos

HI Guys,

The report prints on pre-formated invoice page for given ranges. Everything seems

to be fine except the last Invoice is getting printed twice, the strange thing is

the second one prints only the header and footer there is no main data in it. But

Am I making any mistake, please help.

Regards,

Harsha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Harsh,

In the driver program check WRITE_FORM OF the header element that must be called before the loop endloop inside the loop endloop just call only the WRITE_FORM of the main window text element.

Regards,

Sravanthi

Answers (2)

Answers (2)

Former Member
0 Kudos

Resolved myself

Former Member
0 Kudos

Hi,

Did u call main window in the second page.

Former Member
0 Kudos

I have only one page.

Thanks,

Former Member
0 Kudos

I need to remove the duplicate page which is getting printed at last without main data.

Regards,

Harsha

Former Member
0 Kudos

if you have one page , then remove the last page...

Former Member
0 Kudos

Hi,

Adjust ur main window size.

If there is no data to be printed ( on last page ),it should not trigger next page.