cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Page break after 20 rows in adobe form

Former Member
0 Kudos
4,389

Hi All,

Iam working on a development in which I am passing entries to adobe form as a table.There can be 100 entries in table but the adobe form need to display only 20 rows in a page and should display next 20 rows in 2nd page and so on .

Please let me know how to handle this scenario in SAP Adobe.

View Entire Topic
jayan_abap
Explorer
0 Kudos

Hi Baradwaj,

add an index column to the table but hide it. Then add similar javascript code in "conditional breaks" as below:

if (this.resolveNode("table.ZINDEX") % 20) == 0)

Jay

Former Member
0 Kudos

Hi ,

Can you elaborate the solutions.Please donot paste code and mention to use that.

The form which we are developing has only 1 Page and same page will extend into subsequent pages.

Thanks ,

Bharadwaj

Former Member
0 Kudos

Hi,

I think Jay gave you the right info for you to progress for your particular issue.

1. Add a new column called ZINDEX, this should contains running number to indicate the index of your record.

2.Do the conditional break in your table.

Just in case you do not know where to put the conditional, check this

http://www.saptechnical.com/Tutorials/AdobeForms/Break/Index.htm

COPY and PASTE this conditional in the box

if (this.resolveNode("table.ZINDEX") % 20) == 0)

If you need any further help, kindly provide screen shoot and provide error message if any; if you have the issue.

Also, google always helps.

regards,

Xiang Li