Dynamic table data

Hi guys
first of all sorry if my English is not so good.
And now here is my problem..
On my page a have one combo box with several SQL query s in it.
Below that i have table in i want to put result from query selected above...but the problem is that i cant do that.
I create new VO with classic "select * from dual" query and I call method createViewObjectFromQueryStmt to set new query in VO when i change selection from combo box, but table data doesn't change.
I try to bind table then to set partial trigger and nothing hepend.
For table I use ADF read only dynamic tabel.
I hope that somebody can help my
I use version 11.1.1.6.0.
Edited by: 965418 on Oct 16, 2012 7:23 AM

I still have a problem with refreshing table.
I use second method Timo Hahn mentioned and instade of form I use ADF read only dynamic table.
After this code execution of code below in appmpdule impl there are rows in VO but table say No data to display.
vo.remove();
vo=this.createViewObjectFromQueryStmt("DinVO", newSql);
vo.executeQuery();
obviously i miss something to do, any idea what?

Similar Messages

  • Dynamic table data isn't transfered to the context, with webdynpro for java

    Hi,
    I'm using LifeCycle designer 7.1 and Adobe reader 7.0.5.
    I'm trying to make a dynamic table in a PDF form, that will be related to a table in the context.
    I've designed the context like it says here: Dynamic Table -  same data repeating in all rows
    I made a dynamic table and related the cells on the row to the context, by dragging the variables from the DataView into them.
    The table is related to TableList, the row to TableWrapper[], and the cells are related like this: TableData[].ItemName
    And there's a button which adds a row to the table.
    And for some reason, that's not working; When hitting the Submit to SAP button, it doesn't appear as though the data was transferred to the WebDynpro context.
    Can anyone help me with it please..?
    By the way - I tried using the SAP standard subform controls, the 'Insert Remove Move' control.
    When trying it through the PDF preview, it doesn't work - whatever I click displays an error message, and when it runs from the browser - It automatically searches for an update for Adove Reader (I use 7.0.5).
    Is it supposed to work only with version 8 of the Adobe Reader?

    Well, I reinstalled ACF, and now the Submit button works, and the Insert Remove Move buttons work as well.
    But the table context still doesn't work.
    I had put some values in the context, in DoInit, and they appeared in the table in the form, but when I changed them in the form it didn't affect the context at all.
    There's a simple attribute value related to a text field, which IS affected when changed in the form, and the Submit button is clicked. Only the table doesn't work.
    How can I make it work?
    Thanks,
    Udi Dekel

  • Dynamic table data not transfered to context WD4ABAP

    Hello Guys,
    Currently I have a urgent problem with Adobe Forms and WD4Abap. We are using AdobeReader 8.1.1 und Designer 7.1. Me problem is:
    1) I have an interactive form with dynamic table and simple fields...
    2) Data within textfields can be updated, created and deleted
    3) Data which is initially transfered to TABLES can be changed!!!
    4) BUT, if I add or delete a table row, this is NOT sent back to the WebDynpro context
    I am using the buttons out of the WebDynpro Navtiv Library. Furthermore, if I save the PDF on my Harddisk and start in manually (offline) add, change or delete data, the data is updated by checking it with the export data function within Adobe reader (Document->Form->Export Data)
    Is anybody able to help me, my ideas are on the end...
    Best
    Carsten

    Hi Carsten,
    Thanks again for your quick response.
    I tried using the code you supplied (changing the appopriate fieldnames to suit my form) but unfortunately I am still not able to access the added rows from my WD context. 
    Could you please clarify a couple of things for me?
    1.  In the following line, is "button_1a_+" the name of your button that adds new rows?
    > Carsten Sallaba wrote:
    >
    >$record.BEHAVIOR.PARAMETER.value = "button_1a_+";
    2. I presume that the following line in the code snippet should trigger the submit event on the WD, however this doesn't seem to be working for me, even after creating an action for the onSubmit event in the WD.  Do you have any further info on the changes that need to be made on the WD side?
    > Carsten Sallaba wrote:
    >
    > // DO NOT MODIFY THE CODE BEYOND THIS POINT - 705.20051128130428.257427.256785 - SubmitToSAP.xfo
    > ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
    > // END OF DO NOT MODIFY
    Kind regards,
    Tammie

  • Dynamic table data by adding or delting not transfered to context

    Hello Guys,
    Currently I have a urgent problem with Adobe Forms and WD4Abap. We are using AdobeReader 8.1.1 und Designer 7.1. Me problem is:
    1) I have an interactive form with dynamic table and simple fields...
    2) Data within textfields can be updated, created and deleted
    3) Data which is initially transfered to TABLES can be changed!!!
    4) BUT, if I add or delete a table row, this is NOT sent back to the WebDynpro context
    I am using the buttons out of the WebDynpro Nativ Library. Furthermore, if I save the PDF on my Harddisk and start in manually (offline) add, change or delete data, the data is updated by checking it with the export data function within Adobe reader (Document->Form->Export Data)
    Do I have to implement something special my application,lika a refresh etc.??!?!
    Is anybody able to help me, my ideas are on the end...
    Best
    Carsten

    Hi
    There is seperate forum for Adobe Interactive forms, you can expect more quicker response if you post in that forum.
    SAP Interactive Forms by Adobe
    Abhi

  • Dynamic Table data cannot be Read.

    Hello,
           I have an Adobe Interactive form and I am trying to read the data from the Dynamic Table I have in the Form. The Problem is when I try to read the data using the below code, the data which is entered by user data cannot be read for some reason.
    navigate from <CONTEXT> to <ADR_DATA> via lead selection
      lo_nd_adr_data = wd_context->get_child_node( name = wd_this->wdctx_adr_data ).
    navigate from <ADR_DATA> to <PREV_EMPLOYMENT> via lead selection
      lo_nd_prev_employment = lo_nd_adr_data->get_child_node( name = wd_this->wdctx_prev_employment ).
    get element via lead selection
      lo_el_prev_employment = lo_nd_prev_employment->get_element(  ).
    get all declared attributes
      "lo_el_prev_employment->get_static_attributes_table(
      lo_nd_prev_employment->get_static_attributes_table(
       IMPORTING
         table = form_data-prev_employment ).
    I have:-
    1. Checked the Binding on Adobe Form
    2. Checked the Context for the same.
    3. Checked the Cardinality of the Nodes.
    Please let me know in case i am missing something.
    Regards,
    Shishir.P

    Hello,
         I have tried other method as well but was unsucessful, the procedure is below:-
    1. Get PDF content of online form by reading the context.
    2. Convert this data to XML
          l_fp = cl_fp=>get_reference( ).
          l_pdf = l_fp->create_pdf_object( ).
          l_pdf->set_document( pdfdata = pdf_data ).
          l_pdf->set_task_extractdata( ).
          l_pdf->execute( ).
          l_pdf->get_data( IMPORTING formdata = l_xstring ).
          CLASS cl_ixml DEFINITION LOAD.
          DATA: g_ixml TYPE REF TO if_ixml,
                streamfactory TYPE REF TO if_ixml_stream_factory,
                istream        TYPE REF TO if_ixml_istream,
                document TYPE REF TO if_ixml_document,
                parser TYPE REF TO if_ixml_parser.
          g_ixml = cl_ixml=>create( ).
          streamfactory = g_ixml->create_stream_factory( ).
    wrap the table containing the file into a stream
          istream = streamfactory->create_istream_xstring( l_xstring ).
          document = g_ixml->create_document( ).
          parser = g_ixml->create_parser( stream_factory = streamfactory
                                          istream        = istream
                                          document       = document ).
          parser->parse( ).
    3. Read the data from the XML. (I was able to extract other data on the form but not the one in the table. The data entered in the table row in the interactive form is not getting converted into XML or not being extracted in PDF at all).
          form_data = get_adr_from_xml( document ).
    The Code Wizard is an old one and does not support table operations as the new code wizard. Please let me know in case you have any other method of resolving this issue.
    Please let me know your work around, I am in desparate need for a solution.
    Regards,
    Shishir.P
    Edited by: Shishir Paltanwale on Apr 21, 2010 8:16 PM

  • Retreival of Dynamic Table Datas from Adobe to WebDynpro- ABAP

    Dear Friends,
    I have Developed an application in Webdynpro-ABAP, where i have integrated Adobe form in the webdynpro.
    In the adobe form, dynamic table is there where we can add and delete the rows at runtime.
    I am trying to retreive the table datas at runtime from the adobe.
    I can able to retreive only the first record from the table, even if the table contain more than one rows.
    As per the below code i have retreived the count, where it is showing the count as 1.
    using the method get_static_attributes_table i am trying to fetch all the records, but i can able to retreive only the first record.
    lo_nd_zsm_fm_transport_tra = wd_context->get_child_node( name = wd_this->wdctx_zsm_fm_transport_tra ).
      lo_nd_tr_details_i = lo_nd_zsm_fm_transport_tra->get_child_node( name = wd_this->wdctx_tr_details_i ).
    count = lo_nd_tr_details_i->GET_ELEMENT_COUNT( ).
    elems_bank_table = lo_nd_tr_details_i->get_elements( ).
    lo_nd_tr_details_i->get_static_attributes_table(
      importing
        table = ls_tr_details_i ).
    Even Cardinality i have maintained as 1.N for the node.
    Kindly provide me the solution.
    Thanks and Regards,
    Sathish,,

    Hi, I have solution for read data from dynamic table and add these added row to WD4A context (and then save them to DB) (in ONACTIONPROCESS_SUBMIT event):
    DATA: l_fp TYPE REF TO if_fp.
    l_fp = cl_fp=>get_reference( ).
    DATA: l_pdfobj TYPE REF TO if_fp_pdf_object.
    l_pdfobj = l_fp->create_pdf_object( ).
    l_pdfobj->set_document( pdfdata = lv_pdfsource ).
    l_pdfobj->set_extractdata( ).
    l_pdfobj->execute( ).
    DATA: pdf_form_data TYPE xstring.
    l_pdfobj->get_data( IMPORTING formdata = pdf_form_data ).
    DATA: converter TYPE REF TO cl_abap_conv_in_ce, formxml TYPE string.
    Converter = cl_abap_conv_in_ce=>create( input = pdf_form_data ).
    Converter->read( IMPORTING data = formxml ).
    TYPE-POOLS: ixml.
    DATA: l_ixml TYPE REF TO if_ixml.
    l_ixml = cl_ixml=>create( ).
    DATA: streamfactory TYPE REF TO if_ixml_stream_factory,
    istream TYPE REF TO if_ixml_istream.
    streamfactory = l_ixml->create_stream_factory( ).
    istream = streamfactory->create_istream_string( formxml ).
    DATA: document TYPE REF TO if_ixml_document.
    Document = l_ixml->create_document( ).
    DATA: parser TYPE REF TO if_ixml_parser.
    parser = l_ixml->create_parser( stream_factory = streamfactory
                                               istream = istream
                                               document = document ).
    Parser->parse( ).
    the code above allows you to read xml data from pdf file, then you need only to read xml and adding rows to your context:
    data : item type string.  DATA: nodechild TYPE REF TO if_ixml_node,
            Childschild TYPE REF TO if_ixml_node.
        data: num_of_children type i,
              x type i,
              y type i,
              num_of_attribute.
    node = document->find_from_name('ZAM_PROTSTROJF').
    num_of_children = node->num_children( ).
    nodechild = node->get_first_child( ).
    data: wa_strojdetail type ZAM_PROTSTROJF,
          wa_strojdetail_tab TYPE TABLE OF ZAM_PROTSTROJF.
    wa_strojdetail-docnum = ls_zam_protstroj-docnum.
    wa_strojdetail-bukrs = 'VVS'.
    wa_strojdetail-mandt = sy-mandt.
    y = 1.
    do Num_of_children times.
           num_of_attribute = nodechild->num_children( ).  " Childschild->num_children( )." Getting the number of attributes
           Childschild = nodechild->get_first_child( ).
           wa_strojdetail-itemnum  = y.
           x = 1.
           do num_of_attribute times.
              item = Childschild->GET_value( ).
              CASE x.
                WHEN 4.
                  wa_strojdetail-anln1 = item.
                WHEN 5.
                  wa_strojdetail-anln2 = item.
                WHEN 6.
                  wa_strojdetail-bubtr = item.
                WHEN 7.
                  wa_strojdetail-belnr = item.
              ENDCASE.
              Childschild = Childschild->get_next( ).
              x = x + 1.
          enddo.
          y = y + 1.
          APPEND wa_strojdetail to wa_strojdetail_tab.
          nodechild = nodechild->get_next( ).
    enddo.
    This is complete solution for adding rows in interactive forms and working with them in WD4A!
    Regards Jiri
    Edited by: Jiri Neuzil on Jun 10, 2009 8:13 AM
    Sorry for formatting, but I don't know, how to format text correctly on this site in plain text I have all text correctly formatted, but in preview....

  • Create a edit link from a dynamic table data to the correct record

    ok i have made a dynamic table with the correct information from the MySql database to populate it but i want to add an edit button to take me to the correct information i want to edit / delete. what is happening is no matter what record i want to edit it just takes me to the first record in the database?
    the link i am using is detail.php?userid=<?php echo $row_Recordset1['userid']; ?>
    where the detail.php is where the data can be edited
    thanks in advance for any help
    Jon

    There are 2 things you need to troubleshoot.
    First is the page where you have this link.  In the browser are you being taken to the right page?  Does the address bar show the proper id?  If so, then the problem most likely does not exist on that page.  Then if that is the case how are you pulling the data on the next page to get the right record?  Can you show us the query being used?  It is very hard to troubleshoot without seeing any code.

  • Problem during Download of Dynamic Table Data

    Hello All,
    I have data in a dynamic internal table.
    When I'm trying to download the content onto my Presentation Server and Application Server, the data corresponding to the CURRENCY and QUANTITY fields are getting ROUNDED to the nearest whole number value.
    How to resolve this issue ?
    Any clues ?
    Regards,
    Deepu.K

    Hello Gautham,
    Thanks for ur reply.
    But I debugged the code of BUILDING a Dynamic Internal Table and I could find that while building the Dynamic Internal Table SAP Is checking the field attributes from the fieldcatalog.
    The Method I debugged is :
    * Create Dynamic Table
      call method cl_alv_table_create=>create_dynamic_table
        exporting
          it_fieldcatalog = gt_dyn_fcat[]
        importing
          ep_table        = dy_table.
      assign dy_table->* to <dyn_table>.
    So for my requirement I passed the REFERENCE FIELDNAMES and REF. TABLENAMES for the corresponding fields in the fieldcatalog and so I could resolve the issue.
    Regards,
    Deepu.K

  • Create graph based on dynamic table data

    Hi experts ;
    i have JDeve Version 11.1.2.2.0 , i'm create dynamic table based on dynamic SQL query this query return by function in database by based on passing parameter .
    My question :-
    1- How create graph based on dynamic table and contral it at run time ?
    Thanks & Best Regards

    Hi Mostafa,
    You can retrieve the data from your sql query in a backing bean and pass it on to Graph using the setTabularData method.
    Here is the javadoc for the setTabulardata method:
    http://docs.oracle.com/cd/E16162_01/apirefs.1112/e17492/oracle/dss/dataView/CommonDataview.html#setTabularData%28java.util.List%29
    Hope this helps
    Katia

  • How to decrease the dynamic table data loading time

    hi
    i have problem with dynamic table.
    when i execute the the table with passing a query , getting lot of time for loading the table data.( it takes 30sec for every 100 rows.)
    pls help me how to overcome this problem.
    thanks advance.

    Yes, This is oracle application...
    We can move into other tablespace as well. But concern is how to improve the alter table move command performance.
    Is there any specific parameter apart from the nologging and parallel server..
    If it is taking 8 hours , can some have experience that nologging will save how much time. or is there any risk in doing in production.
    Regards

  • How to download dynamic table data into CSV format

    Hi,
    I have data in dynamic table <it_data>, and I want to download that into CSV format.
    so I tried to use FM SAP_CONVERT_TO_CSV_FORMAT but how to use this FM with dynamic table?
    here <it_data> type standard table, we can pass this to I_TAB_SAP_DATA. but problem is with changing parameter. (TRUXS_T_TEXT_DATA), what type of table it should be?
    and one more thing is <it_data> structure is also dynamic , depending on input the structure of <it_data> may vary.
    Regards,
    Mrunal

    Hi,
    check this one may be help full to u...........
    *Use FM SAP_CONVERT_TO_CSV_FORMAT and pass a Delimiter and ITAB. This
    returns an Ouput_String
    Convert Internal Table to ; delimited format
    There is a filename parameter on this FM but I don't think it's used
    call function 'SAP_CONVERT_TO_CSV_FORMAT'
    exporting
    i_field_seperator = Delimiter "default ';'
    i_filename = Filename
    tables
    i_tab_sap_data = ITAB
    changing
    i_tab_converted_data = Ouput_String
    exceptions
    conversion_failed = 1
    others = 2.
    Regard's
    SHAIK.

  • SPlit Dynamic Table data (FIeldsymbol) ?

    Hello All,
    I have a dynamic internal Table in the form of a Field Symbol.
    Now I need to split the fields of this fieddsymbols data at each field separated by a '  ; '.
    and then pass the content to a character type variable.
    Can anyone tell me how to achieve this ?
    Regards,
    Deepu.K

    Hello David,
    I have written the following code to get the data from my field-symbol table into a char field separated by ' ; '.
    * From the Dynamic Table get the content into a char field separated by ';'
      CLEAR lv_line.
      LOOP AT <dyn_table> ASSIGNING <dyn_wa>.
        DO.
          ASSIGN COMPONENT sy-index OF STRUCTURE <dyn_wa> TO <fs_split>.
          IF sy-subrc = 0.
            CONCATENATE lv_line <fs_split> INTO lv_line SEPARATED BY ';'.
            IF lv_line+0(1) = ';'.
              lv_line+0(1) = ' '.
              CONDENSE lv_line NO-GAPS.
            ENDIF.
    *        TRANSFER lv_line TO p_lv_file.
          ELSE.
            EXIT.
          ENDIF.
        ENDDO.
        TRANSFER lv_line TO p_lv_file.
      ENDLOOP.
    But when the concatenate statement is facing a TYPE P field it's going for a dump saying :
    The current statement only supports character-type data objects.
    In statement
       "CONCATENATE"
    the argument "<FS_SPLIT>" can only take a character-type data object.
    In this case, the operand "<FS_SPLIT>" has the non-character type "P".
    How to overcome this situation ?
    Regards,
    Deepu.K

  • Repeating dynamic table data in another table in the same document

    Greetings one and all:
    I created a dynamic table (for input) at the beginning of my form.
    I created a dynamic table (for display and printing) later in the same form.
    I wish to populate the second dynamic table with the contents of the first dynamic table.
    I created a button in the first table which adds rows in both tables.
    But I cannot get the second table to populate more than two instances from the first table. Any row after two just copies the contents of the second row.
    Your help will be greatly appreciated.
    Best,
    Steven
    Oregon

    Hi,
    I have an example here that does just that: http://assure.ly/eTOXaH
    Niall

  • How to get Dynamic table data  in table

    Actually i want to generate a table by a query . now i m able to get the data in java class but i don't know that how to present that data in a table form in UIX page.

    HI using this methods u can create dynamic internal tables,
      CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
        EXPORTING
          IT_FIELDCATALOG = FIELD_CATALOG
        IMPORTING
          EP_TABLE        = GFINAL.
      ASSIGN GFINAL->* TO <GFINAL>.
      CREATE DATA WFINAL LIKE LINE OF <GFINAL>.
      ASSIGN WFINAL->* TO <WFINAL>.
    Please let me know once the requirement clearly , is the fm or Method importing parameter is internal table , corresponding to that
    internal table you need to fetch data from data base.
    In general , field symbols holds some memory in memory area , I think just like pointers in C language , this holds address only , there we dynamically assign some structure .
    Let me know once if u not cleared ,
    Regards
    Siva

  • Dynamic table & data binding

    Hi all,
    I am trying to create an interactive form in WebDynpro ABAP (using Livecycle Designer 8.0).
    This application consists of two screens.
    I have a selection screen which populates an internal table in a context node.
    The next screen has the interactive form and should create the table dynamically to match the internal table.
    I can see the context on this screen as I inserted a simple WD table UI element and it displays the data.
    I created my form in the wizard here which allows you to set the interface to be a context node in the application. However the binding is not working at all. In fact when I set the binding attribute in the various subforms, rows etc I get a warning message
    "Using 'Normal' data binding when a default data connection is defined may produce undesirable results"
    Has anyone experienced this before or can anyone tell me how to set up a dynamic, bound table in WebDynpro ABAP?
    Thanks,
    Gregor

    Hi Gregor,
    From your information, I can say that you are having two Views. In the First View you have a selection screen and by the selection screen you are filling the Internal Table which is being used in the next View.
    To display the Internal in the Adobe Interactive Form from WebDynpro. Firstly you need to create a main context node and in that context node create another sub node with Cardinality "0..n" and Selection "0..1"and link that to a Table or Structure or leave that blank. i you left blank create attributes of your own or select from the table or structure you have referenced.
    Now in the Method you fill sub node after all the select statements written and at end write a code "sub_node_name->bind_table ( internal_table )".
    Now after filling the template source it asks for the interface, when filling select the main context node.
    I think this will solve your problem.
    Regards
    Pradeep Goli

Maybe you are looking for

  • How can I stop Calendar from formatting the location of an event?

    When I enter the event's location (e.g. Concert Hall, 123 Main Street) Calendar breaks it up into multiple fields and sorts them alphabetically (e.g. "123 Main Street" and"Concert Hall"). It also tags each field with "!", meaning presumably that the

  • Add-on Builder only lists the first 10 Addon-Projects

    Hello, I'm using the Add-on Builder since 7 days. In my "private addon" section, I have 16 add-ons (Add-on projects). URL here: https://builder.addons.mozilla.org/user/private_addons/ When I try to list the projects nr. 11-16 I click on the Link labe

  • File Adapter - Cancel "Retry" mode

    Hi, I have a Proxy to File scenario and want to cancel "Retry" mode. Which means when the adapter gets an error while writing the file to a FTP it won't try again. At the moment it tries every 5 minutes, and after it tried 4 times it stops. I don't w

  • Help, advertising buttons not showing up.

    Everything has been working fine, now in the last few days the advertising buttons on the right side of my index page do not show up in windows (any version) they show up in macs and on all other pages that the templet covers, just not the index page

  • Can my iOS device be backed up on time machine

    My wife's iPad mini needs video backed up. Apps can't update because there is no room. I don't know how to limit or exclude photos & video from the icloud backup