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

Smartform printing problem - only on second page

Former Member
0 Likes
884

Hello experts,

I have a problem which seems te be easy, but I cannot figure it out.

I've some text to print, but only on the last page in case there are multiple pages.

Now, it prints on every page.

How can I solve this? I played around with SFSY-FORMPAGES, but that does not work.

Thanks a lot

Dimitri

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
857

Hi

U should place that text in the MAIN (as last element of it)

Max

Hello experts,

I have a problem which seems te be easy, but I cannot figure it out.

I've some text to print, but only on the last page in case there are multiple pages.

Now, it prints on every page.

How can I solve this? I played around with SFSY-FORMPAGES, but that does not work.

Thanks a lot

Dimitri

6 REPLIES 6
Read only

Former Member
0 Likes
858

Hi

U should place that text in the MAIN (as last element of it)

Max

Read only

0 Likes
857

Hi Max,

I will try that now, but what about conditions?

Do I need that?

Thanks

Dimitri

Read only

0 Likes
857

Hi

U need any condition, if this text is placed as last element of the MAIN window it'll be print at the end so it'll be always printed in the last page.

Now the problem can be if you don't want to print this text if only one page has to be printed, in this case u can check the condition in order to exclude it from the first page.

Max

Read only

0 Likes
857

Hi Max,

Thanks a lot! This solved the my problem.

In case of only 1 page, the text must be printed also.

So, that's not a problem.

Thanks again!

Dimitri

Read only

Former Member
0 Likes
857

Hi,

You can also set Additional Event on a WIndow. Did you try that?

Have a look for Conditions tab for a window.

Succes,

Rob

Read only

0 Likes
857

Hi Rob,

I did try that, but that's not what I need.

No, I've put it in the MAIN window and it seems to work.

But I try to understand why.

Kind regards

Dimitri