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

Print data on last Page Smartforms

Former Member
0 Likes
1,202

Hi all,

In my smartform i want to print Templete on the last page how to do that.

e.g.

suppose i have 2 page data then i want Templete to be printed on 3 page.

or let i have 5 page data then i want to print on the 6 page.

****Point is assured

Hi all,

In my smartform i want to print Templete on the last page how to do that.

e.g.

suppose i have 2 page data then i want Templete to be printed on 3 page.

or let i have 5 page data then i want to print on the 6 page.

****Point is assured

7 REPLIES 7
Read only

Former Member
0 Likes
952

Hi,

while writing text in the node , In the conditions tab u check the condition

only on last page.

Let me know if u don't understood.

Assign points if useful.

Read only

0 Likes
952

YONGINDER,

I DID NOT SOLVE ,

PLEASE EXPLAIN ME

Read only

Former Member
0 Likes
952

hi jim,

in template , go to CONDITIONS tab. there u will find options with a checkbox group ONLY ON FIRSTPAGE, NOT ON FIRSTPAGE,ONLY ON PAGE etc.....

there u can check the required option.

reward points if useful.

regards,

neelima.

Read only

0 Likes
952

you can put condtions to the output of the template

u can put some logic in and them compare these values to be printed

or you can put conditions for the texts related to the template

and you can also provide some additional events

like

on first page

on page no etc.

just go through from the conditon tab of the texts and template

Read only

Former Member
0 Likes
952

HI,

IN SMART FORMS WHEN U CREATE A PEMPLATE IN A WINDOW FOR THAT TEMPLATE U WILL HAVE SO MANY TABS LIKE

OPUTPUT OPTIONS

CONDITIONS

IN THIS U HAVE SOME ADDITIONAL EVENTS SUCH AS

1. ONLY ON FIRST PAGE

2. NOT IN FIRST PAGE

3..................

4. ......................

5. ONLY ON LAST PAGE -> ENABLE THIS CHECK BOX.

ACTIVATE N CHECK.

IF HELPFUL REWARD SOME POINTS.

WITH REGARDS,

SURESH ALURI.

Read only

Former Member
0 Likes
952

hi

good

You have to check the system variable &NEXTPAGE&, if it's 0 it means you're in the last page.

From SAP Help:

This symbol is used to print the number of the following page. The output format is the same as with &PAGE& .

Note that on the last page of the output, in each window that is not of type MAIN, &NEXTPAGE& has the value 0.

/: IF &NEXTPAGE& = '0'

  • Last page

/: ENDIF

reward point if helpful.

thanks

mrutyun^

Read only

Former Member
0 Likes
952

yoginder , pint has given