10-10-2007 8:47 AM
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
10-10-2007 8:50 AM
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.
10-10-2007 11:14 AM
10-10-2007 9:01 AM
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.
10-10-2007 9:06 AM
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
10-10-2007 9:04 AM
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.
10-10-2007 9:10 AM
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^
01-23-2008 6:39 AM