Reading dynamic table in a interactive form (web dynpro)

Hi all,
I created a WebDynpro application which contains an Interactive Form. This form contains a dynamic table with input fields. New rows can be added manually using a button.
Now I have the following problem: How can I read all the rows of the table in my view after input? The input should be written into an itab.
Thanks a lot for your suggestions and your help!
Regards
Anna

Hi Anna,
Try the solution given in this link:
[Read Dynamic Table|Re: Data in dynamic table not pass to webdynpro java;
Hope this helps,
Amit

Similar Messages

  • Reading Dynamic Table Values in interactive form (web Dynpro ABAP)

    Hi All,
    I have created a Web Dynpro ABAP application which contains an Interactive Form, That Adobe Interactive Form contains Dynamic table (New rows can be added manually and deleted using a button).
    I am not able to read the Dynamic table values in Web Dynpro u201COn Submitu201D.
    In the Adobe form I have web Dynpro native button (I am using ZCI), while clicking the native button I need to read the dynamic table values.
    How can I resolve this problem.
    Thanks and Regards,
    Boopathi M

    that means, when u add the table instance at runtime, you will also have to add an element to the node that is bound to the table.
    probably addNew() mathos may be useful to you.
    it appends a new record to the record set.
    xfa.sourceSet.dataConnectionName.addNew()
    also when on the exit event of the table field, do the following:
    var i = xfa.parent.index
    $record.rootnodename.tablenodename.data<i>.fieldname = $.rawValue
    xfa.host.messageBox($record.rootnodename.tablenodename.data<i>.fieldname)

  • DYNAMIC TABLE IN WEBDYNPRO INTERACTIVE FORM TO WDCONTEXT

    Hi,
    I am working with Interactive Form in (Webdynpro Java). In that form i am having Dynamic table. For that Table datas are comes from Bapi.
    In that table i have ADD button to add a row. If i add a row and enter datas in that row means were it should be stored?
    How can i send those added datas to Bapi? There is any possible way in SP12?
    Please let me know if any way is there?
    Thanks,
    Senthil prabhu

    Hi,
    To add a row in dynamic table in interactive form How to create dynamic table in the interactive form
    also check page 11-13 in this docuemnt https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/63f09fc2-0401-0010-1482-dbf9891e7613
    after adding it you can send the table data to rfc asusal Problems while setting Multiple Rows of data as Table Parameter to the RFC
    give a lot at this too want to save data
    regards,
    Pradeep

  • DYNAMIC TABLE IN WEBDYNPRO INTERACTIVE FORM

    Hi,
      I am using dynamic table in interactive form(webdynpro java).  In that form i bind node for to populate the details for the table. The details should be come from RFC.
    The RFC contains more than one record. While i tried to populate all the records to the dynamic table i cant able to got all the datas. I got only one record to the table.
        Interactive Form table node structure is:
                Node                                          Cardinality                             Singleton
    vnPDFDataSource                                    1..1                                         true
            chnTableList                                     1..1                                         true
                           chnTableRow                     0..n                                         true
                                   chnRowData              1..n                                        false
                                             attr-1
                                               attr-2
                                                attr-n
    o   The nodes bound to table and row in Adobe form are:
    chnTableList u2013 bound to Table
    chnTableRow u2013 bound to Row   
    If anybody know means let me tell how to solve the problem.
    Thanks,
    Senthil prabhu

    Hi,
    To add a row in dynamic table in interactive form How to create dynamic table in the interactive form
    also check page 11-13 in this docuemnt https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/63f09fc2-0401-0010-1482-dbf9891e7613
    after adding it you can send the table data to rfc asusal Problems while setting Multiple Rows of data as Table Parameter to the RFC
    give a lot at this too want to save data
    regards,
    Pradeep

  • Drop down in dynamic table in the Adobe Interactive Form (Web dynpro ABAP)

    Hi All,
    I have scenario use drop down in dynamic table in the adobe interactive form (Using the button the dynamic table row will be increasing and decreasing).
    Assume I Add five rows dynamically in the dynamic table. The Last column contains Drop down.
    I have button in the adobe form.
    Button Name = u201CSAVEu201D
    Button type    = SAP Submit button (Native type u2013 I am Using ZCI).
    While clicking save button, I need to store the dynamic table datau2019s to back end system. I can able to store the data to back end system. After form data getting saved those particular values need to display in the adobe form. 
    Here I am facing a problem.
    I cannot able to view as a default value in the drop down, which I have selected some values after save operation I am not getting any values in the drop down as a default.
    Example:
    The dynamic table contains 5 rows (Each and every row Drop down contains one to ten values).
    1)     I have selected second value in the Drop down (ROW1)
    2)     I have selected fourth value in the Drop down (ROW2)
    3)     I have selected fifth value in the Drop down (ROW3)
    4)     I have selected seventh value in the Drop down (ROW4)
    5)     I have selected third value in the Drop down (ROW5)
    I press the save button that particular Drop down value gets saved in back end system and that particular values want display in the Drop down as a default value.
    How to resolve this problem.
    Regards,
    Boopathi M

    Hi,
    Solve the problem .
    I have created the New node for dropdown. also i have one node already for table.
    The new node i bind to dropdown, the table same for table.
    Its working fine
    Boopathi M

  • Dynamic table in webdynpro interactive form not working. Urgent

    Hi guys,
    I am facing a problem when trying to retreive data entered in interactive form dynamic table.i can get the data entered in non dynamic fields no problem.
    I have a node structure like this
    Root
       Data 1...1 singleton and non tried both
           Table 1...n singleton and non tried both
    In my adobe form i tried adding rows using add instance, and also using add button in webdynpro native. In the same method that adds row i simulated the submit button to create row in WD context! It adds rows but any data entered later is lost. One more thing i have noticed is it sometimes works after adding just one row! Data is passed to context but from next row it doesnt work! What am i missing?
    I also tried adding a button in webdynpro tray and adding the row directly to the context. new row is created in form but any data entered in new rows is lost!
    I am unable to obtain the data entered in Dynamic fields. I thought i would try the xml reading method but the problem is after crating a couple of rows dynamically if i go save pdf locally the new rows are not showing up in the pdf!
    I have seen a post which said using the if_wd_iactive handler to set the form as dynamic but that method is not available in our system! Sorry i am not in front of an SAP system so i cant type exact names!
    I tried using zci update program/ etc etc but i am still struggling at the moment. Any help would be much appreciated! Pls ask if you need more info.
    Regards
    Naresh
    Edited by: naresh dwadasi on Oct 7, 2011 9:05 PM

    problem solved! I had to recreate the form. not sure if i corrupted the webdynpro scripts etc by mistake.

  • Dynamic  table in Online Interactive form

    Hi,
    Scenario:
       I am doing an Online Interactive form scenario in WebDynpro for Java. In the form, i will be having a dynamic table(the number of rows will grow and shrink, with the help of ADD and DELETE ROW buttons). Initially, that table will have only one empty row.
    Imp: The fields in the table are bound to the data source node, whose cardinality is 1..n. (I want the data enetered in the table in Interactive form, to be updated in the WebDynpro context also).
    Problem: After deploying the application,
      I fill the first row, click ADD button. A new empty row is created. No problem here.
      I fill the second row. Then, when I click the ADD button, a new row is created, but with the values in second row.  
    Even if i create 10 new rows, the values are repeating in all those rows. If I change the value in a row, it reflects in all rows(except first row).
    Note: If the table fields are not bound to any data source node, then I dont have the above mentioned problem.
    Thanks,
    Prabhakar.

    Hi,Prabhakar
    In the note 1090464 It says that this is a limitation of the Subform Instance Controls(the same in table ui element).
    It looks like currently the only workaround is to build in advance empty nodes but then it limits the number of rows in your table.
    Regards,
    Michael

  • Dynamic table in Offline interactive form

    Hi Experts,
              I want to add dynamic table (for Purchase Order line items). Number of rows in table will depend on item in purchase order. So, table rows should be added and data can be entered in table rows.
             Can anyone give me the steps to solve this issue...
    Thanks in advance.
    Regards,
    Nilesh

    Hi,
    You can use Following JavaScript for adding row in the Table:
    xfa.resolveNode("Table.item").instanceManager.addInstance(1);
    Make sure you have made BP as Flowed Content and the Item and Table subform is also flowed content.
    Check the Min Row count checkbox of Item subform also
    Hope this helps.
    Amit

  • SUBMIT(to SAP) Button in Adobe Interactive Forms (Web Dynpro Java)

    Hi ,
    I m using Adobe Interactive Forms with Web Dynpro Java
    But submit to SAP button is not working
    i m using NWDS 7.2 with adobe lifecycledesigner 6.0
    with adobe reader 9.0
    when i click submit to SAP button in interactive form nothing happens and
    data is not transfered into web dynpro Context
    Can anybody help me out................

    Hi Adi,
    The evniorment and versions you posted seems to be quite scattered, make sure all are of compatible and to the lates.
    Anyways this was not the reason for your problem.
    Can you tace if the button click event is triggered ....?
    1) when the PDF is published can you see any of the fields editable...? reason behind is generally when you create a form in ADLC it comes up in static PDF format if its so you need to make it dynamic.
    I dont know if adding the webdynpro script to your form might fix.
    Regards,
    Sai

  • Adobe Interactive Forms - Web Dynpro: itab data not in textfield layout

    Hi,
    out of a web dynpro application i'm generating a pdf document which is filled with data out of an internal table. This data is displayed with a name and following the itab value. But it looks like the value is displayed in a textfield. I want the value to be displayed like a standard text.
    How can I realitze this?
    Thanks in advance,
    Tan

    Hi Tan,
    What do you mean by standard text..?
    is that mean you want to display the content as a label (static text field..?) if so there are 2 approaches.
    1) drag and drop the field from data view onto form and change the visual properties of the field.
    2) Have a static text on the form right click in it, select floating field option in context menu, a field is generated do data binding for this field.
    if even my understanding of your requirement is wrong provide more info on the UI presentation you are looking for ..
    Regards,
    Sai Krishna.

  • Offline Interactive Forms (Web Dynpro for ABAP)

    Hi Everyone.
    Please help me!!!
    Upload Offline PDF file to xstring context attribute by file upload in Web Dynpro parts.
    Set Offline PDF file uploaded via xstring context attribute in 'pdfSource' property of interactive form.
    I wish to view Offline PDF file and get data to context in 'dataSource' property of interactive form.
    Below restriction.
    - Web Dynpro for ABAP
    - Offline Interactive Forms
    - Zero Client Installation
    - ABAP Dictionary-Based Interface
    NetWeaver 7.0 (NW 7.0) SPS16

    Hi Daisuke,
    As per your requirement, to get done your work you need to create two Adobe Forms , one is for Offline Interactive Form and other is Online Interactive Form.
    In offline Interactive you design your form and define the Layout type as zci layout and Abap Dictionary Based interface. And by executing the form you can save the form to your desktop.
    Now in online Interactive Form you create the context similar to the one which has been created in the Offline Interactive Form. Now in one view you define the file upload functionality and in other view you define the adobe interactive form, for this the interface is automatically as it asks for the context and its of type XML based interface, also do maintain the context variable something like "PDFDATASTRING" with type XSTRING in the Component Controller and now in adobe view you give the property pdfstring as "PDFDATASTRING" and dont forget to provide the navigation of these two view, and set the File Upload View as default view.
    The above functionality can help you in some way or the other.
    Regards
    Pradeep Goli

  • Xfa.host.gotoURL() in Adobe Reader / Dynamic Tables with AcroForms?

    Hi All,
    I have a dynamic table in my LifeCycle form. Each table row contains a button that links to an external PDF file (using xfa.host.gotoURL). The links work fine in Acrobat 8 Pro, so far, so good... But when clicking the buttons in Reader 8, nothing happens. No error message or security warning, nothing...
    I searched the web and some forums for this problem and by reading between the lines of some posts I came to guess that my LifeCycle form will not work in Adobe Reader unless I purchase the respective LifeCycle Extensions license... :-/
    What exactly are my options now? Can I get the buttons to work in Adobe Reader somehow (using JS) without having to purchase the Reader Extensions? Or can I somehow recreate the dynamic table of the LifeCycle form using AcroForms in Acrobat 8 Pro to avoid the problem? If so, how do I add such a table using Acrobat's form tools...?
    Thanks for your help,
    Marcus

    Normal http://... URLs do indeed work, but relative URLs pointing to local files do not work with the Adobe Reader on my machine. I thought this might be due to a security restriction that can only be overcome by using the Reader Extensions...?
    Is there any other way of linking to other PDFs on the local machine than the gotoURL method? I also tried launchApp(), but it didn't work either.
    I currently use this statement to link to PDFs in a subfolder:
    xfa.host.gotoURL("TrainingGuides/"
    + docName + ".pdf", 1);

  • What does mean You can include static and dynamic tables into a Smart Form?

    Hi guys,
    If you check the official documentation for Smart forms in the Internet you will read that the initial pharagraphs of the text tell you "Tables - You can include static and dynamic tables into a Smart Form. Dynamic tables enable you to display tables whose size is determined only at the moment of their output by the number of the table items to be displayed". The link is the following: http://help.sap.com/saphelp_nw04/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm
    I was wondering if this means that I can use field symbols with dynamical number of columns to print a smart form. Because it would be great since the customer wanted a dynamical report depending on the week day it was (If Monday, there was only 12 columns, but if Friday, it will be 52 columns (1 column more for every day elapsed in the current week)). I had to create 5 different forms, but I think using field symbols I had spent less effort. Do you know if it is really possible? If not, then what does mean "You can include static and dynamic tables into a Smart Form"?
    Thank you in advance

    Hi ,
    The concept of static and dynamic tables in smartforms, means you can use template- ( static table as no of rows and columns is fixed). Also you can use table- dynamic as the no of rows will depend on your line items.
    Hope this will help you to close this thread.
    Also, try to find this answer in posted forums. Creating a new forum everytime just increases the network traffic. So please try to avoid it.
    Regards,
    Vinit

  • 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

  • Error when initially calling Travel Trip Form Web Dynpro application

    Hello all,
    we are facing a problem when calling for the first time the Travel Trip Form Web Dynpro application.
    In the trace file we get the following error message:
    application [webdynpro/dispatcher] Processing HTTP request to servlet [dispatcher] finished with error.
    The error is: com.sap.tc.webdynpro.services.sal.core.DispatcherException: Wrong Web Dynpro URL: "../WebDynpro/Servlet/<deployableObject>/<application>/xx?..". xx is not allowed without exchange key. Retrieved URI path: /sap.com/esstratri/TripForm/~wd_key890_1246626831816/background.gif.
    Exception id: [001E680CB1CE0078000002A600007B4A00046DCCEE3F358A]
    This appears when a trip has been initially created and if the user wants to display a travel trip form.
    However, this does not appear anymore, if you click on the travel trip form again.
    Best Regards
    Philipp

    Hello Philipp,
    We are having same problem. Please let me know solution....
    Som

Maybe you are looking for

  • Overclocking the MSI KT3 Ultra ARU

    Hey, I read some reviews with the kt3 Ultra ARU and i have read that people have been getting the FSB up to around 167? Yet, i fail to get it past 151?  Any suggestions?   -Knowa- MSI KT3 Ultra ARU AMD xp 1800+ 768 mb pc2100 TDK 40x12x48 Lite ON DVD

  • How to use multiple video files??

    hi all, i am using flex 4 ... now i have designed video player.. i used single flv file for execution.. how to use more flv files in tis program??? i have included program also.. can any one reply for this... thanks in advance... regards, saran r vid

  • It gives me an error when trying to put in payment information- how can i fix this and quick?

    I keep trying to purchase some music on iTunes and it takes me to the payment page. I enter in my correct address and payment information and it says my address is not valid. I just made a purchase in December and didn't have issues. can anyone help

  • Regarding RunAllocation Script logic.......................................

    Hi SAP BPC Guys,                     How to  write code for plan data using Previous data using "runallocation" Script logic?                    i am also wrote code  for one month. but i don't know how write 12 months? //FOLLOWING ADDED TO FIND MONT

  • Install SOA suite components on different cpu

    If we buy one copy of the CPU license of SOA suite (list price 65,000/cpu), can we deploy its components on different CPUs? For example, can we run its Portal on one machine, its BEPL Process manager on the second machine, and BAM on a third machine.