Skip to Content
author's profile photo Former Member
Former Member

Smartform Last Page

I have smartform with 3 pages .

FIRST, REPEAT and LAST

FIRST page print only once.

REPEAT page print the main window so it will be printed as many time as need to finish main windows.

and the LAST page which I only want to print for specific condition.

so if that condition is false then only FIRST and REPEAT

page will print

and If that condition is true then

FIRST-> REPEAT -> REPEAT -> REPEAT.... -> LAST pages sould be printed.

How to achieve this functionality. Do I need to set the next page property of REPEAT window at run time. How to do so?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 03, 2005 at 01:45 PM

    hi,

    in the last page/ window you have conditions tab

    you just specify the conditions then if the conditions is true then only the page/ window get print

    cheers,

    sasi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 03, 2005 at 01:52 PM

    Hi

    In REPEAT you should insert a command node to go to new page LAST.

    You put your condition in the TAB condition of this node, another condition should be to run this node only after at the end of MAIN.

    Max

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 03, 2005 at 01:53 PM

    In the main window of REPEAT , put an ABAP Code at the end. Here try to process the condition and set a FLAG ( defined in SMARTFORM Global Interface ). Then create a command node to trigger next page LAST , check this

    http://help.sap.com//saphelp_470/helpdata/EN/70/e17a37dec511d3b575006094192fe3/content.htm.

    In the conditions of command node use the flag to check that this node is executed only if flag is "X".

    Cheers

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.