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)

Similar Messages

  • 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

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

  • Difference between pdfsource & datasource in adobe forms - web dynpro abap

    Friends,
    Please let me know the difference between the adobe form attributes pdfsource and datasource, when used in Web Dynpro ABAP. What is the significance of specifying both and the difference between them.
    Points will be rewarded for helpful answers.
    Thanks.

    Hi,
    Pdfsource is a attribute defined to read the form. Suppose in an Application you need to read values from fields on the pdf form. In that case you give an attribute as a pdfsource which will contain all the data in XML format. You can read these values and assign to different data node. normally its helpful in reading offline forms.
    Datasource is a node containing one or many attributes which stores data at runtime. The fields on the interactive forms are bound to these attributes. When you give a context node as data source to the interactive form then it appears in the designer on the left handside in the data view. From there you can bind the fields on the form to the attributes in the context node.
    The difference between both is that a pdfsource is used to read the complete form in XML format with all the fields on it while the data source is used to transfer data from context to the fields on the form. Note that the datasource contains a node with multiple or single attribute and a field on the form can be bound to a single attribute.
    I hope it clears all your doubts.
    Regards,
    Vaibhav Tiwari.

  • HCM Processes & Forms: Web Dynpro ABAP Search Helps

    Hi,
    I was working with new functionality for adding Web Dynpro ABAP Search Helps to HCM P&F. Similar to described in http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/17919. [original link is broken] [original link is broken] [original link is broken]
    Can somebody tell me if its possible to submit some custom event round trip to back end SAP_PA and Generci Services after selection is made in the Search Help and "OK" selected. Right now it looks like its just closing help and can not submit any events automaticaly.
    Thanks,
    Oleg

    Hi Oleg
    As mentioned on the blog, this functionality was in place but has been 'disturbed' by the latest support packs.  I have an OSS request in for this but only since yesterday.  Once I get a satisfactory reply, I'll post it here and on my blog.
    Cheers
    Ian

  • 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

  • Adding rows in web dynpro ABAP Dynamic Interactive form.

    Hi Experts,
              I am having problem in web dynpro ABAP Dynamic Interactive form.
    This is my scenario....
    I have a dynamic interactive form that has buttons to add and remove rows in a table. It works fine when I preview it , but when I render, view or save it using ADS, it no longer works. The "add" button actually does instantiate more repeating rows, because I put some trace messages in to count them, but the added rows are not displayed. How do I make them visible?
    In web dynpro java we write some coding in modify view to set the pdf form as dynamic
    IWDInteractiveForm iForm =
    (IWDInteractiveForm)view.getElement("<ID>");
    iForm.setDynamicPDF(true);
    simillarly what we need to write in web dynpro ABAP.
    Please give me solution for the same.
    Thanks,
    Sathish

    hi all,
             expecting reply from u all. pls help me and give some sugesstion.
    regards,
    vinoth.

  • Web dynpro Abap - Adobe Form Table Dynamic

    hi Friends ,
    I created one table in ADOBE interactive form  and i kept two button for row add and row delete in table
    it is working fine in Adobe fomr Preview form
    but i deployed in Web dynpro abap this functionality is not working is there any reason
    Pls give suggestion
    Regards
    Krishnan R.

    Krishnan,
    Check if the form is Interactive and also  have you installed Adobe Reader Rights on the server. If not please check note 736902 and ask BASIS to apply them.
    Chintan

Maybe you are looking for

  • Are multiple PHYSICAL databases supported in one Oracle 10g RAC environment

    Hi alls, as of  Metalink 220970.1 Oracle RAC is also supporting different databases in one cluster installation. RAC handles any resource as a service and it doesn't matter if these services belongs to only one or to different databases. You install

  • Problem with radeon driver and Xorg

    Hoping someone can help with this problem. I would like to try and use the open source ati driver over the proprietary fglrx driver, however when I use this driver and I try to test my Xorg configuration it enters into X without any problems (mouse c

  • How to attach custom form LOV to find (torch symbol) button

    Hi, We are working on Oracle Applications 11.5.10.2. We are customizing new forms and registered with Oracle Apps, there are lov's on the form and we want to attach lov to the find button on tool menu. Our requirement is when ever click on find butto

  • Which is latest OS sofrware? n how to update bold 9780?

    I wanna knw tht which is da latest OS software for bb bold 9780 and how to update ma device to it?? Solved! Go to Solution.

  • .mbd file calling on different pc connected in network

    Dear frd,               I have connected three PC in LAN which are the part of a distributed system. 3 PCs connected with a server PC, Now each PC gives a output file in .mbd (Programmed in LabVIEW DB toolkit and System DSN)form, on server PC  I  hav