Skip to Content
avatar image
Former Member

Print data on last Page Smartforms

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Oct 10, 2007 at 07: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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 10, 2007 at 08: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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    Oct 10, 2007 at 08: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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 10, 2007 at 08: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^

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 23, 2008 at 06:39 AM

    yoginder , pint has given

    Add comment
    10|10000 characters needed characters exceeded