Skip to Content
avatar image
Former Member

How to skip first page of the smartform .

Hi Experts,

We have requirement in smartform like first page of the form should be displayed based on a condition check , if the condition is false it should skip the page and display from the second page of the form .

Main issue is only the second page have main window and first page have two secondary windows .

In detail :

Our form first page (like a mailer page ) have two seconadry windows which have two include texts( standard texts ) ,

now we have to dispaly this page only if a condition statisfies else it should skip the first page and excute from second page of the form where the main window lies in the second page only .

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Sep 16, 2010 at 05:14 PM

    Hi,

    If you have a custom print program triggering the SMARTForm, you could maybe put your conditional logic in your print program and set the CONTROL_PARAMETERS-STARTPAGE variable before you execute the SMARTForm function module - I've never had cause to use this but I believe it should allow you to dynamically determine the first page to call in the SMARTForm.

    Regards, Andy

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      and still this standard transaction can be enhanced/modified.

      One death you gotta die. you wont be able to handle this in the form itself.

      Edited by: Florian Kemmer on Sep 17, 2010 11:34 AM

  • avatar image
    Former Member
    Sep 17, 2010 at 09:43 AM

    Hi,

    Copy the main window in first page also and write the texts in that instead of creating two separate variable windows.

    and put a condition to these texts to print or not. for remaining data you want to print in second page use control command to go next page.

    Regards,

    Jagadeesh T.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 20, 2010 at 10:01 AM

    Hi,

    Use COMMAND to give your condition in the first page.

    if condition is True then go to second page.

    And in the OUTPUT OPTION of the first page set 'Next Page' to "Second Page".

    Follow Below process:

    • Go to your First Page windowright click on windowcreateFlow LogicCommand

    • In the Condition tab give your conditions.

    • Now in General Attributes, click check box 'Go to New Page'. and give name of your Second page.

    Hope it will help you....

    Add comment
    10|10000 characters needed characters exceeded