Adding dynamic size table to Interactive Form

Hello everyone,
I have a node with multiple elements that i would like to show in an interactive pdf form.
I'm using the Adobe LiveCycle Designer to do it, but i'm only managing to bind "solo" variables, not tables.
How can i associate dynamically a table with several lines to a pdf interactive form ? I tried a list box but i still only get the first element shown in the box. Am i doing anything wrong ?
             Thank you in advance.
                       Nuno Santos

Hi,
Basically the general way to add a table to INteractive form is by adding a subform elemet to a subform element and(i mean subform in a subform), now map the fields u want to be displayed as a table.
For the fisrt subform set the LayoutType-Flow Content,Flow DirectionTable.
Then select the allow page breaks within the content option.
And the binding should be Normal.
for the second subform:
LayoutType-Flow Content,Flow DirectionTable row.
Now also select the option allow page breaks.
Then for Binding tab: select the Repeat Subform for each data Item, then min count=1.
And now if ur table columns contain names like abc, def and xyz.
Then in the script editor code something like this
abc[*]; under show: initilaze, language: Formcalc and Run at: client
Hope this should work out for you.
let me know if u have any more queries.
Thanks,
Lohi

Similar Messages

  • Regarding dynamic tables in interactive forms

    Hi All,
            I have designed a webdynpro view which contains a table,i have to generate a pdf format file which also contains
    a table as there in the webdynpro view.
            I  have designed a dynamic table in interactive form and binded the interactive form ui element with the datasource and pdfSource.
    In the interactive form i am getting only one row data of webdynpro view table.In the Object palette, I selected Repeat Row For Each Data Item.
           share with me if u have any idea or send any document regarding table binding(dynamic) in interactive form.
    Thanks & Regards,
    saleem

    Hi saleem..
    Check this link..
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0401535-f81c-2a10-0192-ffd41e8e8d59">Dynamic interactive forms an example</a>
    https://www.sdn.sap.com/irj/sdn/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#47
    Urs Gs

  • Saving values into table from Interactive Form

    Hallo together,
    iam trying to do the example "Include Tables" (SAP Interactive Forms by Adobe - Galileo Press).
    It works, but not as described. When i want to change data in the interactive_forms ui element and press the webdynpro native button send, the value at the webdynpro table does not change. When i change the value at the webdynpro table and press the send button at the form or change the line at the webdynpro, the value in the adobe formular changes too. Thats one problem.
    The other problem is that i want to save the changed/added data from the formular at the database. What to do? The form layout is "ZCI Layout" and i added the script:
    DO NOT MODIFY THE CODE BEYOND THIS POINT - 800.20070708051308.406522.403406 - ContainerFoundation_JS
    I also added this into "wddomodifyview":
    METHOD wddomodifyview .
      DATA: lr_interactive_form TYPE REF TO cl_wd_interactive_form,
                 lr_method_handler TYPE REF TO if_wd_iactive_form_method_hndl.
      CHECK first_time = abap_true.
      lr_interactive_form ?= view->get_element( 'FORM' ).
      lr_method_handler ?= lr_interactive_form->_method_handler.
      lr_method_handler->set_legacy_editing_enabled( abap_true ).
    ENDMETHOD.
    I selected also:
    execute at: "Server and Client"
    I dont know what to do anymore.
    Best regards
    Philip

    Hi,
    To make an input enabled table. I would suggest to use TABLE element from the PDF library and then binding the columns from your context.
    Step 1: Library -> Standard ->Table
    Select create using assistance.
    Select body rows vary depending on data .
    Select number of Columns in your case it will be 4.
    Then proceed further and finish as per your need.
    Step 2:
    Select a table Column .
    Select Pallets->Object then chnage the cell type from Text to text field.
    Then click on binding tab and bind it to the respective field from hierarchy.
    Select upgrade the following properties radio button and check only "default value" option.
    This will create binding something like this $record.SCARR.DATA[*].CARRID
    Follow this for all other columns.
    Step 3:
    Now create a button in the View holding your form(you can also use SUBMIT button of form). On action event of this button right the following code to get all the changed values from Table.
    data lt_scarr type wd_this->elements_scarr.
      call method lo_nd_scarr->get_static_attributes_table
        importing
          table = lt_scarr.
    LT_SCARR will contain all the new values from Form. Then use this table to update ur database table.
    Thanks,
    Abhishek

  • How to create table in interactive form via Java Web Dynpro

    Hi,
    How to create table in interactive form via Java Web Dynpro ?
    Any online tutorial / example ?
    Thank you.
    Regards,
    Eric

    Hi Eric,
    Just choose the UI element Table from Form Library and drag and drop it on the form. now choose the no. of rows and columns and other settings you want about table from the wizard initiated through this process. This all is what you have to do to create the table. Now to bind it to the fields of the data source bind the individual colums to individual attributes of the node in the datasource.
    Hope it will solve your query.
    Regards,
    Vaibhav Tiwari.

  • Generate Dynamic fields in an Interactive Form

    Hello,
    I would like to know if it is possible to generate dynamic fields in an Interactive Forms ?
    Best regards,
    A.Henry

    Hi,
    Yes it can be implemented by using scripts.
    Here you can do the hide and visible things and once the field is binded in the interactive form that do not change.
    We can utilize the context node elements only once we can put into interactiveform only . we can not use as dynamically as Context attributes.
    What you are exactly looking for?
    Thanks,
    Lohi.
    Message was edited by:
            Lohitha M

  • Creation of table in interactive form

    hai,
    any one can explain me the creation of table in interactive forms transcation code(sfp) 
    or any can send any material because i am  new to  this, how to build interactive forms
    advance thanks.
    regards,
    shravanramidi .

    Hi,
    TRy https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cacb9a7d-0c01-0010-1281-be4962c9ab3e
    Regards,
    Shiva Kumar(Reward if helpful).

  • Dynamic table in interactive form...

    Hi Friends,
    I am a beginner in adobe forms development.
    I want to create an adobe form with dynamic internal table. I.e. addition of rows and deletion of rows dynamically. I have gone through some of the threads in SDN. But still I am not able to make it.
    I used following approach for the same. Kindly correct me if i am wrong.
    Step1: I have created a context with the required fields in webdynpro abap with cardinality 1..1.
    Step2: In the adobe form I created a table using table assistant.
    Step3: a.  Wrapped the table into a subform and set the content as "Flowed"
                b. Selected "Repeat Table item for Each Data Item" at table level and body level with min count as '1'.
                c. Selected "Repeat Table item for Each Data Item" at header row with min count and max as '1'.
    Step 4: Added two Webdynpro native submit buttons by name "Add" and "Delete" and coded as follows:
               For add button:
              var nTableLength = Table.nodes.length;
              var nNumRow = 0;
              for (var nCount = 0; nCount < nTableLength; nCount ++) {
              if ((Table.nodes.item(nCount).className == "subform") & (Table.nodes.item(nCount).name !== "HeaderRow")) {
             nNumRow = nNumRow + 1;
            if (nNumRow == 7) {
            xfa.host.messageBox("The maximum allowable number of rows is 7. You cannot add any more rows.", "Warning", 3);
           else {
            Items.Table.Row1.instanceManager.addInstance(1);
    Still dynamically rows are not getting created. But when i click on add/delete some process is happening.
    Do I need to write any logic in Webdynpro abap??.
    Please clarify.
    Thanks in advance.
    Regards,
    Phani.

    Hi Runal,
    I'm following your document, but I'm not getting the adobe forms buttons working. I try to put the code that you mention, but I got an error message in the WebDynpro View saying: "field get_element is unknown", this is the code that I'm adding in the
    method WDDOMODIFYVIEW.
    data: LR_INTERACTIVE_FORM type ref to CL_WD_INTERACTIVE_FORM,
          LR_METHOD_HANDLER type ref to IF_WD_IACTIVE_FORM_METHOD_HNDL.
    check first_time = abap_true.
      LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT(u2018ZDYN_TBL_FORMu2019).
      LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
      LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
    If I double click in the class CL_WD_INTERACTIVE_FORM, I can't see any method GET_ELEMENT.
    I don't know where the problem is, could you help me?
    thanks,
    Luis Lara

  • Dynamic table in interactive form & WD ABAP

    Hi,
          I have created a adobe interactive form adding the rows dynamically when pressing add button. The form works fine in Life cycle designer preview. But it doesnot work in Webdynpro ABAP runtime.
    Please let me know if any of you have a solution for the same.
    Regards,
    Vimal

    >
    Abhimanyu Lagishetti wrote:
    > change the displayType property of the interactive form and try
    > I had this problem long back, submit button was not working when changed this property it started working
    >
    > i hope it is helpful
    >
    > Abhi
    Actually be careful. Just changing the displayType probably isn't enough.  If you change from ActiveX to Native, you also must adjust the form itself - converting the form type and adding the JavaScript Header. And also Native (or ZCI) based forms are only available after SP12. If your system patch level is older than that release you might still have problems. 
    The ACF based forms do require an ActiveX control that gets pushed to the frontend. So this limits their browser support and also requires a version of the ACF control that matches your server.  So sometimes you get an ACF version mismatch if you work with multiple servers on different release levels.  ActiveX controls can also be blocked in IE depending upon the security settings that your company imposes.
    So first of all - do the SAP example ACF form applications work for you?  If they work, but this form doesn't then the problem may still be in the form itself.
    Two - are you at a release level where you can use Native forms instead?  If so you might consider going back to your Forms team and have them conver the form for you and use the Native display type.  This will reduce the complixity of having to rely on an ActiveX control. Finally if you are stuck with ACF then you need to start troubleshooting your security browser settings and/or the version of the ACF control that is installed on your desktop.

  • Dynamically increasing the rows of a table in interactive forms.

    Hi All,
       I am new to adobe forms.I am developing an interactive form in webdynpro abap.I have a requirement such that i have 3 columns in a table and the first 5 rows are default i.e, i will add it during design time.when we enter something in the 5th row,6th row should automatically be created which wil be empty.I also need to retrieve the data back into the webdynpro component when user enters something in it and clicks the submit button.can anyone tel me how wil i generate this table and when someone enters something into the form how wil i store the data back in the component.
    my context node has hours ,minutes and call code as attributes which wil be the column names.
    Thanks in advance.
    Regards,
    Srividya.

    Hi Srividya,
    For flow of data from the form to webdynpro. Do the follwing:
    Suppose you have a table on the form and you want to pass data from this form to web dynpro.
    1. Create a node of cardinality 0...n or 1.....n. Add attributes to this. Now this node is as a internal table and the attributes are like intenal table fields.
    2. When creating the form. Use This node as the data source for the form.
    3. Now its easy in webdynpro ABAP to create a table on the Adobe form. Just drag and drop the Data node(from which you want to create table) from the data view on the designer on to the form.
    4. Now its already bound to the node you have created and whatever data you will enter in the table that will be reflected to the node. and you can check it by creating a table on the view from the same node.
    5. After you will click on submit button the data will reflect to table on  webdynpro view.
    If its not works then problem could be that the ACF is not installed on your system due to which button is not processing and fields are not reflecting data.
    For ACF you can search it on SAP service market place.
    Hope it will help.
    Regards,
    Vaibhav Tiwari.

  • Dynamic images in an interactive form

    Hi all,
    in adobe lifecycle designer I created a table that displays information of specific materials from mara. The table exists of four columns. Three of these columns display the material information (matnr, mtart, mbrsh) and one column should display a picture of the material.
    In ABAP coding I inserted a "Selection Option" where the user can choose some materials he wants to display.
    The pictures are imported into se78. In ABAP coding I use the method "cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp" to get the necessary picture.
    I also created a graphic node in context menu of the formular for data binding but the problem is that I only get the same picture for al materials displayed in the table.
    I think that it is not working with the graphic node. But has anyone a solution for me?
    Thanks alot in advance.
    Best regards
    Sven

    Hi,
    Yes it can be implemented by using scripts.
    Here you can do the hide and visible things and once the field is binded in the interactive form that do not change.
    We can utilize the context node elements only once we can put into interactiveform only . we can not use as dynamically as Context attributes.
    What you are exactly looking for?
    Thanks,
    Lohi.
    Message was edited by:
            Lohitha M

  • Getting when importing Dynamic PDF into Webdynpro Interactive form

    Hi Gurus,
    I have created a PDF(It has  text box with multiline) in Adobe livecycle Designer and saved as Dynamic PDF, then I imported into Webdynpro interactive form.If I
    import only first page of the form and run WD application, i am getting
    the output, Still text with expand is not working.
    But If I try to import the form with 4 pages and run the WD
    application, it is throwing the following error
    "The following error text was processed in the system SM1 : WebDynpro
    Exception: SOAP Framework error: SOAP Runtime Exception:
    CSoapExceptionFault : SOAP fault found in SOAP document /Transaction
    system failure in method
    rpData./<ns1:com.sap.engine.services.ejb.exceptions.BaseEJBException
    xmlns:ns1="http://sap-j2ee-engine/client-runtime-error">Transaction
    (100,102).
    Please help me on this.
    Thanks,
    John

    Hello,
    I closed this thread. As you opened two.
    Best regards,
    Dezso

  • Table in interactive form using webynpro for abap

    Hi All,
    I am working on itercative form in adobe forms.I had a problem.
    I have one field in webdynpro and interactive form in my view.
    In interiae form layout i have a table which should be populated based on the input given in the field context attribute.
    in layout i have 5 fields from 2 fields should poulated based on the input 3 fields user can enter anything i.e these three fields should be interactive.
    I am able to sucessfully fill the data if i set 'Enabled' property to space in element interactive form.If i set enabled property i am not able see any data i my form.
    How can i do this happen.I am very confused.I searched in many forums everybody says that if you put 'Enbaled' check box in interactive that will became a interactive form.
    Thanks,
    Thragini

    Hi..
    use normal wedynpro codeings for table also..
    interactive form is a one of the GUI element in WD.so asual just  create one attribute for input.
    and one node for table bind the node to table. create action for input inside the action write select query in where condition give the readed value  and  once you create the inteactive form throuth the interface values will be shared automatically ..
    regards
    jayaprakash T

  • Change visibility of table in interactive form through scripting

    Hi all,
    I am designing an interactive form in wd java. I used a table to display records in the interactive form.I want to make the table invisible if there is no data in the node. The table is wrapped in a subform . What scripting I need to do to make the table invisible if there is no data in the table node.
    Thanks,
    Satish Kumar

    Dear Sathish,
    I dont think there is direct way to control the visibility property in the Interactive form. Instead, you can create a table inside a subform and change the Subform Content Property to "Flowed".
    You will be having a node assigned to the table. Instantiate the node twice, say first time for the heading row and the second time for the table content. and do this under the ciondition if the table is not enpty. This way you can control the visibility of the table and it is so simple.
    if(<tablevalues> == null)
    <Dont create any nodes>
    else
    //For Table Heading
    IPrivate<>.ITestNode tn = wdcontext.nodeTest();
    IPrivate<>.ITestElement tne = wdcontext.createTestElement());
    tn.add(tne);
    //For Table content
    IPrivate<>.ITestNode tn1 = wdcontext.nodeTest();
    IPrivate<>.ITestElement tne1 = wdcontext.createTestElement());
    tn1.add(tne1);
    Thanks,
    Vivek.

  • Adding a new table in smart form

    HI,
    I want to add a new table to a smartform. like say i want to print LIKP-ROUTE in the main window of the smart form, (islikp like likp)
    I have added this table in the table tab of form interface, then in the mainwindow, i have added a new loop and mentioned
    islikp into islikp.
    and in text i have mentioned
    route : &likp-Route&.
    But its giving a dump.
    Do i have to a create a new program and add the function module.
    pls suggest.
    Thanks,

    If you are passing the internal table values from the driver program, then you need to export the internal table from the driver program and have to declare it in the 'Tables" tab of the form interface in the smartform.
    Eg:-
      CALL FUNCTION wrk_funcmodu
        EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
         control_parameters         = st_cntrl
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
         output_options             = st_outopt_info
      USER_SETTINGS              = 'X'
          invoiceno                  = wrk_doc_num
          invoicedt                  = wrk_doc_dt
       IMPORTING
      DOCUMENT_OUTPUT_INFO       =
         job_output_info            = st_prnout_info
      JOB_OUTPUT_OPTIONS         =
        TABLES
          it_likp                = it_likp
    If the internal table value is not passed from the driver program and if it has to be used inside the smartform then declare the internal table in the "Global definitions", under the tab "Global data".
    *intenal table declaration
    Variable name  type assignment            Associated type    
    IT_LIKP            TYPE TABLE OF     LIKP 
    WA_LIKP             TYPE          LIKP
    loop the internal table it_likp to loop into the work area wa_likp.
    drag and drop(from the fiel list) the work area field to the text element.

  • Problem with saving duplicated tables in interactive form

    Hi,
    I have an interactive form that contain a table with a row that contain "insert remove move " object .
    when i press the add button, it duplicate the table, but if i save the PDF and then open it again, the extra table does not appear,
    it seems like it never been save.
    do you knoe what is the problem? why the tables are not saved properly?
    thanks, Noa

    Hi,
    Try doing the following
    try using the simple 'Button'. In the button's object properties, in the tab named 'field', select 'Control Type: submit'.
    Then, in the 'submit' tab in the object properties, choose PDF in the 'submit format' dropdown field.
    In the 'submit to URL field' type:
    mailto:nameataddress.com?subject=mySubject&body=Done
    You may need to adjust the e-mail address, subject and body text.
    Regards
    Ayyapparaj

Maybe you are looking for

  • Anyone able to give simple 'how to install' instructions for linux ?

    I have a G5 1.8 with 3GB RAM; 80/160 internal SATA drives (the 160gb hd has 2 partitions and one with nothing on it) as well as a Lacie external 320 GB firewire drive. The empty partition on the 160gb drive has been created for Linux (if it ever gets

  • Have an AirPort Express - Need Help

    Got a new CenturyLink Modem/Router and am having TROUBLE resetting up my AirPort Express. Managed to get Century Link Wireless up and running. Then somehow created a Wireless WiFi Network which also seems to work. But the Amber light on the AirPort E

  • View State question - changing states and custom states

    Hi all, I'm working on an application that lets a user register for an event. Each event has associated child information: conferences, tickets, etc. associated with it. What I'm trying to do is create some sort of checkbox list so that, when a user

  • Oracle Forms 10g - logic for self-limiting dropboxes

    Hi all, I do not have any experience with Oracle Forms, and in fact don't even have it installed - what i'm trying to find out is whether something is feasible, and if so how hard it is to accomplish. I have three tables (we'll call them A, B and C).

  • Imported Mail messages not loading

    I have upgraded to Mountain Lion (finally) and the imported messages into my new version of Mail take ages to load, some of them dont load at all. I just get the spinning cartwheel of infinity and nothing else. Newly received messages are fine. Its j