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

Similar Messages

  • 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

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

  • 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

  • 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

  • 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

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

  • 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

  • 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

  • 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

  • Using Tables in adobe interactive form

    Hi,
    I am using form designer to design my PDF in webdynpro. I would like to create a table in my PDF page. But i noticed that at present the adobe standard library doesnt have a table UI. is there any way to create table indirectly in the PDF page. how the context binding should be done in this case. can some one help me with this.
    Regards,
    Chander

    The basic layout element for creating dynamic tables in the Adobe LiveCycle Designer is a subform of type Flow Content. In the SAP environment, you should even be able to choose a special Table option as part of the Subform properties (on the Object palette). If this option doesn't appear, you probably haven't got the latest version of Designer installed. How to use a subform in general is described very well in the Designer documentation (call up from the Designer menu bar under Help).
    The data binding is done as always:
    1. You create your context in SAP NetWeaver Developer Studio.
    2. When you launch Designer, the context appears in the Data palette. From there, drag and drop the individual nodes onto the table fields that are part of your subform.
    Again, this is described in the Designer documentation.
    Regards,
    Markus
    Markus Meisl
    SAP NetWeaver Product Management

  • Dynamic table control in adobe forms

    Hi All,
    I am creating abobe form using web dynpro java. I have a table with one row & 5 columns. After that i have put "add" button, so that as i click on this button, a new row will be inserted in the same table with same no. of columns & data fields.
    Please can anyone tell me, how can i do this???
    Thanks & regards,
    Vinita Sharma

    Vinita,
    You will need to use the addInstance method. For example try looking the Purchase Order form which may be stored at this location on ur PC.
    C:\Program Files\Adobe\Designer 7.1\EN\Samples\Purchase Order\Dynamic Interactive\Forms
    Chintan

  • How to populate dynamic table in Adobe Livecycle form with cfpdfform?

    Hello all,
    after two days search on the above topic without results I hope someone here can help me.
    The problem:
    I have an Adobe PDF form created with Adobe Livecycle Designer that has a dynamic table inside it. The table Table1 consists of a Header Row with 4 cells of text and a data row Row1 with four cells each one having a Textfield Cell1, Cell2,Cell3 and Cell4.
    Table1 sits inside a subform mytable. The subform is made to flow and the Row1 has the Binding Repeat Row for Each Data Item checked.
    Everything is enclosed within the standard subform form1.
    Whe I use the following code, I supposed that the table should have two rows..because it is said it will be dynamic:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <cfpdfform action="populate" source="test.pdf" destination="testout.pdf" overwrite="yes" >
    <cfpdfsubform name="form1">
      <cfpdfsubform name="mytable">
        <cfpdfsubform name="Table1">
          <cfpdfsubform name="Row1">
            <cfpdfformparam name="Cell1" value="1">
            <cfpdfformparam name="Cell2" value="2">
            <cfpdfformparam name="Cell3" value="3">
            <cfpdfformparam name="Cell4" value="4">
          </cfpdfsubform>
          <cfpdfsubform name="Row2">
            <cfpdfformparam name="Cell1" value="5">
            <cfpdfformparam name="Cell2" value="6">
            <cfpdfformparam name="Cell3" value="7">
            <cfpdfformparam name="Cell4" value="8">
          </cfpdfsubform>
        </cfpdfsubform>
      </cfpdfsubform>
    </cfpdfsubform>
    </cfpdfform>
    <cfpdfform action="read" source="testout.pdf" result="testout" />
    <cfdump var="#testout#">
    </body>
    </html>
    What happes is:
    The testout.pdf displays just one row,with the values 1,2,3,4 the second row is only visible when I export the data as xml but not within the PDF.
    Please can someone enlighten me?
    Thanks and regards
    Gilbert

    When populating your pdf fields, you can loop through all the records in a query like so...
       <cfloop from="1" to="#query1.recordCount#" index="i">
                <cfpdfformparam name="txtField1_#i#" value="#query1.Field1[i]#">
                <cfpdfformparam name="txtField2_#i#" value="#query1.Field2[i]#">
      </cfloop>
    This will handle two rows or thirty rows just the same.  In this case my fields in the pdf have the row # as a suffix.

  • ABAP WebDynpro, Interactive Form, and Repeating Subforms

    Hi Everyone,
    I have a very simple Interactive Form called from ABAP WebDynpro. 
    Main_View Context:
    Node u2013 FORM.
         Cardinality 1..1
         Selection 0..1
         Initialization Lead Selection u2013 X
    Node u2013 SPFLI
         Dictionary Structure - SPFLI
         Cardinality 0..n
         Selection 0..1
         Initialization Lead Selection u2013 X
    Attributes from SPFLI u2013 CARRID and CONNID
    View contains an Interactive Form and a u201CSaveu201D button.
    Form = Z_TABLE_TEST_FORM, Interface = Z_TABLE_TEST_INT u2013 created through forward navigation in Layout so uses XML interface.
    Button u201CSaveu201D has the following code:
    METHOD onactionsave.
      DATA lo_nd_form     TYPE REF TO if_wd_context_node.
      DATA lo_nd_spfli    TYPE REF TO if_wd_context_node.
      DATA lo_el_spfli    TYPE REF TO if_wd_context_element.
      DATA ls_spfli       TYPE wd_this->element_spfli.
      DATA ls_element_set TYPE wdr_context_element_set.
      lo_nd_form = wd_context->get_child_node( name = wd_this->wdctx_form ).
      lo_nd_spfli = lo_nd_form->get_child_node( name = wd_this->wdctx_spfli ).
      ls_element_set = lo_nd_spfli->get_elements(  ).
      IF lo_nd_spfli IS NOT INITIAL.
        lo_el_spfli = lo_nd_spfli->get_element(  ).
        IF lo_el_spfli IS NOT INITIAL.
          lo_el_spfli->get_static_attributes(
            IMPORTING
              static_attributes = ls_spfli ).
        ENDIF.
      ENDIF.
    ENDMETHOD.
    On the Interactive Form, u201CPage1u201D is a main page.  u201CTableParentu201D is a SubForm, flowed layout, in accessibility tab set to u201CTableu201D, and is bound to u201C$record.SPFLIu201D.
    u201CDATAu201D is a SubForm under "TableParent", Positioned layout, in accessibility tab set to u201CBody Rowu201D, and is bound to u201CDATA[*]u201D.
    Carrid and Connid are both Text Fields bound to Carrid and Connid, under "DATA".
    I also added the Insert/Remove/Reposition buttons, but deleted the two reposition buttons.
    The idea was to be able to add 4-5 Carrid/Connid pairs.
    When running this, as configured above, then none of the data entered in the form makes it through to the Elements.  If the context is changed to make the Cardinality 1..n, then a single Element is added u2013 but not the remainder.
    What needs to be done to get this to work?
    Many thanks
    Jack

    Hi Reema,
    None.  For all other fields, they are bound to the context, so the transfer is automatic.
    These repeating fields are also bound to the context, but it appears that an element needs to be created for every repeating form.  How can this be done from the form?
    Cheers
    Jack

Maybe you are looking for