Page number in adobe form

when the form execution goes to 2nd page it displays a page number on right potion lil below top margin..
can some body tell me where the setting is for that pageno.. like sy-pagno or any thing like that..
reminding you it doesnt show that page number on the form when it is a one page output. only for >2 pages it shoes...the page number.

solved

Similar Messages

  • Hiding Image field based on the page number in Adobe Form- Script

    Hi Folks,
    I have a problem with the print form that I am working on. I need to insert an image of lines (OMR) based on the page numbers. For the OMR part, the first page will always have 4 lines as a image, the middle pages will have 3 lines as a image and the last page will have two lines as a image.
    I have uploaded these 3 images a BMPs in SE78 and I am using Xstring of these images in the form. I have two master pages. First master page is for the first page and the second master page is for the remaining pages. The first master page will always have the 4 line image. I created a positioned subform in the master page2, in that subform, I have 2 hidden numeric fields, as the run time properties one for the current page number, other one for the total number of pages. I placed those two images(one for the three line image and the other one for the two line image) exactly on the same location positioned dimensions wise. 
    I have written the java script for these two image fields to show based on the page numbering. But, somehow, it is not working. Can anybody please let me know where I am doing wrong. I am posting my java script here.
    for the three line image:
    var cp = data.PageSet.MasterPage2.OMR.cpage.rawValue;
    var np = data.PageSet.MasterPage2.OMR.npages.rawValue;
    //if(data.#pageSet[0].MasterPage2.OMR.cpage.rawvalue == data.#pageSet[0].MasterPage2.OMR.npages.rawvalue){
    for (j=0; j<xfa.layout.pageCount(); j++){
      if(cp == np){
        xfa.resolveNode("data.PageSet.MasterPage2[" + j + "]").OMR.OMR2.presence = "hidden";
      else{
        xfa.resolveNode("data.pageSet.MasterPage2[" + j + "]").OMR.OMR2.presence = "visible";
    For the two line image:
    var cp = data.PageSet.MasterPage2.OMR.cpage.rawValue;
    var np = data.PageSet.MasterPage2.OMR.npages.rawValue;
    for (j=0; j<xfa.layout.pageCount(); j++){
      if(cp == np){
        xfa.resolveNode("data.PageSet.MasterPage2[" + j + "]").OMR.OMR3.presence = "hidden";
      else{
        xfa.resolveNode("data.pageSet.MasterPage2[" + j + "]").OMR.OMR3.presence = "visible";
    Please give me a direction as this is kind of hurry.
    Thanks,
    Srinivas.
    Edited by: srinivas kari on Jun 9, 2010 2:03 AM

    HI Otto,
    Thanks for the response. You are right, I am struck with this image. My problem was to keep the OMR marking on each page based on the page number. It is like a lines with 10mmX10mm dimension at the top right corner for the sorter machine to know the number of pages to put in the envelope. The logic for this is, on the first page, it has 4 lines each 3mm apart. On the middle pages it has 3 lines . On the last page it has 2 lines. When the sorter machine picks these, it looks at the first page with 4 lines, it will count as a first page, it will continue through the 3 line pages as the middle pages until it reaches the 2 line to know it as the last page. This is all happens in the master pages. I have two master pages , one for the first page and the second one for the remaining pages.
    At first I did not know how to To achieve this, I created 3 images. one with 4 lines, another ones with 3 lines and 2 lines. The 4 lines image was on the first master page. The 3 lines and 2 lines images were on the second master page at the same place as the image fields positioned. Thats where I was trying this scripting. I was trying to capture the current page and number of pages. Based on these, I was trying to place them.
    Is there any other way to achieve this instead of using the images? I thought of sy-uline. but some in the forum told that its not going to work. Even if I use the sy-uline, I have to do some script to achieve this I believe.
    Any inputs on this.. Please give the direction.
    Thanks,
    Srinivas.

  • Hiding Image filed based on the page number in Adobe Forms - scripting

    Hi Folks,
    I have a problem with the print form that I am working on. I need to insert an image of lines (OMR) based on the page numbers. For the OMR part, the first page will always have 4 lines as a image, the middle pages will have 3 lines as a image and the last page will have two lines as a image.
    I have uploaded these 3 images a BMPs in SE78 and I am using Xstring of these images in the form. I have two master pages. The first master page will always have the 4 line image. I created a positioned subform in the master page2, in that subform, I have 2 hidden numeric fields, as the run time properties one for the current page number, other one for the total number of pages. I placed those two images(one for the three line image and the other one for the two line image) exactly on the same location positioned dimensions wise.
    I have written the java script for these two image fields to show based on the page numbering. But, somehow, it is not working. Can anybody please let me know where I am doing wrong. I am posting my java script here.
    for the three line image:
    var cp = data.PageSet.MasterPage2.OMR.cpage.rawValue;
    var np = data.PageSet.MasterPage2.OMR.npages.rawValue;
    //if(data.#pageSet[0].MasterPage2.OMR.cpage.rawvalue == data.#pageSet[0].MasterPage2.OMR.npages.rawvalue){
    for (j=0; j<xfa.layout.pageCount(); j++){
    if(cp == np){
    xfa.resolveNode("data.PageSet.MasterPage2 [" + j + "]").OMR.OMR2.presence = "hidden";
    else{
    xfa.resolveNode("data.pageSet.MasterPage2 [" + j + "]").OMR.OMR2.presence = "visible";
    For the two line image:
    var cp = data.PageSet.MasterPage2.OMR.cpage.rawValue;
    var np = data.PageSet.MasterPage2.OMR.npages.rawValue;
    for (j=0; j<xfa.layout.pageCount(); j++){
    if(cp == np){
    xfa.resolveNode("data.PageSet.MasterPage2 [" + j + "]").OMR.OMR3.presence = "hidden"; // there is some problem while //posting it is like MasterPage2[" + j + "]")
    else{
    xfa.resolveNode("data.pageSet.MasterPage2 [" + j + "]").OMR.OMR3.presence = "visible";
    Please give me a direction as this is kind of hurry.
    Thanks,
    Srinivas.
    Edited by: srinivas kari on Jun 9, 2010 12:04 AM

    HI Otto,
    Thanks for the response. You are right, I am struck with this image. My problem was to keep the OMR marking on each page based on the page number. It is like a lines with 10mmX10mm dimension at the top right corner for the sorter machine to know the number of pages to put in the envelope. The logic for this is, on the first page, it has 4 lines each 3mm apart. On the middle pages it has 3 lines . On the last page it has 2 lines. When the sorter machine picks these, it looks at the first page with 4 lines, it will count as a first page, it will continue through the 3 line pages as the middle pages until it reaches the 2 line to know it as the last page. This is all happens in the master pages. I have two master pages , one for the first page and the second one for the remaining pages.
    At first I did not know how to To achieve this, I created 3 images. one with 4 lines, another ones with 3 lines and 2 lines. The 4 lines image was on the first master page. The 3 lines and 2 lines images were on the second master page at the same place as the image fields positioned. Thats where I was trying this scripting. I was trying to capture the current page and number of pages. Based on these, I was trying to place them.
    Is there any other way to achieve this instead of using the images? I thought of sy-uline. but some in the forum told that its not going to work. Even if I use the sy-uline, I have to do some script to achieve this I believe.
    Any inputs on this.. Please give the direction.
    Thanks,
    Srinivas.

  • How to print page numbers in adobe form

    Hi,
    Can anybody tell me how to print page numbers in adobe form.
    Thanks in advance
    Chaitanya

    Hi,
    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.

  • 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,
    Priscilla

    HI
          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

  • Page Totals in Adobe Form

    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
    Ramakanth

    Hi
    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

  • Page total in adobe forms

    Hi Experts,
    I want to do page total on a particular field in adobe forms . I am getting grand total but cann't get the page total.
    Is their some java script or adobe script is required for it . If yes then provide me the solution for it.  Its very urgent. Point is garanted for the solution.
    Thanks in advance.
    Regards,
    Anomitro

    Hi,
    I want to do the summation of a particular field separetely for every  page as we do in the smartforms Ihave to do it in adobe forms. I donn't want total number of page . I want sub total of  a field on every page.
    Thanks in advance.
    Regards,
    Anomitro
    Edited by: Anomitro Guha on May 28, 2008 8:44 PM
    Edited by: Anomitro Guha on May 29, 2008 11:56 AM

  • Page interleaving in Adobe forms

    I am trying find to set Pagination parameters of a sub form ("Place" "After") dynamically either through Java script or Form calc. 
    This is what I did:
    I have two master pages
    1. Letter
    2. Tabliod.
    Three Internal tables
    1) Table of Image version
    2) Images to be printed on Letter page (Let us say Version 01, Version 03, and Version 05)
    3) Images to be printed on Tabloid Page (Let us say Version 02, Version 04, and Version 06)
    I run a loop before the Image tables starts printing. 
    So first Image in on Letter, second is tabloid, third is letter, fourth is tabloid, fifth is letter, and sixth is tabloid.
    I set the Pagination for Letter Image table Place = "On Page "Letter", After: “Go to Page Letter" and
    set the Pagination for Tabloid Image table Place = "On Page "Tabloid", After :"Go to Page Tabloid"
    It starts printing image 1 on Letter page, Image 2 on Tabloid page, and Image 3 onwards it is not printing Tabloid
    Please advise.
    Thanks
    Ram

    Hi,
    I want to do the summation of a particular field separetely for every  page as we do in the smartforms Ihave to do it in adobe forms. I donn't want total number of page . I want sub total of  a field on every page.
    Thanks in advance.
    Regards,
    Anomitro
    Edited by: Anomitro Guha on May 28, 2008 8:44 PM
    Edited by: Anomitro Guha on May 29, 2008 11:56 AM

  • Dynamic page length in Adobe Forms for paper roll printing

    Hi gurus,
    I have a requirement to create an invoice printout using a thermal printer with paper roll feed. Depending on the number of line items I have on my document the page could grow to an indefinite length. Is this something we could achieve using Adobe forms and ABAP?
    Cheers,
    Marc

    In the end we just added a second page and expanded the content area up to the borders of the page. This produces quite a gap in the paper in between pages but we were able to eliminate it thru the use of the printer's paper back-feed commands.

  • How to display page no for different master pages in one adobe form application

    Hi All,
    we have requirement where we need to  display page nos in different master pages in one single adobe form.
    For the First form the page nos should be displayed pgno of total pages and for 2nd form the page no shuld be displayed as pgno of total pg.
    so please help me with any script or suggestions for displaying the page no accordingly in different master pages. Your suggestions are greatly appreciated.
    Thanks
    Raja.

    Hi Lingaraj,
    We have 2 different Master pages and 2 Body pages. For the seccond Master page the page no are comming correct like 1 of 3 ,2 of 3 and 3 of 3 but for First master page the page no are comming 0 of 3  in all of the page its not displaying the current page no in 1st master page.
    Screen shots are attached for first master page and Hierarchy Node.Pls see the highlighted section in 2nd image.
    Pls see and suggest me accordingly. Hope this helps are let me know anything u require.

  • 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
    Bikas

    Hello,
    go to your master page and change the master page/page format/size as you wish.
    Otto

  • How to call  New Page conditionally in Adobe Form

    Hi,
       Actually I want to develope a adobe form in which the employee training details will be come Page wise.
    Suppose there is 2 employee one has 90 and another has 60 training details.Suppose on  each page only 50 line items can be displayed.now for first employee in 1-st page 50 line item will come ,there afte in secon page 40 line item will be come.Now when second Employee details is coming it should not come in secon page .it should be come on third page.
         Can anybody help me regarding this matter

    Hi,
      I think there is no way to do this,  atleast for Adobe Designer v.7.0. But if you know XML or java scripting you can try that. I dont have much knowledge on it.
       However there is one way. Add dummy records in the table so that there  are mulitple of 50 records for each employee. I have also heard that adobe designer 7.1 has some extra options. Please try that if possible.
      Please let me know too if you find anything out. It will help me too..
    Regards,
    Susanta

  • Rearrange pages when printing adobe form with multiple master pages

    Hello!
    Good day to you all.
    I have an issue in regards with printing my adobe form with multiple Master pages. I have 4 master pages:
    1st master page: a
    2nd master page: b
    3rd master page: c
    4th master page: d
    all with different headers and footers all having the same contents (items). I don't have issue with one page content (it just prints 4 pages with different headers and footers). The issue comes out once the items exceed 1 page.
    What happens is that the preview/print shows (example: 3-page item)
    a1-a2-a3-b1-b2-b3-c1-c2-c3-d1-d2-d3.
    What i need is to print these such that all 1st pages of the 4 master page to be printed first, then all the 2nd pages, then all 3rd pages. Please see below:
    a1-b1-c1-d1-a2-b2-c2-d2-a3-b3-c3-d3
    This is because we will be using carbonless copy paper during printing and it's possible that it would be printed on batch jobs. Please suggest ways to do this.
    Thanks a lot in advance!
    Best Regards,
    abap_peer_dangs

    Hi,
    Is that requirement of multiple pages as groups only at the time of print or at print preview also...?
    Can you have a Print button on this screen or you should be using the Abobe toolbar's Print button..?
    Well if this on a click of a button in the form and the requirement is only at the time of print and not on print prieview I can have a JS script which does this...
    Let me know if this suffice, I can try with a local file and send you the script.
    @ Chris: I didn't understand what do you mean by reported, I was eager to hear and learn a solution from you may be a new approach which I am not aware of ...?
    Cheers,
    Sai.

  • Problem with new page triggering in ADOBE Forms

    Hi all,
                 I am workin on a Purchase Order adobe form. I have a requirement to dispay Other stipulation text after completion of all the information. The text should be displayed on a fresh new page. I can able to display the text on new page, but if the text is not there then its displaying a blank page. How to avoid this blank page.
    Can anybody please help to solve this issue
                          Thanks.
                          Ranganadh.

    It is because you are calling a NEW-PAGE in the main window and you have not mentioned which should be the next page. For that you need to Go to SE71==> Pages==>Standard Attributes==> Mention the <b>Next page</b>
    Assign the same for both the pages !
    rgds,
    TM
    Please mark points if you got solution.
    Message was edited by: Thomas Mann

  • Changing Page size in Adobe forms

    Hi Experts,
    I am new to Adobe forms.I am creating a form whose size is very small with 11.6929In height and 8.2677In width.But i viewed some of the SAP standard reports for example FITP_PLAN_FORM ,the page size is 29.7cm and 21cm width the page type is A4.
    I am also using the same page type as A4.Why is this difference? I am struggling to get the page size.
    Can any one guide me plz..
    Thanks&Regards,
    Karthik.

    Hi Karthik,
    Keep in mind the Units you are comparing. By default, my adobe LiveCycle designer shows the units in inches:
    so:
    29.7cm = 11.7in  , and
    21cm  = 8.3in
    just a thought
    regards,
    harman

Maybe you are looking for

  • Unable to load the EJB module. DeploymentContext does not contain any EJB.

    I'm writing an enterprise application to familiarize myself with Glassfish 3.1.2 and EJB 3.1. I've created several local, stateless beans, and injected one into a JSF managed bean. The ejb and web modules compile fine, but when I launch the applicati

  • Key genaration for remote system

    Hi, I want to genarate number ranges for remote system like a100 to z999. But in Console its allowing me to enter only numaric values only. could you please suggest me to achive this functionality. Thanks in Advance. Kiran.G

  • Duller colors from Camera Raw to Photoshop: why?

    Hello! I'm opening my Canon 70D RAW files with Camera Raw 8.4.1. After this step, I open the corrected file in Photoshop CC. At this point colors have changed, everything is duller and less contrasted. See image. Camera Raw color management: Adobe RG

  • Apps wont sync after reset

    had to restore ipod now my apps wont transfer back to ipod,all content shows in my itunes Ideas anyone?

  • Swap File Space

    Does anyone know how the "default" swap file space number is computed ? Where does this number come from ?