on 05-09-2013 7:18 PM
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.
Hi Bharadwaj,
this is a not an exact solution, but works if your row height size is fixed.. condense the content area, such that it fits exactly 20 rows.
--
Rakesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
Hi,
Can you try the below logic:
1. We need to first get the row count of the table data in each page. For this, we may be required to use some java script in the 'Body Row' of the table.
Ex.,
var rowcount;
rowcount = tablename.data.all.length;
if ( rowcount == "20" )
{
page2.presence = "hidden";
}
2. Once the rowcount is 20, we have to manually trigger a page break. We can think about using conditional break available in pagination tab of the 'Body Row' in table.
Please refer to below links for more help:
http://scn.sap.com/thread/3291404
http://www.saptechnical.com/Tutorials/AdobeForms/Break/Index.htm
Thanks,
Sathya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.