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

Similar Messages

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

  • 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

  • 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

  • Merging of cells of a dynamic table in adobe form

    Hi,
    I am trying to Merge 2 columns in a dynamic table in adobe form.The requirement is to merge column 3 and column 4 if column 4 is empty. I used the below javascript code in both "Form ready " and Initialize event of the row.
    if (this.Cell4.rawValue == " ")
    this.Cell3.colSpan = "2";
    this.Cell4.presence = "hidden";
    Note : Since above code was not working , i used the below code in my subform also but it did not returned desired output.
    if(Table22.Row1.Cell1.rawValue == " ")
    Table22.Row1.Cell3.colSpan = "2";
    Table22.Row1.Cell4.presence = "hidden";
    The problem is that in my dynamic table , its the second row where the requirement is fulfilled ie in the 2nd entry of my table the column4 is blank (the exact row number might change depending on input data).
    is there a way to loop in the dynamic table and check if column 4 is empty for a particular row.
    the above code does not help to fulfill my requirements. kindly help.
    Thanks
    Aditi

    Hello Aditi priya,
    Hope you are doing good..
    Please go through my recent blog..
    http://scn.sap.com/community/interactive-forms-by-adobe/blog/2015/01/02/merging-internal-table-cells-dynamically-in-sap-adobe-forms-using-java-script-code
    I hope you will find all answers from this blog..Reward if helpful...
    Thanks & Regards,
    B Raghu Prasad

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

  • 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).

  • 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

  • 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 coloring in interactive form

    Hi
    I'm developing a PDF using Interactive form UI element.
    My requirement is to dynamically change the colour of values (based on the same values) that appear in text input fields as well as of the values that appear in table rows.
    Is this possible? If yes, kindly help me with an example.
    Your help is highly appreciated
    Regards,
    Ravikanth

    techincally, this is more of a Web Dynpro question...
    Have you thought that you might not have any data in whatever tables you're selecting from?
    SAP doesn't pre-load those flight data tables - you have to load them yourself.

  • 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

  • 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

  • ABAP WD application - Dynamic filling adobe interactive form

    Hi,
    I am developing a WD Application which has  Adobe interactive form in which when user enters an input field 1 it should automatically populate respective values for input field 2 in the same form.I have this relation maintained in ztable.
    How do we handle this?
    Rgds
    Vara

    Mahesh,
    Sorry for the confusion.
    Here is my req..
    My WD application will have a parameter-Inputfield1 for entering job number
    My interactive form will have
    - Inputfield1 as header.
    - A dynamic table with inputfield2 & inputfield3
    Inputfields2 as item values - should be filled automatically after user input inputfield1 ,
    inputfields3 will be manual entry from user
    Finally i should take all these 3 values and submit it to SAP.I can have a SUBMIT button for this at the end of the form.
    rgds
    vara

  • How do I create a dynamic table in the form for auto field detection?

    I am new to Acrobat. We need to create a form template that contains dynamic table control so that it can be populated using auto field detection.
    Our dynamic table contains reimbusement information, the rows vary from one claim to another.
    Please help. We are having Acrobat 9 Pro.
    Thanks
    Prasadh

    A lot is possible. There is a scripting language which should fill the gaps of missing features. There is data merge, there is XML, there is InCopy. Read everything about it and you will surely find what you need.

  • Dynamic Table in SMART FORMS

    Dear,
    I just want to pass dynamic internal table to smart form which i have created in print program.How it is possible and i am also using border for field in layout.
    Anuj Modi

    Hi Anuj Modi,
    Smart forms are not really dynamic (except if you are talking about the number of lines), could you please explain what rendering you want to achieve exactly?
    Sandra

Maybe you are looking for

  • Will 20" Cinema work with MacBook?

    I am looking at buying a used 20" Cinema Display and just read the specs on the Apple website. It does not list it as being compatible with the MacBook. Is anyone using a Cinema with a MacBook? Do you need a seperate connector? Also, I am moving from

  • Putting Google Before Wikipedia in Gnome 3 integrated search.

    This is just a little hack.  Hopefully others might find it useful. When utilizing Gnome 3's integrated search feature the user also has the option to search for what they're looking for either from Wikipedia or Google.  Apparently Gnome 3 is reading

  • Condition ja1x hscess coming twice in sales order

    Hi gurus i face aproblem in sales order processing in conditions condition ja1x coming twice frist its shows 0% & next value is 1%, i checked the condition record in vk12, fv12 but the condition maintained only 1% i also checked the tax code through

  • Best provider to user for asp classic to oracle 10g?

    can someone recommend the best data provider to use with an asp classic application and oracle 10g? something where there is good documentation? thanks in advance.

  • Aperture slideshow to DVD

    Is it possible once I finish my slideshow to burn it to a DVD? If so what's the process please. Thank you