Conditional Page break in Adobe forms.
Hi all,
In Adobe forms i am displaying the purchase order details.i want to create a conditional page break..
i am displaying purchase order header details below that i am displaying the item details of the purchase order.
i one page. i want to display only 4 purchase order header and 3 items for each purchase order. in total i want to display 0nly 16 lines in a page. my Hierarchy look like this...
data
....Masterpage
---......page1
.....static image
....bogypage(subform)
---......headertable(subform)
..............headerdata(subform)
........................ebeln
........................burks
........................table(table)
...........................group(group)
...............................row1(row)
..................................ebelp
.................................matnr
with regards,
sivaprasath.s SAP Consultant...
try using the below java script:
if (this.index != 0) { this.index%16 == 0 }
let me know if it works.
Similar Messages
-
Conditional Page breaks In Adobe forms
hi experts...
I have to do conditional page break for item table for each VBELN. if vbeln has more than 5 line items ...Have to do page break and
remaining items have to display on next page..
thanks in advance
bala...try using the below java script:
if (this.index != 0) { this.index%16 == 0 }
let me know if it works. -
Hi,
I have 10 line items in a table. i would like to display first 5 line item in first page of Adobe form and remaining 5 line item in 2nd page of Adobe form. How to do that?Since i have more space in first page itself it is showing all the items in first page itself.
Any help is appreciated.You can achieve this by defining conditional breaks on subform.
Select the Subform and then goto Object tab, in this Pagination tab.
In Pagination tab, click on Edit and define the condition. And then you can select where your next data should go.
Regards
amit -
How to change the page break in adobe forms
Does anyone know how to change the page break on an adobe form? I'm hoping it will be the same way you change the page view in excel.
Can anyone help?
Thank you in advance,
PriscillaHI
YOU CAN USE THE FOLLOWING SYSTEM FIELDS OF SMARTFORMS FOR THE MENTIONED PURPOSE
<b>&SFSY-PAGE& </b>
Inserts the number of the current print page into the text. You determine the format of the page number (for example, Arabic, numeric) in the page node.
<b>&SFSY-FORMPAGES&</b>
Displays the total number of pages for the currently processed form. This allows you to include texts such as'Page x of y' into your output
<b>&SFSY-JOBPAGES& </b>
Contains the total page number of all forms in the currently processed print request.
REGARDS
ANOOP -
Dear all
In this BC480_TABLE_NESTED example program, i could see that for every value in Table 1, there is a set of values in Table 2.
After printing values in Table 1 and it's corresponding values in Table 2., the second value in Table 1 is printed in a new page.
What shall be done to make it print continuously?
Regards,
Karthi M R.Select the table in Adobe Lifecycle Designer.
Goto Object Palette --> Table
Uncheck 'Allow Page Break within Content' property and try.
Regards,
Sanoosh -
How to print page numbers in adobe form
Hi,
Can anybody tell me how to print page numbers in adobe form.
Thanks in advance
ChaitanyaHi,
Yes the field page n of m is used normally for printing page numbers. But it won't display the current page of total pages by itself. You have to set the run time property to n (current page ) and m (Total number of pages). Carefully select the # (current page ) and ## (Total number of pages). Hope this works for you.
My requirement is to have the user control on current page. For Example:
Example for a Invoice with 5 PO items (stands on 2 pages) :
1st page is the letter : no page number
2nd page is the 1st page of the 1st copy of the invoice : we should read u201C1 / 2u201D
3rd page is the 2nd page of the 1st copy of the invoice : we should read u201C2 / 2u201D
4th page is the 1st page of the 2nd copy of the invoice : we should read u201C1 / 2u201D
5th page is the 2nd page of the 2nd copy of the invoice : we should read u201C2 / 2u201D
Presently i cam getting the current page number for page 4th as 3 / 2 and for 5th page 4 / 2. I could able to control the total number of pages from print program. But when i am printing the second copy (4th and 5th pages), I couldn't able to control the current page number. I need to initialize the Current page count (4th page ) as 1.
I have used the follwing java scripting:
this.rawValue = wv_pages - xfa.layout.page(this)
where wv_pages is total no of pages calculated from print program.
Please help me in this regard with some formcal or java scripting conditions.
Thank You,
Regards,
Naresh. -
Help with pagination and conditional page breaks
I have a rather complex form where pages are added based on what the user has entered in a table with repeatable rows. For most of the pages, conditional page breaks are working fairly well, but I have a group of pages with nested subforms that need page breaks. The inner subform is breaking as expected, but the parent page break isn't triggering for some reason.
Is this a bug within Livecycle or is it possible to fix?
Thanks!May be having a look at the form helps..
If you can send the form and XML data file to [email protected] I can have a look at it..
Thanks
Srini -
Dynamic tables and conditional page break
I have inserted a table in my form and have included an Add New Row button to insert additonal rows. I want a maximum of 16 rows added with a subtotal field. I want the table, then to automatically go to a new page with a subtotal field. At the end of all pages I want to include a total field. The table goes to the next page after a number of rows are entered, but there is not a break; the original form continues. How do conditionally break the page and have a (new) table display in the second page?
Thanks for your help.Hi Paul,
Thanks for working with me on this. I have sent a copy to the gmail.com address. I'm new to LiveCycle, so please forgive me.
Date: Thu, 29 Jul 2010 09:18:53 -0600
From: [email protected]
To: [email protected]
Subject: dynamic tables and conditional page break
You can accomplish that with a single table and some creative script. I suggest that you get the table worked out and working correctly then we can add in the page totals and final total afterwards. Once the table is ready email the form to mailto:[email protected] and I will put together a sample for you that shows what to do. Please include a description of what you want to do with the email as the mail message and this forum are not tied together. Also if you have a data file that fills out the table that would be useful as well.
Paul
> -
Hi
Need some help in Page totals in Adobe forms
I am having a table which flows into several pages .
I need to display the Total of a column at the end of every Page .
How can i achieve that .
I have tried the Script wih the pageContent method it is not working .i have also tried the sum method but it gives the grand total not the page total
Since we can not know at what record in the table page break can occur, i can not add in the back end program . It has to be done dynamically .
Please help me .
Thanks
RamakanthHi
Thanks Andres
I am now able to do the Sub Totals , but i am facing a new problem
My Requirement is
I have a table in my Design page
If the data in my table flows for more than one page then
1) I should show at page end sub total of Net Amount column in the table
2) The same Amount should be shown in the starting of the Second Page after which the table contents should flow
3) At the end of Page 2 i should again display the total amount which is addition of total from previous page and sum of all items in page 2 .
Example
Page 1
Documentnumber currecy Amount
1 USD 100
2 USD 200
3 USD 300
Balance CarryFwd 600
Page 2
Balance Carryfwd 600
4 USD 1000
5 USD 2000
6 USD 3000
Balance Carryfwd 6600
Page 3
Balance Carry fwd 6600
..... and so on
I have tried to use the Overflow leader and Trailer to get this functionality but in that case only texts are being displayed
not the Values .
I have tried to create the BalanceCarryfwd form in Master page but the sub totals are not comin up there .
How can i implement this logic , Please help me in this .
Thanks
Ramakanth -
How to achieve dynamic page break in Smart form
Hi
1.How to achieve dynamic page breaks in Smart forms.
2.What are the various table types in Smart forms.
Regards<i>Dynamic page break : </i>
create a node of type COMMAND and in its attributes check "Go to new page".
<i>There are Tables and Templates in smart forms :</i>
Use node type <i>Template</i> to display a table whose layout and size (number of lines and columns) is determined before the runtime of the print program else use <i>Table</i>.
Take a look at <a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf">SAP Smart Forms (BC-SRV-SCR)</a>
Regards -
Issue tabbing across page breaks in dynamic form
Hi all,
I have a strange problem that I'm having trouble getting to the bottom of, relating to my dynamic form.
This form grows and shrinks depending on how the user fills it out. I have a questionnaire section where certain questions are hidden or shown depending on previous input.
Things get interesting when I look at the tab order. Sometimes when tabbing forward or backward across page breaks, the focus lands on a spot that I cannot identify. There will be no cursor and I can not type. However if I continue to tab in the same direction, I can see that it is still going in the correct sequence. It just looks like for some reason, in those places, focus is put in the wrong component. But if I type different input into the prior fields (ones that affect the length of the pages) that causes the field to move to different place where it's not adjacent to a page break, and then tabbing to the field in either direction works fine. It seems that only when it's beside a page break, it becomes problematic.
Also, it only seems to be a problem if the field gets moved to be adjacent to a page break AFTER the form is initially rendered. If the field was originally beside a page break by default, then it seems to work fine.
Just to rule out a possible problem with the tab order configuration, I set my from to Automatic tabs, and even went as far as removing all the <traversal> elements from the form.
After doing either of those things, the problem still persists.
Has anyone seen this before?Hi Eric,
I have seen funny behaviour when tabbing within Preview in LC Designer. It may be picking up a read-only item in the Master Page.
Good luck,
Niall -
Page breaks in smart form based on condition
Dear all,
I want to give a page break based on month in smartform.
How can i do it.
Thanks In advance.
Regards
satish.Hello,
sorry for the delayed response,
1. Please put MAIN window first in the hierarchy. Then if you have other type of windows in your SSF will come. This is done to avoid the extra page in the output.
2. In the end of the the main window, you can create an 'Alternative' node type for page break to check the month where you need a page break, if true, you create a 'Command' node type under 'True'. In the general attributes of this 'Command' node you check the 'Go to New Page' Option.
I assume that you are working on SAP 46C
Let me know how this goes about. Hope this helps you.
Best Regards, Murugesh AS
Message was edited by: Murugesh Arcot -
Conditional page break with multiple conditions
Hi,
have not found anything in the forum, so i hope its not a repost.
I print a table and need a pagebreak before every new record.
That sounds easy, so I used:
Report.KeyfigureDetails.Container.KFUID ne Report.KeyfigureDetails.Container[-1].KFUID
Its works well BUT it does not inserts a page break BEFORE the very first record even if I say its "before" and "top of next page".
So I used:
(Report.KeyfigureDetails.Container.KFUID ne Report.KeyfigureDetails.Container[-1].KFUID) or
(exists(Report.KeyfigureDetails.Container[-1].KFUID) = 0)
Result: No pagebreak at all. There must be a error inside my statement.
I used two conditions. one with
Report.KeyfigureDetails.Container.KFUID ne Report.KeyfigureDetails.Container[-1].KFUID
and one with
exists(Report.KeyfigureDetails.Container[-1].KFUID) = 0
But again no pagebreak BEFORE the very first line.
What am I doing wrong? I just want to have a break before every record, even the first one.
I am using formcalc. If a conditional pagebreak in java does not need the form to be interactive/dynamic such a solution would be appreciated as well. I just want the form to be 100% static to avoid additional licenses.
Thanks!Oh sorry! But you are totally right.
The problem was, that FormCalc did not inserted the correct structure of the object.
The structure was like: subform1.subform2.subform3.object.
FormCalc just inserted: subform1.object
Writing the code manually made the system at least to perform the page break after the first record.
The page break before the first record could somehow not be solved by me with:
exists(Report.KeyfigureDetails.Container[-1].KFUID) = "0"
I then remembered Otto Gold's recommendation to use Java as it is more powerful. And in deed Otto gave me the solution by his comment.
As a final solution i use two different conditional breaks.
The fist to perform the break before the first record:
this.resolveNode("Container[-1].KFUID") == null
The second to perform the page break after each new "KFUID":
if (this.resolveNode("Container[-1].KFUID") != null) { this.resolveNode("Container[-1].KFUID").rawValue != Container.KFUID.rawValue }
Maybe a smart Java guy like Otto Gold can put those two conditions into one
I was not, but these two solved my problem.
I dont say that FormCalc is not able to solve the problem as well. But I have very limited knowledge about the Adobe forms and at the moment I have no time to dig deeper into this. -
How to set Page Format in adobe form
Hi,
I am designing a simple print forn using Adobe, since printer is dotmatrix page break should be triggered longer then usual A4 size.
If I do the same thing using Smartfom I will define a page format and under output type of the smartform I will assign it, this is enough to tell the system what is the length and width of the page I am using for printing.
how can we achive this in adobe form.
Regards
BikasHello,
go to your master page and change the master page/page format/size as you wish.
Otto -
Hi Friends,
I developed a Adobe form with 2 master pages. I dont want to display my 2nd Master page if a field eq 'MANAGER'. This field is displayed on Master Page. When I am giving print my 2nd page is also printing I dont want my 2nd master page to print if the field is 'MANAGER'. How can i do this ?
How can we do this in javascript or in Formcalc. ?Or You can do this...
Create a Subform in the first page , create the condition for that only if the particular field is MANAGER then only this should be displayed. HIDE the subform , in the properties you can check.
This subform properties Place that on Top of Next page or choose the Master page content area which you want.
So when manager only this forms will trigger and the corresponding details will be shown.
Maybe you are looking for
-
I-tunes is downloading my purchase from scratch every time I open it up...
Why is i-tunes downloading my purchase from scratch every time I open it up? This means I can't watch the episode as it freezes after 10 minutes and says it has 12 hours to go until download is complete... I have also found that the words get out of
-
How to export desktop app into jar file??
Hello, I have a desktop application needing some jar libraries. I've exported my application using eclipse exporting wizard, so I've achieved an app.jar with a simple Manifest.mf (only indicating Main-Class) I've modified the manifest.mf to include a
-
Chart timestamp accelerating - why does this VI not work?
In fighting with TDMS files, I decided to experiment with a different approach to get what I need - a stripchart with a long history, that I can pause and scroll back through to look for anomolies. Came up with a clever (I thought) approach to it...
-
I need a power cord for a sony CFD-G700CP
I need a power cord for a Sony boombox CFD-G700CP. Where can I purchase one.
-
RoboHelp 7 - unable to Compile
RoboHelp 7 - Microsoft HTML Help - the Compile hangs up when it reaches "Updating topics" stage & only way to exit is to Crtl-Alt-Delete - the "Task Manager" lists two instances of "RoboHelp not responding" . When 1 is highlighted and End Task is se