Problem with adobe forms multiple pages

Hi
can someone help me how to get multiple pages in adobe forms in case the item lines exceeds the page capacity?
Thanks

It should not be much of a problem. Here is a detailed solution to your problem:
In your context , create a node MasterNode of cardinality 1...1 and singleton set to true. Bind this to the dataSource property of the InteractiveFormElement.
Inside this MasterNode create a node Data of cardinality 0...n and singleton set to false. Keep all of your payslip attributes inside this node.
In your interactive form element , in the Body Page create a subform of Type Flow Content and Flow Direction Table .Check the chechbox  for Allow Page Breaks within Context . Inside this subform create another subform of Type Flow Content and Flow Direction Western Text . Uncheck the checkbox for Allow Page Breaks within Context . Put all of your pay slip UI elements inside this subform and bind them with the attributes under the node Data. Also tick the property of the inner subform under the section Object->Subform that says Repeat Subform for each Data Item
In your view controller coding area , create an element of the node Data for each employee record and populate it with values for the particular employee . 
Add all of the elements that you created into an ArrayList and bind this ArrayList to the node Data. Now your form is ready for n number of employees.
Put this sort of coding in your view controller coding:
IDataElement objData = null;
ArrayList arlData = null;
int intNumberOfEmployees=0;
try
        arlData = new ArrayList();
        intNumberOfEmployees = //Get size of your model node that returns employee info
        if(intNumberOfEmployees>0)
                for(int i=0;i<intNumberOfEmployees;i++)
                        objData  = wdContext.createDataElement();
                        objData.setName("//Value fetched from backend here");//Eg:wdContext.nodeEmployeeInfo.getEmployeeInfoElementAt(i).getname()
                        //Similarly set all of the values
                        arlData.add(objData);
        wdContext.nodeData.bind(arlData);
Hope this helps you...

Similar Messages

  • Adobe forms-multiple pages display problem

    Hi All,
      I had a query regarding the display of multiple pages in adobe 5.5 version.
    I had data which suits in more than one page in adobe.But its displaying only the data in the first page.And it is displaying the empty second page also,but with no data.So any suggestions to solve this issue???

    Hi,
    version  5.5.1.280? It is version of Adobe Reader? If yes then you can't use this version for viewing of adobe forms (note 834573 - SAP Interactive Forms by Adobe: Acrobat/Reader version).
    Another suggestion: Is subform of your first Body Page flowed (tab Object->Subform, propertie Content)? If not then content of this Body Page can't dynamically grow.
    Check subforms of your Body Pages, especially tab Object->Pagination.
    Regards
    Michal

  • Problems with Adobe Forms

    Hi!
    I'm having a problem, when I insert a static text on my form and press the activation button it happens 2 things:
    1) the text on the static text erases
    2) the form doesn't activate
    If anyone can help me with any of my doubts, I'd be very pleased.
    Thanks!

    Perhaps your interpretation of the Master Page is different than mine.  I never put anything but static content in my Master Page.  For instance for the form in my weblog my Master page has a head with a logo and Footer with a page number and some static text. 
    In my Master Page I have single Page that I called MainPage. I then create a Content Area within this MainPage. 
    All of my variable elements go into a separate Page.  I set that entire page object as Flow Content (flow direction Top to Bottom) with Allow Page Breaks within Content marked.  I set the Place to (in Content Area "Name" where Name is the name of the Content Area in the Master Page).  The After is set to Go To Page MainPage(Back to the Master Page Object). 
    With this my paging with tables and Master Page content all work correctly.  I can do page breaks and repeat my table headers, but continue the content normally.  Hopefully this helps.

  • Problem with Adobe Forms

    I am getting error with ADS Forms. Please find the logs.
    Date , Time , Message , Severity , Category , Location , Application , User10/28/2009 , 13:00:29:567 , 
    [EXCEPTION]
    com.sap.engine.services.ejb.exceptions.BaseEJBException: Transaction system failure in method rpData.     at
    com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:177)     at sun.reflect.GeneratedMethodAccessor541.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)     at java.lang.reflect.Method.invoke(Method.java:324)     at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)     at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)     at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)     at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)     at SoapServlet.doPost(SoapServlet.java:51)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)     at java.security.AccessController.doPrivileged(Native Method)     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)Caused by: com.sap.engine.services.ts.exceptions.BaseRollbackException: Transaction ( SAP J2EE Engine JTA Transaction : [11effffff96ffffff9a0019ffffffef] ) is or is being rolled back.     at com.sap.engine.services.ts.jta.impl.TransactionImpl.commit(TransactionImpl.java:305)     at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:174)     ... 24 moreCaused by: javax.transaction.xa.XAException     at com.adobe.service.J2EEResourcePeerImpl.prepare(J2EEResourcePeerImpl.java:162)     at com.sap.engine.services.ts.jta.impl.ResourceList.prepare(ResourceList.java:99)     at com.sap.engine.services.ts.jta.impl.TransactionImpl.commit(TransactionImpl.java:277)     ... 25 morecom.sap.engine.services.ts.exceptions.BaseRollbackException: Transaction ( SAP J2EE Engine JTA Transaction : [11effffff96ffffff9a0019ffffffef] ) is or is being rolled back.     at com.sap.engine.services.ts.jta.impl.TransactionImpl.commit(TransactionImpl.java:305)     at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:174)     at sun.reflect.GeneratedMethodAccessor541.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)     at java.lang.reflect.Method.invoke(Method.java:324)     at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)     at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)     at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)     at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)     at SoapServlet.doPost(SoapServlet.java:51)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)     at java.security.AccessController.doPrivileged(Native Method)     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)Caused by: javax.transaction.xa.XAException     at com.adobe.service.J2EEResourcePeerImpl.prepare(J2EEResourcePeerImpl.java:162)     at com.sap.engine.services.ts.jta.impl.ResourceList.prepare(ResourceList.java:99)     at com.sap.engine.services.ts.jta.impl.TransactionImpl.commit(TransactionImpl.java:277)     ... 25 more , Error ,  , com.sap.engine.services.ejb , com.adobe/AdobeDocumentServices , Guest

    hi anil,
    well my error is following:
    java.lang.NullPointerException
         at com.sap.adobe.comp.AdobeComponentView.wdDoInit(AdobeComponentView.java:100)
         at com.sap.adobe.comp.wdp.InternalAdobeComponentView.wdDoInit(InternalAdobeComponentView.java:142)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:274)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:540)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:422)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)....
    can u tell me what is wrong in it?
    thanks in advance
    Srikant

  • Problem with Adobe Forms - Layout designer just closed.

    Dear All,
    When I start to edit some PDF form in SFP transaciton I get crash all of SAP GUI programms on my PC. It all  just has closed and that's all. No errors, no message.
    This is heppened whith installed:
    Adobe Life cycle Designer 7.0
    Adobe Life cycle Designer 7.1
    Adobe Life cycle Designer 8.0
    When I started edit PDF with this ver. Adobe Life cycle Designer 9.0, I get error "Can't create new document".
    I guess there is a problem in files C:\Documents and Settings\[username]\Local Settings\Application Data\SAP\SAP GUI\*.tmp
    In opened one I have next error in file:
    a "begining" is correct, but  a "end" hasn't correct end of xml structure.
    may be I wrong ....
    Does anybody know wath is the problem?
    Thank you.
    P.S. Information of system.
    SAP PC VERSION INFORMATION: sapfront.dll
    MAIN MODULE INFORMATION:
       sapfront.dll
       SAP- SAP Front for Windows
       720 Final Release
       7200.3.7.3213
       1257409
    SYSTEM INFORMATION:
       Operating system: Microsoft Windows XP 5.1 (2600)
                         Service Pack 3
    path............: C:\Program Files\SAP\FrontEnd\SAPgui;C:\Program Files\Common Files\SAP Shared;C:\Program Files\SAP\SAPsetup\setup;C:\Ruby193\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\HPQ\IAM\bin;C:\Program Files\fop-0.95\;C:\Program Files\QuickTime\QTSystem\;C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\;C:\Program Files\GammaTech\TumarCSP\lib;C:\Program Files\IronRuby 1.1\bin;C:\Program Files\Vim\vim73\;C:\MinGW\msys\1.0\bin\;C:\MinGW\bin\;C:\Program Files\Java\jre6\bin\;C:\WINDOWS\Micr
    Moderator Message: There is a dedicated forum for Adobe Interactive Forms. Please post your question there.
    Edited by: kishan P on Feb 1, 2012 12:11 PM
    Edited by: Sergei Rykov on Feb 1, 2012 7:46 AM

    Hi,
    This error due to installation. Please confirm Java stack is implemented.
    Please have a look at this to:
    https://service.sap.com/sap/support/notes/834573
    Regards,
    Karthik.

  • Data passing problem with Adobe Form & Guided Procedure

    Hello all,
    I am trying to create a Guided Procedure to implement an offline Adobe Interactive form. This form is based on the standard Requisition Request form used in MSS for e-Recruiting.
    I've copied the standard form and updated the layout to ZCI using the appropriate transaction (not manually). After that, I've changed the Interface and layout. But to get the Form in the portal you need to have a .xpd file. Therefore, I've tested the form in preview mode, saved a copy as a PDF file and opened this copy in the standalone Adobe Lifecycler Designer. In the standalone version you are able to save the form as a PDF (not possible using transaction SFP).
    My question 1 is if this is a wrong approach and there is a better way to retrieve the xpd file.
    Next to that, I wrote a RFC function to retrieve data in the backend. This function is working and now I try to pass the data to the Form in the GP (using prefilling). The data is never passed, any points that I need to check there. The data used to export is a structure that contains a number of table types, because Adobe has issues with importing tables it seems. The form is working correctly in the backend.
    Points will be rewarded for helpfull awnsers!
    Kind regards & thanks in advance...

    Hi Eduard Vilar,
    Go to sfp transaction, open the respective form, enter the transaction 'fb_xdp_down' to import the xdp layout and 'fb_xdp_up' to upload.
    Hope this will hwlp. (i beleive you meant xdp rather than xpd )
    - anto.

  • Problem with Adobe Forms - Layout designer doesn't start

    Hello Masters:
    I have a problem in transaction SFP. when I try to open the layout tab, I'm receiving the next error message: "Could not start Layout Designer".
    I installed Adobe reader 9, LiveCycle Designer ES 8.2 and then I re-installed SAPGUI, but it doesn´t work yet.
    Does anybody know wath is the problem?
    Thank you.

    Hi,
    This error due to installation. Please confirm Java stack is implemented.
    Please have a look at this to:
    https://service.sap.com/sap/support/notes/834573
    Regards,
    Karthik.

  • Problem with Adobe form in WD ABAP

    Hi All,
             I am doing a simple printform which has to just display the data in PDF. I have a view, where I take the customer number as input and click on the button.
    And in the form I display all the customer data.
    Problem:When I click on the button on my view(not in PDF form) I get no error but just the wait symbol.
    Please help me to resolve this problem.
    Thanks in Advance.
    Sethu

    Check your ADS configuration.
    Raja T

  • Problem with tables spanning multiple pages

    I have used Pages early on before Numbers to track my small business expenses vs income. I use tables to manage this by clicking outside the page so it can be unrestricted by text fields but it creates a problem.
    Problem: free floating tables when rows continue past the footer, don't auto format onto another page.
    Needed solution: How do I format the table so it automatically formats the total bar onto the next page without changing my existing layouts?

    I have used Pages early on before Numbers to track my small business expenses vs income. I use tables to manage this by clicking outside the page so it can be unrestricted by text fields but it creates a problem.
    Problem: free floating tables when rows continue past the footer, don't auto format onto another page.
    Needed solution: How do I format the table so it automatically formats the total bar onto the next page without changing my existing layouts?

  • Problem with Adobe forms layout

    I am trying to create a PDF form using SFP transaction.
    When I switch to 'Layout' tab it is giving error like  'Could not start layout designer(see the long text)'
    I guess the ADS services are not registerd in my system.
    But where I need to check for this?
    additional info: I am using SAP ECC 6.0 latest version
    Please help me

    Hi Chitra,
    Below is the procedure to check ADS in ABAP:
    1. Log on to your SAP Net Weaver AS ABAP.
    2. Call transaction SA38 and enter the name FP_TEST_00.
    3. Choose Execute (F8). A dialog box is displayed.
    4. Enter FP_TEST_00 in the field Form.
    This is displayed as the default form name.
    5. Enter the name of the connection to the ADS. Enter the default name ADS, or, if you have specified another name, the one you are using in your system.
    6. In the dialog box, choose Output in Print Preview.
    7. Enter an appropriate device type in the field Output Device.
    8. Choose Print Preview.
    Hope this helps!!
    Cheers,
    Arafat

  • Session problem with a form that calls psp web page.

    Hi,
    My unique form is based on table A.
    Within the form I call a stored procedure, which insert data from A into tables B,C,D
    And then within the same form I call a psp procedure using web.show_document('http://server:8080/plsql/psp_procedure?pvId=1001);
    The plsql web page displays data from tables B,C,D for each single pvId.
    The problem is:
    If any commit is issued the psp web page contains no data from B,C,D.
    I suppose I'm working with two different sessions, can I work within the same one?
    Thanks

    Hi,
    I'd say the main problem is that you have both rows with the same name 'Rangée1'. This is not a good idea, especially as the first row is the repeatable row.
    When objects have the same name, you can see the instances in the hierarchy, eg 'Rangée1[0]' and 'Rangée1[1]'. The instances use a zreo-based numbering system.
    By the way you can also see it in the Object > Binding tab:
    So that is when you have multiple objects with the same name.
    The problem with your form is that when objects are repeated (add new instance button), then these new objects also have instances, eg 'Rangée1[0]', 'Rangée1[1]', 'Rangée1[2]', etc.
    So the Acrobat gets confused ;-)
    I have renamed the second row 'Rangée2'. That seems to have solved the problem.
    Here is the form back to you: https://acrobat.com/#d=jcCs7X85xeRYQjvI2Yb*Cw
    Good luck,
    Niall

  • Hi, I'm having problems with viewing a web page created with Adobe Muse CC latest release, I followed the various guides provided by Adobe, but the problem persists. The problem especially concerns the distorted display (the contents do not fit on the pag

    Hi, I'm having problems with viewing a web page created with Adobe Muse CC latest release, I followed the various guides provided by Adobe, but the problem persists. The problem especially concerns the distorted display (the contents do not fit on the page, so it suits size automatically) to a mobile web page to be displayed not on a normal browser, but in a WebView.

    Hi, I'm having problems with viewing a web page created with Adobe Muse CC latest release, I followed the various guides provided by Adobe, but the problem persists. The problem especially concerns the distorted display (the contents do not fit on the page, so it suits size automatically) to a mobile web page to be displayed not on a normal browser, but in a WebView.

  • Adobe Form - Print page at the end for every record of a Z table with Text

    Hello friends, I am facing a challenging here and I need to develop the following below. Mind you, I don't have much exposure/experience with Adobe Forms
    Scenario: Standard REAL ESTATE Contract Form
    I have a Z table containing RENTAL OBJECTS, in my case 3 records and I want, at the end of the form print one page like below to each record that i have in my Z table.
    "Dear Z-field1 one, regarding your contract for Z-field2, Address Z-field3, blah blah blah"
    In essence, print a page for each one of them at the end, with the text above using the fields from the z table.
    I searched the forum and couldn't find any thing like it.
    If someone can help it would be much appreciated.
    Thanks, Marco

    Hi Marco,
    You must be having the ztable fields in the context or in the data heirarchy of the adobe form.
    Assume that your main form is on the page1.
    Create a table bound to ztable with 3 rows in it and make it invisible on the form.
    Below the form create 3 pages page2, page3 and page4.
    Create a ISR text display and on the initialise event write the code such as:
    this.rawValue = data.page1.Table2.Row1.Cell1.rawValue;
    Create as many ISR texts as you want and initialize it using the above method.
    Page1
    form
    Page2
    Row1 values
    Page3
    Row2 Values
    Page4
    Row3 Values
    Hope this helps.

  • Problem when working with adobe forms

    hi friends,
    i am new to interactive adobe forms
    i am following the tutorials for learning adobe forms
    when i am working with adobe forms error was occured.
    cannot find PDL type for output device local
    Device type unsuitable for ADS documents
    and i am searching for related documents in sdn
    i had found no. of documents related to this issue but i can't find the proper solution
    i have already installed Adobe Life Cycle Designer.
    can anyone explain me clearly about the issue.
    thanks in advance.
    Regards,
    karunakar

    Check this link (and don't forget to search the forums next time...!)
    Re: Adobe document service error: SOAP Runtime Exception
    Regards,
    Trond

  • Problem with printing dynamically created pages

    Hello,
    I have created a form in Designer 7.1 with one page. When clicking the Print button the script generates additional pages with the instance manager (addInstance) and then I want to print the generated pages. However, when using 'xfa.host.numPages - 1' in the print statement only the first page is printed. When I use a static end value, I get an error message with 'wrong end value for print'. Does anybody know, what I have been missing?
    Thanks, Karin

    No problem with Adobe Reader 8 or 9 .

Maybe you are looking for

  • PHP & ORACLE Connectivity on Solaris

    Hi all, You can check this site for PHP and Oracle connection tutorial. It is intended to installing Apache and PHP with Oracle support and connecting and using Oracle via PHP. Page URL : http://gokmen.selcuk.edu.tr/tutor/orasol/ociphp.php Additional

  • How to turn off "putting depending files" ?

    Is there such option in DW ? I do not upload automaticly all the related files, I just want to upload one saved file. Anyone can help?

  • "Missing IN or OUT parameter at index:: 1" - dbms_xmlquery vs dbms_xmlgen

    It looks like DBMS_XMLQuery doesn't like bind variables among selected columns. While DBMS_XMLGEN handles them without any problems. A simple example: -- xml query - fails declare ctx dbms_xmlquery.ctxHandle; begin ctx := dbms_xmlquery.newContext( 's

  • CS6 Building Histograms on every action

    I am on OSX using Photoshop CS6. For a couple months now I have experienced the "Building Histograms" dialog appearing on nearly every move or action; moving an object, adjusting a shape, zooming in & out, simply selecting an object. The building of

  • Manually replace files on Time Machine

    I accidentally deleted my time machine backup. I was able to save the folder with all of the files onto my internal hard drive but now I can't figure out how to put it back on the time machine drive.  It keeps telling me that that folder can not be a