New page in Adobe forms

Hi,
I am having a master page with the Restrict Page Set Occurance property not set. Now i have created one more master page below the first master page.
Now the problem is when ever i insert a new page unser the data node it is picking the header of first master page.
i want the header of second master page. and also i can not change the "Restrict Page Set Occurance" property of first master page.
please suggest how can i proceed.
Regards,
Pankaj Aggarwal

hi Pankaj,
    Drag and drop a text element to the location where you want to display the Page no (in your case at the top of the Master page). Now click on the text element and then go to Insert (at the top of the editor) and select Current Page Number. This should solve your problem.
Regards,
Devaiah

Similar Messages

  • How to create new page in adobe form.

    how to create new page in adobe form.

    Hi
    First Go To Layout.
    On Hicherchy Platte , rightclick on Subform and select option new body page.
    This way you can create body page for the particular subform.
    if you want to create master page , right click on page 1 and select New master page.
    Hope this will helpful to you.
    Rewards if useful.
    With Regards
    Nikunj Shah

  • How to print different  header & item data in new pages using smart forms.

    Hi,
    In smart forms I am trying to print header data & their item data. But there are more than one header data for a given input.
    I want to print all the different header data with their item data in new pages using smart forms. Can any one please help to solve the issue.. Its very urgent for me..
    Regards,
    Brajesh

    Hi
    U need to use control break statements to acheive ur requirement.
    Regards,
    Priya

  • How do u get New page in Smart form dynamically

    How do u get New page in Smart form dynamically

    page break in smart form
    Re: New Page in Smart Forms
    Page break inside a loop  in smart form

  • Difference between Body pages and Master Pages in Adobe forms?

    Hi SAP Gurus,
    Please can any one tell me the difference between the Body pages and Master Pages in Adobe Forms?
    In what scenarios we use Body pages and Master pages?
    And also please tell me what is Boiler plates? When these used?
    Thanks and Regards
    Abinava Siri..

    Hi,
    Master Pages:
    Does not included in the content area
    Master page we will design logo,company address and header information
    Here we can desing footer information
    whatever you desing in the master page it will show for all the body pages
    Body pages:
    Included in the content area
    Where we can design table data, it should repeat for line times.
    Regards
    Ramakrishna Pathi

  • Header and Footer in not displaying correctly on each page in Adobe Forms

    Hi experts,
       I need your little help on Adobe Form.  I have develop a customer account statement and facing problem.
         In header and footer part I have to display customer address. It is ok if data is of one page. But when data is overflowing, customer address is showing only at first page in header, and not displaying address neither in header nor in footer(footer section will print on last page, it may be either first page or third page ) on other pages. (Address is table type data )
           Header and footer Section address has been designed on Master Page.
    Please help me to resolve these two problems as soon as possible.
    Regards
    Piyush

    I found this post which I hope helps:
    This can be done by bit of tweaking using JavaScript. 
    Actually the problem was, the header was printing continuously in subsequent pages and once the header data was over the rest of the pages contained blank header. But we need have to print same header for each group of items till that group of items finish in the specific page. And for new group of items different header will be filled and so on.
    So to overcome this issue, create the item table in such a way that the header data is also included in the item table for each group of items. In the layout, select your header field and the event READY LAYOUT and write the below JavaScript code. This event is called for each page for that header field, so you can directly map the item table value and put it in your header field.
    // Get the current page
    var currpage = xfa.layout.page(this);
    // variable to store number of fields in that page.
    var fields = 0;      
    // Get the number of fields
            fields = xfa.layout.pageContent(currpage-1, "field", 0);
    // Loop on each field on the page
            for ( i=0; i<= fields.length-1; i++ )
    // Check if the field is in the item table column (it will be actually header data column in your item table)
                if ( fields.item(i).name == "TL" ) 
    // Fetch that value and store in your header field.
                           this.rawValue = fields.item(i).rawValue;

  • Hiding Pages in ADOBE form using formcalc scripting.

    Hi Experts,
    I am new to ADOBE form and currently working on invoice print output. (NOT an  Interactive adobe form)
    My requirement is
    i wanted to print one main page and 5  different annexures(anexures are having different layouts so is in diff forms and contained in diff pages)
    Deppending on 'Oreder reason' (made as global variable)  , i need to select appropriate annexure and print
    main page and any one of the annexure.
    so i should hide all other annexure, to achive this i used formcalc scripting.
    i tried hiding annexure 2 by following code,
    data.Annexure2::ready:form - (FormCalc, client)
    if ( data.G_F_ORDER_REASON.rawValue == "ANX" )
    then $.presence = "hidden"
    endif
    i have passed value 'ANX' to this , i could see the value of order reason printed on page Annexure2 but it is not executing (getting in to if condition) condition and not hiding the page ...
    Experts please help me...
    this way i have to hide 4 other annexures...please help me or give me some other option to achive this.
    thanks and regards
    varun
    Edited by: skyblue on Aug 6, 2011 3:30 PM

    coding Formcalc is a pain.
    But you're doing the right thing by passing in a variable and hiding based on the content of it.
    Here's an example of where I'm hiding a subform on a page.
      if ( main_sf2.charter_only.CHARTER_DOC.rawValue eq "X" ) then
       main_sf2.pts_sf.presence = "visible"
      else
       main_sf2.pts_sf.presence = "hidden"
    endif
    Looks like your code is similar - try changing
    ( data.G_F_ORDER_REASON.rawValue == "ANX" )  to
    ( data.G_F_ORDER_REASON.rawValue  eq "ANX" )
    or instead of $.presence = "hidden"  fully qualify the name of your page to  data.Annexure2.presence = "hidden"

  • Balance carry forward at end of page in adobe forms

    Hello all,
    I am new to adobe forms.
    I have a table with data with amount column. when the content of the table flows to next page i need to get balance carry forward and page to total and same at next page top as below
    I got to know we need to write script to get this but I don't know script in adobe form.
    So kindly help me.
    Regards
    ujwal

    Hi Ujwal,
    You're script could be handled something like this:
    if(xfa.layout.pageCount() > 1){
    var page = xfa.layout.page(this) - 1;
    var fields = xfa.layout.pageContent(page, "field");
    var total = 0;
    for(var i = 0; i < fields.length; i++)
      var item = fields.item(i);
      if(item.name == "CARRYFORWARD")
        total = total + item.rawValue;
    this.rawValue = total;
    I'm not sure what your technical name for the carry forward value is so I made one up in the sample.  Also, I have used this in one form but at line 02 I had to use -2 instead of -1 for my form even though the scripting help gives -1 as an example.  This will simply check if there is more than one page and if so then it will look back at the previous page to get the value of any field named CARRYFORWARD.
    Regards,
    Ryan Crosby

  • Problem with next page in Adobe Form

    Hi all .
    I only start work  with Adobe Forms so I need your help .
    My form includes   table .
    My problem : only the first page with data is displayed and I don't see the rest  of data .
    What I need to define in SFP (program ? ) for get all my data printed ?
        Regards Helena .

    Hello
    That is a well known bug/ feature. In SFP transaction use the tab Layout instead of the button layout. The form will be opened. Open the Font/ paragraph window, place it where you want (between the other palletes so you can see everything you need) and jump back to SFP/ close the form. Now you can open the full-screen layout using the button and the font window will work for you. Regards Otto
    p.s.: Of course you´re welcome with your questions here:

  • Printing Footer Only on the last page of adobe Form

    Hi Experts ,
    I have a requirement of printing text only on the last page of the adoe Forms.
    I know how to do this in Smart Forms , but being a novice in adobe forms i am unable to get the exact place to puth these conditions.
    Please reply ASAP.
    Thanks

    Thanks .
    Problem Solved.
    Here is the Code snippet in Formcalc language that i used in the intialize event
    var curpage  = $layout.page ( ref ( $ ) )
    var totpages = $layout.pageCount()
    if ( curpage ne totpages ) then
    $.presence = "hidden"
    endif

  • Repeating subform on each page in Adobe Forms

    Hello all,
    I created an Adobe Form, where the body is splitted in subforms (all flowed).
    But now, I want that the first subform must be showed on each page on the Adobe Form. A masterpage cannot be used, because soms field have no data and are not showed on the PDF.
    Does anyone know how the first subform of the body can repeat on each page?
    Kind regards,
    Pieter

    Florian,
    I already tried in Javascript for initialize and from.ready methods..
    Now, I tested in Formcalc but the output is the same.
    Page 1:
    On the next pages:
    So, on all the next pages a white space still appears..
    Kind regards,
    Pieter

  • Table Overflow - Page Break - Multiple tables in Body page in Adobe forms

    Hi,
    I have to do a payslip in Adobe forms. I am using only Adobe for print forms.
    Please redirect me to correct category if this is wrong category.
    I am customizing standard form PYXXFO_SAP_PAYSLIP_IN01. (payslip for india through hrforms)
    The standard form is entirely positional. So, if the contents of the table overflow, they are overwritten on the contents below.
    So, I have to make corrections to adjust the payslip for table overflows.
    My changes:
    1. There are total 8 tables in form. I created content areas for each of them and assigned the subforms/tables to those content areas.
    2. I converted the body page from positional to flowed, and applied the related pagebreak settings.
    The problem I am facing:
    When the earnings table overflows, the rest of the content is displayed on second page, in a continuous manner.
    eg.
    The structure of the form is:
    Header details
    earnings table   deductions table   form16 table
    Other tables
    leave details
    now, if the earnings table overflows -
    page 1:
    Header details
    earnings table (page break)
    Page2:
    (continued)earnings table
    page3:
    (continued)earnings table   deductions table   form16 table
    Other tables
    leave details
    In this, the deduction table and form16 table is shown on 3rd page. I wish to show them on the first page as they have not overflown.
    I am sure, I am missing something very small, but I am unable to understand what.
    I tried all the possible combinations.
    Does the main subform needs to be "positional"?
    They way I expect it is:
    page 1:
    Header details
    earnings table (page break)    deductions table   form16 table
    Other tables
    leave details
    Page2:
    {Header details - It would be great if I could have this}
    (continued)earnings table
    page3:
    {Header details}
    (continued)earnings table
    Also, If this is successful, I would like to apply the same feature to rest 6-7 tables.
    Edited by: chinmay kulkarni on Aug 17, 2011 3:04 PM

    This was a duplicate question.
    Kindly remove this thread if possible.
    The solution for this thread is as follows:
    I was sort of hoping that there should be some standard functionality available for this, it being Adobe, but there is not.
    So, I had to run a work around. Quite a lengthy one.
    What the problem was:
    I needed to print around 4-5 tables adjacent to each other in single page and in verticals. What Adobe does is: it fills 1st table, then 2nd then 3rd and so on. So, if there is a page break due to large entries in the adobe, the contents breaks with rest of the tables being blank, but the content being filled sequentially.
    What I did was:
    I created a grand table with the structure having all the tables embedded in it. eg.
    data: begin of grand_table occrs 0,
    table_A type table_a_table_type,
    table_B type table_b_table_type,
    table_c type table_c_table_type,
    end of grand_table.
    Hence, I could include all the data in a one single grand table, and put the data in sequential manner.

  • Hiding second page in adobe forms

    hi all,
            I have a adobe form with 2 pages. My first page needs to be displayed always whereas the second page needs to be displayed only for certain conditions. Please let me how this can be done asap.  Thanks in advance.
    Regards,
    Vinod.

    Hi Vinod,
    Here are the Steps to hide the Page, I don't know on what conditions you are going to dispay the second page,
    But the general steps are as follows:
    1) Go to Layout
    2) Go to Hierarchy Tab
    3) Select the Page / Subform that needs to be Hidden or to be made Invisible
    4) Go to "Paletts" menu item--> select "Objects" option from it
    5) Objects tab will be selected by default
      5.1) Select the Master page/ Page/ Subform (Tab)
      5.2) Use the "Presence" property to hide the pages you want, i.e.,
             Select the value for the "Presence" field from the dropdown,
      5.3) Select Invisible / Hidden (Exclude from Layout)
    Regards,
    Samad

  • Get number of pages of adobe form before printing

    Dear Experts,
    I want to get number of pages adobe form will print before printing the form.
    Please suggest.

    Hello Sagar,
         Without executing the generated Function Module, it is not possible to get the page count of a form in driver program because the generated FM itself is responsible to execute the whole layout and determine the number of pages in the PDF output. The below screenshot shows the number of pages in the structure /1BCDWB/FORMOUTPUT of generated FM after the generated FM is executed successfully.
    I really don't know why you need the number of pages before calling the generated FM. But if you still need it, then you might need to call the whole FM cycle twice( FP_JOB_OPEN , Generated FM, and FP_JOB_CLOSE ).
    1) First time while calling the FM FP_JOB_OPEN, you need to modify the contents of SFPOUTPUTPARAMS structure. Send the blank values in fields GETPDF, REQNEW and REQIMM, and send the "X" in fields NOPREVIEW, NOPRINT and NOARCHIVE and 000 in field COPIES.
    The reason for doing this is, we do not want actual PDF output. We only want to determine the number of pages.
    2) Now execute the generated FM . You will get the number of pages in the structure /1BCDWB/FORMOUTPUT-PAGES as shown in screenshot above.
    3) Now call the FM FP_JOB_CLOSE as usual.
    4) Again call the FM FP_JOB_OPEN. This time you again need to modify the contents of SFPOUTPUTPARAMS structure reversely. Send the "X" in fields GETPDF, REQNEW and REQIMM, and send the blank values in fields NOPREVIEW, NOPRINT and NOARCHIVE and 001 in field COPIES.
    This time we need the actual PDF output.
    5) Now do the required processing with previously fetched number of pages before calling the generated FM.
    6) Now call the FM FP_JOB_CLOSE as usual.

  • Why doesn't it show me the Second Master Page in Adobe Forms ?

    Hi guys,
    I have an Adobe Form that has Two Master Pages. When I call the form through the program, It shows me only Master Page 1, it doesn't show me the Second Master page.
    What's the problem? Why isn't it showing me the second master page? Can someone help me with this?

    If you're using HTTPS-Everywhere you might need to disable Pinterest in there!

Maybe you are looking for

  • Safari won't open anything.  help!!!?

    Hi there. My name is Shelli. My husband and I recently went from dial-up to slow dsl. When we did, Safari would no longer open any pages, no matter what. It will not even open the apple store. Can anyone help me? I have emptied the cache, and I have

  • Soap receiver Eroor

    My scenario is Proxy to Soap. while testing I am getting below error. *<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>* *- <!--  Inbound Message*    --> - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmls

  • TB 31.4 when compsing a message, has introduced a spurious blank line between the address boxes and subject box.

    When writing a new message I used to see two lines of address boxes followed by the subject line. So, when sending an email to a single recipient, that persons address would remain on screen as I composed the email. As of version 31.4 the initial "Wr

  • 3.0 beta - How to start Data Modeler?

    Probably a dumb question but Tools > Data Modeler > gives the list of options but none are to open a Data Modeler window. File > Data Modeler prompts to open an existing design but not to create a new one. What am I missing?

  • Its urgent.!!!!!!BAPI for Production Order

    HIi All , i need to fecth Storage Bin/Material/Quantyti/Descrition . All values can be obtained from the production order record using the BAPI. which BAPI is there for this req?