0% found this document useful (0 votes)
2K views5 pages

Achieving Conditional Page Breaks in Adobe Forms

This document provides steps to achieve conditional page breaks in Adobe Forms based on a condition. The steps are: 1. Create an interface and define a global parameter for the condition. 2. In the form layout, drag an internal table and set its body page to flow. 3. Go to the object pagination settings, click add, select the condition field, and set the break to the top of the next page when the condition changes. 4. Save, activate, and test the form to trigger a page break each time the condition field value changes.

Uploaded by

EmilS
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views5 pages

Achieving Conditional Page Breaks in Adobe Forms

This document provides steps to achieve conditional page breaks in Adobe Forms based on a condition. The steps are: 1. Create an interface and define a global parameter for the condition. 2. In the form layout, drag an internal table and set its body page to flow. 3. Go to the object pagination settings, click add, select the condition field, and set the break to the top of the next page when the condition changes. 4. Save, activate, and test the form to trigger a page break each time the condition field value changes.

Uploaded by

EmilS
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5

Achieving Conditional-breaks in Adobe Forms

This is one of the scenarios where we need to trigger page breaks based on some condition. For
example, we need to trigger page break for each change of CONNID. For that we use
CONDITIONAL BREAKS in PAGINATION of OBJECT palette.
Step1: Create interface ZTEST_CONDITION_INTERFACE using the transaction SFP.
Step2: Now define global parameter as shown.

In Code Initialization, write the following code.

Save and activate the interface.


Step3:
Come
back
to
ZTEST_CONDITION_FORM.

initial

screen

of

Form

Step4: In layout tab,


Drag and drop the internal table to layout editor.
Change the body page Body from position to flow as shown.

builder

and

create

form

Step5: Now go to DATA-- Object -- Pagination

Click on Edit button. It opens a window as shown below.

Now click on plus button.

Now click on Insert Sample Expression button as shown above with pink color, it shows fields.

Select CONNID field then the following code would be appearing on the space provided on the
text editor automatically.

$record.MAIN.GS_I_GEN.DATA[*].[-1].I ne $record.MAIN.GS_I_GEN.DATA[*].I

Now select the radio button before and for To field select TOP OF NEXT PAGE.

Click on OK button.
Save and activate the form.
Step6: Execute the form.

You might also like