cancel
Showing results for 
Search instead for 
Did you mean: 

Conditional page printing

Former Member
0 Kudos

HI Guys ,

In my Smart form i want to print second page conditionally based on certain conditions . Ie if customer language is in French then print second page of the form in Frnch and if it is in english then dont print second page at all .

How can i achive it .

Accepted Solutions (0)

Answers (1)

Answers (1)

amit_khare
Active Contributor
0 Kudos

in the OUTPUT CONDITION tab of the page give

SY-LANGU = <french>.

Regards,

Amit

Reward all helpful replies.

Former Member
0 Kudos

HI thanks for the reply.

but what i could see is output condition is available at the windows level not at the page node.

Please clarify more.

varma_narayana
Active Contributor
0 Kudos

Hi..

You can acheve Conditional next page using these steps.

For Eg : you have 2 pages in Smartform named P1,P2.

For Page P1, in the General Attributes assign the Next page as P1.

Create a Node type <b>Alternative</b> under the MAIN window (end of MAIN window)

Enter the Condition SY-LANGU = 'FR' . "Whatever u want

Alternative node provides TRUE and FALSE sections.

Under TRUE Create a Node type COMMAND.

Enter the Page P2 for Page Break.

<b>Reward if Helpful</b>