Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sapscript footer problem

Former Member
0 Likes
892


Hi All,

       I have a requirement in which I am displaying an invoice with 4 footer windows. But if there are more line items and the no of pages are more than one then the footer should not be displayed in the first page and moreover there should not be any blank spaces for the footer windows on page one and similarly it goes until the last page. On the last page you display the 4 footers.

       Previously I had added 4 footer windows on first page and on next page. So if there are more than one page then the first page will be having blank spaces for footer windows and the only on the last page the footer with data will be displayed. But the user does not require to display the blank footer windows on each page.Please could someone help me.

Thanks in advance,

Priya

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
785

Hi Priya S,

Please refre this thread http://scn.sap.com/thread/1138737. It may solve your your issue.

Cheers,

Pravin

3 REPLIES 3
Read only

Former Member
0 Likes
786

Hi Priya S,

Please refre this thread http://scn.sap.com/thread/1138737. It may solve your your issue.

Cheers,

Pravin

Read only

Former Member
0 Likes
785

You may try this....

So you need to know early on how may lines you are going to print in sapscript. I am sure you would have got the lines internal table and predict if it fits in 1 page or multiple.  if the number of lines can be accommodated on 1 page with footer then you print the page if not then you print the page without footer ( define another page) and continue on to the next page with same logic..

Regards

Read only

0 Likes
785

Problem solved....I included the footer text in main window itself.......thanks for your support....