Current page printing problem - while repeating pages : Adobe forms

Hi Experts,
I have a problem in printing current page number of an adobe form.
My requirement is that , my form got 2 pages. On first page i am not printing page numbers and excluded from numbering.
Numbering starts from second page. The second page needs to be repeated twice.
In this case my page printing should look like :
First page - no page number
second page - 1 of 1
Third page - 1of 1 (as it is a copy)
IF second page extends to multiple pages (eg.. 2)
First page - No Page no
First instance of second page - 1of 2 , 2 of 2
Second instance of second page - 1 of 2 , 2 of 2 . Presently it is printing like : 3 of 2 , 4 of 2. I need to initialize current page count. I could able to set the total page count 2 via variable from print program. But while printing the second instance, I am not able to initialize the current page count.
I have seen the following thread which exactly talks about my problem but with out any solution.
Re: Adobe Forms - Page Count
Can any one help me in this regard.
Thank You,
Regards,
Naresh.

Hi,
I am not sure how your page design looks like.
Assumption:
During runtime, ONLY 1 page for Page1, multiple pages for Page2 and Page3, same number of pages for Page2 and Page3.
This is what i did:-
I have 3 pages:
Page1: With NO page number: ONLY 1 page
Page2: With page number: Multiple page
Drag the "Insert -> Custom -> Page n of m"
- TextField: "CurrentPage",
-- replace the original script: "this.rawValue = xfa.layout.page(this)" with "this.rawValue = xfa.layout.page(this) - 1"
- TextField: "PageCount",
-- replace the original script: "this.rawValue = xfa.layout.pageCount()" with "this.rawValue = ( xfa.layout.pageCount() - 1 ) / 2"
Page3: With page number: Multiple page
Drag the "Insert -> Custom -> Page n of m"
- TextField: "CurrentPage",
-- replace the original script: "this.rawValue = xfa.layout.page(this)" with "this.rawValue = xfa.layout.page(this) - 1 - ( xfa.layout.pageCount() - 1 ) / 2"
- TextField: "PageCount",
-- replace the original script: "this.rawValue = xfa.layout.pageCount()" with "this.rawValue = ( xfa.layout.pageCount() - 1 ) / 2"
Good luck.

Similar Messages

  • Problem while using an adobe form "Unable to fulfil request for memory"

    Hi Experts,
    When I try to call a Adobe Form from the porta,l the system encounters a problem and the error message is "Unable to fulfil request for 3665920 bytes of memory space.".Could yopu please provide you valuable suggestion to resolve the issue.
    Thanks.
    Arun.

    Hey fellow ADS developer,
    I had this issue once and had hard time to figure out from where it was coming!
    In fact, check the free space on your SAP Server hard disk (or ask admin guys). It might be that there is no more hard disk! Because every time you generate a form, it is stored on your server harddisk. You need to flush all that temp stuff regularly.
    Hope this  helps
    Yann

  • Line item data does not appear on all master pages - Adobe forms

    Hi Guys,
    I have a problem in Adobe forms as explained below-
    I have a page in the form which has, you can say, a 2 windows or subforms (  Information window/subfirm on top right corner, main on middle of the page ). The data of the main subform is a line item data of delivery. Some parts of the same data need to be printed on the Information subform also. The main subform can overflow  to next pages but the information window will have only very limited data to be printed on one page itself, meaning it does not overflow.
    Now the requirement is that  each line item should be printed on a new page. For example if there are 2 lines items then first line item should be printed on first page. Then there will be a conditional page break and the next line item will be printed on the next page ( I have achieved this using condition page break). The information window will contain information related to corresponding line items. If the first line item data overflows in main then information window of first line item should be printed on first and 2nd page. The second line item should start printing on 3rd page and information window of  3rd page will contain data of 2nd line item.
    I created 1 body page and 1 master page. I created one internal table with data of main window and information window. I put the information window on master page to make it appear on all the pages. 
    This solution unfortunately does not work. The issue is that in case of overflow, 1st page information window shows first line item. 2nd pages shows 2nd line item and 3rd page is blank whereas ideally 1st and 2nd page information window should show first line item and 3rd page should show 2nd line item. This means that master page and body page are not getting linked. If I create the information window on body page itself, it does not repeat on all the pages. Please provide some inputs to resolve the issue.
    Thanks
    Abhi

    Hi Abhinav,
        I am also trying to solve the similar issue. Need to print the internal table data in the Master page.
      Have you resolved this issue. Can you Please share your solution .
    Thanks
    Swarna.

  • Multiple page Adobe form

    Hi Experts,
    It's the first time I've encountered Adobe forms in SAP ad I'm having problems with the following.
    My form is for printing only, I have a created a subform (header) at the top of page1, then another subform containing a table with dynamic data, after this I have various other subforms.
    My problem is concerning page breaks, when my table contains over 20 lines the following subforms should appear on the next page rather than continuing on page 1 until it runs out of space.  At the minute it only prints what fits on the first page, everything else is lost.
    This may be something simple but I haven't managed to find anything regarding this on the forum.
    Thanks,
    Simon

    Hi again,
    In the Pagination tab of my subform object the fields; 'Place' and 'After' are disabled, is there a reason for this?  Is there something I have designed wrongly?
    Regards,
    Simon

  • How do I determine whether the current page in Forms is the last page.

    I have a requirement of printing amount in words using SPELL_AMOUNT Funtion Module, in SAP Scripts.
    When I have only one Item Line, I am able to successfully, print the amount.
    The moment i have line items pouring to the next page, I see that the I am unable to retrieve the spelled amount from the Function Module.
    I think may be i need to find out if the current page is the last page, and if it is so, print the amount on the last page, .i.e., the page where the item lines have overflowed to. How do i find this out.
    Can anybody, suggest something.
    Regards,
    Owais...

    I wonder if you could do something like this.  Wrap your logic with this IF statement.
    /: IF &PAGE& = &SAPSCRIPT-FORMPAGES&
    /: ENDIF
    Regards,
    Rich Heilman

  • How to avoid Print pop-up while using a Adobe form.

    Hi Experts,
    I am calling a adobe form from a BAPI.I am using the following function modules FP_FUNCTION_MODULE_NAME and CALL FUNCTION fun_name. But when I try to execute the BAPI a print preview pop-up appears.Please let me know the steps to avoid the print preview pop-up while execution of the BAPI.
    Thanks in Advance.
    Warm Regards,
    Arun.

    Hello
    I don´t understand the connection between BAPI and the printing program. I guess - at least that is what I have done - is to generate the form when creating and invoice or something, then I could understand.
    When you ask for GETPDF = 'X' then you always get the PDF data back and not the popup.
    Or if you would like to display the print preview without a print settings popup. Or variants...
    FUNCTION ZPDF_SET_OUTPUT_MODE.
    *"*"Lokální rozhraní:
    *"  CHANGING
    *"     VALUE(FP_OUTPUTPARAMS) TYPE  SFPOUTPUTPARAMS
    fp_outputparams-dest     = 'ZPDF'.
    fp_outputparams-nodialog = 'X'.
    fp_outputparams-preview  = 'X'.
    ENDFUNCTION.
    regards Otto

  • Print Preview not working for Adobe forms

    Hello experts,
    I am new to designing of Adobe forms. I have the following installations already in place:
    1. ADS
    2. Designer 7.0
    3. Adobe Reader 8.0
    I am trying to execute the standard report FP_EXAMPLE_01 to test whether Adobe forms work coherently with my system config is fine.
    When trying to execute thsi report prg , I get a very perculiar message on clicking on print preview bttn "ADS: Request start time: Tue Feb 05 12:25:05 IST 2008(200.101) "
    Now I am not sure whether it is a Basis issue with the ADS config or Printer settings ?
    Please advise.
    Regards,
    Sonika

    Hi Sonika,
    That is not required functionality. it should display a Adobe Form for Invoice processing.
    I doubt there might be some problem with ADS configuration.
    Can you please do the following test and let me know the result ?
    If the Adobe Interactive Forms have been installed correctly, the
    following tests should run without errors:
    First test:
    1) Call transaction SE38.
    2) Enter the report name "FP_PDF_TEST_00" and choose "Execute" (or press F8).
    3) Enter "ADS" in the entry field for the connection, and choose
    "Execute" (or press F8).
    4) The system should issue a dialog box containing the current version
    information.
    Second test:
    1) Call transaction SE38.
    2) Enter the report name "FP_TEST_00" and choose "Execute" (or press
    F8).
    3) Enter "FP_TEST_00" for the form, "2" for the number of output pages,
    and "ADS" for the ADS connection. The choose "Execute".
    4) Enter a valid output device and choose "Print Preview".
    5) The Adobe Reader should be displayed in the GUI, and display two
    pages with numbered lines.
    Third test:
    1) Call transaction SE38.
    2) Enter the report name "FP_TEST_IA_01" and choose "Execute" (or press
    F8).
    3) Enter "FP_TEST_IA_01" for the form, "ADS" for the ADS connection, and
    any data in the other entry fields (these are already filled with
    default values). Then choose "Execute" (or press F8).
    4) Enter a valid output device and choose "Print Preview".
    5) The Adobe Reader should be displayed in the GUI, and display a page
    with address fields.
    6) Scroll down to the frame for the new address, and fill in those
    fields.
    At the end of the form, an entry field for the date and a value help
    exists. Choose the input help button and check if the system displays
    the datepicker.
    Now you will know yourself if there is any problem with ADS configuration.
    Cheers
    Satya

  • Problem with table in Adobe Form in Web Dynpro JAVA??

    Hello all,
    I have an issue with the table displaying all the node values in the Adove Form. Right now it displays only the first element of the Node even if there are multiple entries.
    Not sure what is going wrong here.
    How is the table created in a interactive form? Any help is appreciated.
    Thank you, John

    Siva,
    I referred to the website, but still having issues with generating tables in Adobe Form. I can get all the table rows in the adove form, but the pdf doee not add new pages to display all the table rows. It just createa one page with the table inside it, display few of the rows and truncates rest of the table data.
    Here is the heirarchy of the page with the properties set
    Master Pages ---
            ||--> Page 1
                     ||--> content area
                     ||--> subfrom (properties:: Content - Flowed / Flow direction - top to bottom...pagination tab is greayed out completly)
                                ||--> Table
                                          ||--> HeaderRows (Object: Row - Type: Header Row)
                                          ||--> Row1 (Object Tab/Binding: Repeat Row for each data item - checked)
    Can't make it wor, not sure what's wrong here
    I am using NDS 7.0 SP18 and Adobe LiveCycle 8.0. Does that could be a problem.
    Appreciate your help
    John

  • Problem with data in Adobe Forms - partially displayed(first pade only)

    Hi all .
    I only start work  with Adobe Forms so I need your help .
    My form includes   table with lot of data .
    My problems are:
    1.only the first page with data is displayed and I don't see the rest  of data .
           What I need to define  for get all my data printed ?
    2. How can I print total at end of  table ?
                 Regards Helena .

    select the subform where your table body present , there you choose the pallete object inside you need to set.
    if you still have doubts see these blogs
    Adobe Forms Using:  Nested Table, Text Module & providing the functionality of Page Total & Grand Total
    Displaying Internal Table in Adobe Form

  • Error while calling a adobe form?

    Hi All,
    in my webdynpro component , i am calling adobe form.but  i am getting error as mentioned below.
    Error when processing your  request .......
    Webdynpro Exception:The ADS call has failed.you can find information about the
    cause in the error.pdf on the application server.
    why this error coming? even when i  execute a standard application also i am getting this.why?
    Regards,
    lakshmi.

    Abhi
    I too got the same error:
    WebDynpro Exception: The ADS call has failed. You can find information about the cause in the error.
    I refered the link provided by you for testing the ADS configuration and it displayed a 2 page report.
    Is that mean that there is a problem in my form?
    Regards
    Vijai

  • Error while Uploading Interactive Adobe Form

    Hi,
    I have been given a template Interactive Adobe form by Adobe which i have to upload in SAP. I created a test interface and form then i am trying to import the template into the layout. I get following error -
    " Can not Load: "http://dldtc00.wdf.sap.corp:5800/sap/bc/soap/wsdl11?services=test&sap-client120&sap-user=ag&sap-password=d01&. Check that path is correct and that the file is a valid WSDL file."
    Could you please tell me why am i getting this error and how to fix it?
    Thanks,
    Amit

    Abhi
    I too got the same error:
    WebDynpro Exception: The ADS call has failed. You can find information about the cause in the error.
    I refered the link provided by you for testing the ADS configuration and it displayed a 2 page report.
    Is that mean that there is a problem in my form?
    Regards
    Vijai

  • Printing sales order details using adobe forms

    hi all,
    i need to print the sales order header and the respective item details using the adobe form.my requirement is to print the header on each and every page.
    for suppose my header is say '1' it contains 20 item details,and the page can hold 15 item details.
    there the fist two pages should have the header number as '1' and ill trigger a new page when ever a new header comes.so that the next details starts from fresh page.
    i am getting the item details on each and evry page.i want to get the header details also on the each and everypage.
    can anyone suggest me good answer.

    Hi
         If you want to get the header details on every page, do the following steps
               a) Select the Header row of a Table
               b) Go to the Object palette, select the Pagination tab
               c) Under Pagination tab check the check box "Include Header row in Subsequent Pages"
                  So that the header will come on all the pages
    Path: Select Header row -> Object palette -> Pagination tab -> Include Header row in Subsequent Pages
    Thanks
    Srikanth(sriiiiiiii)

  • Printing data from table in Adobe Form.

    Hi all,
        How can i print all data from my internal table in adobe form.currently only last record from table is getting printed.i have put my table is in sub form and content i have made 'Flowed'. is there anything else i have to do to make all data from my internal table appear.
    Thanks & Regards,
    Anjana Rao

    HI Nimesh,
    This looks ok and works well, but the problem is its not printing the header data, all the headings its leaving that place as blank. Do you have any suggestion for this. This is the code is used.
    DATA: pgm LIKE sy-repid,
            tc  TYPE cxtab_control.
      pgm = sy-repid.
      tc  = tab.
    CALL FUNCTION 'FITRV_PRINT_TABLE_CONTROL_DATA'
        EXPORTING
          TABLE_CONTROL                        =  tc
          CALLBACK_PROGRAM                     =  pgm
         CALLBACK_TOP_OF_LIST                 =    'TABLE_TOP_OF_LIST'
        CALLBACK_TOP_OF_PAGE                 =
        CALLBACK_END_OF_PAGE                 =
        CALLBACK_END_OF_LIST                 =
         OPTIMIZE_COLUMN_WIDTH                = 'X'
         GET_CURR_QUAN_FIELDS_FROM_DDIC       = 'X'
        WINDOW_TITLE                         = 'PRINT TABLE'
          PRINT_IMMEDIATELY                    = 'X'
        TABLES
          PRINT_DATA                           =  ITAB
       EXCEPTIONS
         COLUMN_INFORMATION_MISSING           = 1
         PRINTING_NOT_POSSIBLE                = 2
         OTHERS                               = 3
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Thanks,
    Venkat

  • Problem with translation of Adobe forms

    Hi Friends,
    Right now I am working with Adobe forms.
    While Translating the forms from English into Spansih I am encountering a problem.
    Even though it is Translated into spanish, if I login in spanish (ES) and see the Text is stil in English.
    the text is in 'TEXT' field.
    Kindly, Help me in solving the problem.
    Regards,
    Xavier.P

    When translating your form MAKE SURE YOU LOGIN TO SAP WITH THE TARGET LANAGUAGE FOR TRANSLATION!
    For example, if you have an english form and want to translate it to spanish, login in spanish, go to SFP and do your translation to spanish. It should have a pop-up shown that says "original language" is English....keep it as that.
    Not sure why it works this way, but it does. I would love to be able to login in English and then simply do all my other translations from there, but it doesn't work that way.

  • Problem in executing the adobe form

    Hi,
    Using the SFP tcode i have createda an interface and a form for that interface.
    i have to import parameters from vbap table which i have mapped in the form..there is no problem while executing and activating the form...
    but while i am executing the form after passing the values i am getting an exception : SYSTEM ERROR
    Meassage ID: FPRUNX
    ADS: SOAP Runtime Exception: CSoap Exception Transport.
    Are the forms craeted using SFP tcode are Standalone forms i.e. non-interactive forms?

    Hi friend,
    Its not like that the Adobe created using SFP is non interactive.
    We can create interactive forms using SFP transaction using java code.
    I think it will be the problem with ADS just check with your basis people i think they will configure you the settings which works fine.
    To check whether the settings are perfect you can try executing the standard programs FP_TEST_00 and
    FP_PDF_TEST_00. If it works fine then some other problem exists else check with your basis team.
    Just check this and revert me if you have any issues. I will help you
    Thanks,
    Sri Hari

Maybe you are looking for

  • How do I set a default page size, orientation, and printer for a particular document in Pages?

    I have a simple label document in Pages which I print to my label printer. The label is 1.49 x 3.47 inches and needs to print in Landscape, and it needs to print to my Dymo label printer. How do I set up the Page Setup or Print Setup so it defaults t

  • IPhone 4 unable to charge and USB not recognized?

    Hi, I've just got my iPhone replaced because the old screen is broken. In this new iPhone 4. The camera rear, when I take photos, there is a slightly transparent black spot. It annoys me, but I chose to ignore. It was fine all morning, till BAM! This

  • Library sharing doesn't notice app updates

    This is more of a iTunes feature request, or maybe I just don't understand how to make this work. I am using iTunes 9.0.2 under Mac OS 10.5.8 (and also 10.4.11 and 10.6.2, my wife's and daughter's machines) and have set up library sharing. I have set

  • Replace Function Module 'BBP_ORGUNIT_GET_EMPLOYEES'

    Hi All,     we are in SRM5.0 upgrade. we are not able to find a replace function module of 'BBP_ORGUNIT_GET_EMPLOYEES' this.     if any one knows the replacement function module please and i could not find any replace function module in service marke

  • Sccm 2012r2ur2 imports duplicate drivers

    Hello, i was strongly under the impression that sccm2012 detects driver duplicates, and does not import a driver when it already exists in the DB. for the last year, this has proven to be true, if we imported several driver packages which contained t