Error with dynamic table

Hi, I'm creating some Attributes on my context:
IWDAttributeInfo a=wdContext.getNodeInfo().getChild("DataTable").addAttribute("XAxis","ddic:com.sap.dictionary.string");
for(int i = 0; i < (wdContext.nodeEt_Coordinates().size()-i1); i+)
{IWDAttributeInfo b=wdContext.getNodeInfo().getChild("DataTable").addAttribute("val"+Integer.toString(i),"java.lang.Boolean");}
Next, I "filling" them with some values:     
for(int u = 0; u < wdContext.nodeEt_Coordinates().size(); u++)
{IWDNodeElement ne =  wdContext.getChildNode("DataTable", 0).createElement();
ne.setAttributeValue("XAxis", wdContext.nodeEt_Coordinates().getEt_CoordinatesElementAt(u).getCoord_Short());
for(int i = 0; i < wdContext.nodeEt_Coordinates().size(); i++)
{ne.setAttributeValue("val"+Integer.toString(i), Boolean.FALSE);}     
wdContext.getChildNode("DataTable", 0).addElement(ne);
Out of this Node DataTable I´creating a table.
I get an error message, when im checking two chekboxes from two different lines in the resulting table. The message is the following:
" com.sap.tc.webdynpro.progmodel.context.ContextException: DataAttributeInfo(MainView.DataTable.val2): does not have a simple type "
Can anyone help?
Message was edited by: Alexander Reinke

Hi,
   Replace this line
{IWDAttributeInfo b=wdContext.getNodeInfo().getChild("DataTable").addAttribute("val"+Integer.toString(i),"java.lang.Boolean");}
with
{IWDAttributeInfo b=wdContext.getNodeInfo().getChild("DataTable").addAttribute("val"+Integer.toString(i),"ddic:com.sap.dictionary.boolean");}
or
{IWDAttributeInfo b=wdContext.getNodeInfo().getChild("DataTable").addAttribute("val"+Integer.toString(i),"java:java.lang.Boolean");}
Regards,
Satyajit.
Message was edited by: Satyajit Chakraborty

Similar Messages

  • Reinstalling AE and PP due to an error with dynamic link. Where do i find the program install? And tips on how to reinstall without messing things up? last question is, does my recent files and saves work after the reinstall?

    I have allready bought the programs, but need to reinstall AE and PP due to an error with dynamic link.
    Where do i find the program install?
    And tips on how to reinstall without messing things up?
    last question is, does my recent files and saves work after the reinstall?
    Thank you

    karianne wrote:
    I have allready bought the programs, but need to reinstall AE and PP due to an error with dynamic link.
    Where do i find the program install?
    Which versions? Which operating system?
    Try Download and Installation Help

  • Problem with Dynamic Table Name

    Hello all,
    I am having trouble using a dynamic table name. I have the following code.....
    declare l_cur sys_refcursor;
    l_ID int;
    l_tableName varchar(30);
    BEGIN
    open l_cur for
    select hkc.ColumnID, mapping from &HKAPPDB_Schema_Name..doctablemapping ddm
    inner join &HKDB_Schema_Name..HKColumns hkc on hkc.doctablemappingid = ddm.id
    where ddm.id > 0;
    LOOP
         FETCH l_cur into l_ID, l_tableName;
         EXIT WHEN l_cur%notfound;
         -- update missing VerbID in DocumentDocMapping table
         UPDATE &HKAPPDB_Schema_Name..IndexedDocument
         SET VerbID = (SELECT t.VerbID
                             FROM (SELECT DocRef, VerbID, DateUpdated
                                  FROM &HKAPPDB_Schema_Name..l_tableName dd        - this is where the dynamic table name is used
                                  WHERE dd.VerbID is not NULL))
         WHERE HKColumnID = l_ID AND VerbID is NULL;
    END loop;
    end;
    /When I try to execute this i get an error
    ORA-00942: table or view does not exist
    What am I doing wrong?
    Regards,
    Toby

    redeye wrote:
    I only started about 6 weeks ago, with no tutorials and learning it on the fly; Same here.. only my introduction was to a 12 node Oracle OPS cluster all those years ago.. and required a whole new mind set after using SQL-Server extensively. But it was fun. Still is. :-)
    but thats what you get when a company throws you in at the deep end with a ridiculous time constraint to migrate a whole MSSQL DB.Migrating SQL-Server to Oracle is not a simple thing. A lot of best practices in SQL-Server are absolutely worse practices in Oracle - they are that different. Simple example is lock escalation - an issue in SQL-Server. In Oracle, the concept of a lock being escalated into a page lock simply does not exist.
    In terms of getting the migration done as quickly and painlessly as possible I try to reuse all the logic as it appears in the MSSQL code - in this case it was using dynamic table names. I do not doubt that i am probably shooting myself in the foot in the long run.....As long as you do not splatter too much blood on us here.. not a problem :D
    Seriously though - just keep in mind that what works in SQL-Server may not work as well (or even at all) in Oracle. So do not hesitate to refactor (from design to code to SQL) mercilessly when you think it is warranted.

  • WD4A Dynamic ALV Table with dynamic tables

    Hi all,
    first I want give you the information what I try to do.
    I have an another WD4A application for administrative use in which I can assign certain tablefields to a certain user. You can say it's something like a customizing application.
    In the next application (with my issues) I will display the tables for the user, but these tables are not the complete table.
    I have a node in my context of the component controller which is bound to my ALV. I add during the runtime attributes to my node.
    * .... coding ....declaration
    * get the node
      lr_node = wd_context->get_child_node( 'M_TABLE' ).
      lr_node_info ?= lr_node->get_node_info( ).
    * remove the attributes, if exists
      lr_node_info->remove_dynamic_attributes( ).
    * .... coding ....
    *   add attributes
        LOOP AT l_t_m_table INTO l_s_m_table.
          CLEAR ls_attribute.
    *     name of the attribute
          MOVE l_s_m_table-NAME TO ls_attribute-NAME.
    *     DDIC type of the attribute
          MOVE l_s_m_table-TYPE_NAME TO ls_attribute-TYPE_NAME.
    *     If the DDIC has a gen namespace like /B135/ replace the / with _
          REPLACE ALL OCCURRENCES OF '/' IN ls_attribute-NAME WITH '_'.
    *     add the attribute
          lr_node_info->add_attribute( EXPORTING
                                         attribute_info = ls_attribute ).
        ENDLOOP.
    This coding works fine I get the columns in my ALV. Then I tried to fill my ALV table with data from a database table.
    I created dynamicly an internal table with the following coding:
    *   Create dynamic table
        CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
          EXPORTING
            IT_FIELDCATALOG = l_t_FLDCAT
          IMPORTING
            EP_TABLE = l_t_NEW_M_TABLE.
    *   assign the table
        ASSIGN l_t_NEW_M_TABLE->* TO <M_TABLE>.
    *   structure of table
        CREATE DATA l_s_NEW_M_TABLE LIKE LINE OF <M_TABLE>.
        ASSIGN l_s_NEW_M_TABLE->* TO <l_s_m_table>.
    * get data from database
    SELECT * FROM (l_m_table) INTO CORRESPONDING FIELDS OF TABLE <M_table> WHERE OBJVERS = 'A'.
    With this coding I get the data from the database and only the required fields that means I have e.g. an itab with columns1, columns3, columns4 from the database.
    I also added e.g. these columns  (columns1, columns3, columns4 from the database) to the node as attribute. Now it should be possible to bind the table to the structure with this coding:
    lr_comp_usage_m = wd_this->wd_cpuse_usage_alv_M_table( ).
    *   create component if not active
        IF lr_comp_usage_m->has_active_component( ) IS INITIAL.
          lr_comp_usage_m->create_component( ).
        else.
    * set data if node exists
          l_ref_interfacecontroller = wd_this->wd_cpifc_usage_alv_M_table( ).
          l_ref_interfacecontroller->set_data( lr_node ).
        endif.
    *   bind table
        lr_node->bind_table( <M_TABLE> ).
    Now, I get an error, which is caused by the table binding.
    In ST22 I get:
    Short text
        Line types of an internal table and a work area not compatible.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "CL_WDR_CONTEXT_NODE_VAL=======CP" had to be
         terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        The statement
           "INSERT wa INTO TABLE itab"
        requires the lines of the internal table "TABLE" and the
        work area " wa" to be compatible. Compatibility means
        equivalence in the context of ABAP/4 type checking.
        In this case, the condition is not satisfied because the internal table
        "TABLE" has the line type "u" and the length 28, but the work area " wa"
        has the type "C" and the length 2.
        (If the work area " wa" is the header line of the internal
        table "TABLE", the above inconsistency can arise if an internal
        table t with the line type T1 is passed to a subroutine (FORM or
        FUNCTION) as an actual parameter and the corresponding formal
        parameter p is declared in the subroutine by "TABLES p STRUCTURE T2".
        If then T1 and T2 are incompatible, the header line p
        has the type T2 (specifed by STRUCTURE), but the internal
        table p has the line type T1 (passed from the actual parameter)).
    Source Code Extract
    Line  SourceCde
        1 method if_wd_context_node~get_static_attributes_table .
        2
        3   field-symbols:
        4     <element> like line of me->collection,
        5     <static_attributes> type data,
        6     <table> type index table.
        7
        8 * check whether elements are supllied or not
        9   if me->elements_supplied = abap_false.
       10     me->supply_elements( ).
       11   endif.
       12
       13   clear table.
       14
       15   if me->table_ref is not initial.
       16     assign me->table_ref->* to <table>.
       17     table = <table>.
       18   else.
       19     loop at me->collection assigning <element> from from to to.
       20       assign <element>->static_attributes->* to <static_attributes>.
    error in line 21       insert <static_attributes> into table table.
       22     endloop.
       23   endif.
       24
       25 endmethod.
    Any suggestions? Is it allowed to use bind_table() with a field symbol?
    Another strange thing is that if I try the same with static itab and attributes during runtime it works, but only if the fields of the itab has the same name as the attributes, which means that I can not use itabs with fieldnames like /BI0/S_CUSTOMER and if I can not use them it's difficult to read data from database with SELECT * FROM ... INTO CORRESPONDING FIELDS OF TABLE itab.
    Thanks in advance for your suggestions!
    Best Regards,
    Marcel

    Hi Francois,
    I solve it with the RTTI and the method    
    lr_node_info = lr_node_info->add_new_child_node(
                          name = 'Dynamic_TABLE'
                          IS_MANDATORY = ABAP_false
                          IS_MULTIPLE = ABAP_true
                          STATIC_ELEMENT_RTTI = lr_struct_descr
                          IS_STATIC = ABAP_false
    I don't know why it doesn't work with adding attributes and binding the table after adding the attributes.
    Anyway thanks for your help.
    Best Regards,
    Marcel

  • Livecycle userform with dynamic table

    Hi Everyone,
    New to Livecycle Designer and was hoping this is possible - Can you have a PDF userform with a dynamic table below it?...
    Basically the user fills out a userform then clicks an ADD button - this populates a dynamic table below the userform then clears/resets the userform - as the records fill the table an EDIT button appears in the last column so that if the user makes an error with a record they could click the EDIT button, this would bring the record back into the userform fields so they could change the field(s) they made the error in then a SAVE button would replace the ADD button in this instance, clicking SAVE then changes the record and clears/resets the userform ready for more entries.
    At the bottom of the PDF there would be an EXPORT button which attaches the table as a csv or tab-delimited text file to an email message...
    If someone could point me in the right direction it would be appreciated - I have googled and searched the forums for an answer but they mostly relate to importing data into a dynamic table from a database or xml file... I was hoping to directly populate the table with the userform.
    I also have a PDF example which illustrates what I am trying to achieve... but seems you cannot attach to a post... I can email it if someone has a solution, but needs to see it visually.
    Cheers

    You don't know the names of your columns? hmm you do, because before you created dynamic table you had to create field catalog, so the structure and column names of newly (dynamically) created table will be the same like defined in the field catalog.
    The last loop also does not look good, in my opinion should be something like:
    LOOP AT lt_datatable +(my first table)+ ASSIGNING <ls_data4>.
        AT NEW pernr.
          APPEND initial line to <fs_1> assigning <fs_2>.
          <fs_2>-pernr = <ls_data4>-pernr.
        ENDAT.
        ASSIGN COMPONENT <ls_data4>-wage_type OF STRUCTURE <fs_2> TO <fs_5>.
        <fs_5> = <ls_data4>-amount.
    ENDLOOP.
    also keep in mind that number of calls of method cl_alv_table_create=>create_dynamic_table is limited to 36 (?) calls within one program session because it uses dynamic subroutine pool behind so you will have short dump if you will execute that 37 times.

  • SQL query alias names errors with dynamic lists

    Hullo,
    Problem:
    - Made a query form book database. Have authors in separate table with unique ID's referring to them on book table.
    - Query fetches author name in "Surname, Firstname initial.Secondfirstname initial" format, --> like "Bukowski, H.C" and giving that combo alias name in SQL like "AS 'author'"...
    - Dynamic list works fine at start, but when ordered from detail table back to the mainlisting, it does make an error with SQL stating "unknown column 'author' in where clause"
    That must be because the script looks for "author" column from the original table yeah, but how can I solve this? Any ideas? Does this mean that Alias names for columns are not possible or is there something i've missed?
    Any ideas, suggestions?
    Thanks,
    KimmoK

    Hi Kimmo,
    ADDT´s dynamic lists can handle alias columns fine to my experience, but I reckon that you most probably applied the "CONCAT(...) AS author" query modification after having generated the list, and the list´s internal WHERE clause seems to have no clue of this alias column.
    You can get an idea about using alias columns in Dynamic Lists in my tutorial "Dynamic Lists: exploring the Filter Conditions": http://www.guenter-schenk.com/tutorials/tutorial.php?id=6
    Can you please post the list´s code on your server as text file (e.g. code.txt) and provide a link to this file ?
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Function Modue with Dynamic Table as output parameter

    Hi experts,
    i have function (below) which reads "dynamically" data from table which is specify as input parameter, the data are "saved" in <ft>.
    How can i return <ft> as output parameter of function module (table) ?
    function
    import parameter  - > IC_TABLE
    source code
    data :   lt_OPTIONS   type standard table of RFC_DB_OPT,
             lt_fields    type standard table of rfc_db_fld,
             lt_data      type standard table of tab512,
             la_rfcdata   type tab512,
             la_rfcfields type rfc_db_fld,
             lr_dref      type ref to data.
    field-symbols: <ft>         type table.
    field-symbols: <structure>  type any.
    field-symbols: <field_to>   type any.
    field-symbols: <field_from> type any.
    CALL FUNCTION 'RFC_READ_TABLE'
      EXPORTING
        query_table                = IC_TABLE
      DELIMITER                  = ' '
      NO_DATA                    = ' '
      ROWSKIPS                   = 0
      ROWCOUNT                   = 0
      tables
        OPTIONS                    = lt_OPTIONS
        fields                     = lt_fields
        data                       = lt_data
    EXCEPTIONS
       TABLE_NOT_AVAILABLE        = 1
       TABLE_WITHOUT_DATA         = 2
       OPTION_NOT_VALID           = 3
       FIELD_NOT_VALID            = 4
       NOT_AUTHORIZED             = 5
       DATA_BUFFER_EXCEEDED       = 6
       OTHERS                     = 7.
      create data lr_dref type table of (ic_table).
      assign lr_dref->* to <ft>.
    Fill data from OLTP table into ct_table.
      assign local copy of initial line of <ft> to <structure>.
      loop at lt_data into la_rfcdata.
        loop at lt_fields into la_rfcfields.
          assign component sy-tabix of structure <structure> to <field_to>.
          if sy-subrc is initial.
            assign la_rfcdata+la_rfcfields-offset(la_rfcfields-length)
              to <field_from>.
            <field_to> = <field_from>.
          endif.
        endloop.
        append <structure> to <ft>.
      endloop.
    Thanks in advance
    Martin

    Hi Martin,
    parameters with generic types are not allowed. So TYPE ANY TABLE etc. will not work. As Alex alreads said, you could return a reference to your table.
    Your parameter should be typed like:
    re_table type ref to data.
    At the end of your function module get a reference of your table into your parameter:
    get reference of <ft> into re_table
    After the call of your function module you can now handle and work with your table as wished:
    * Declaration
    data: re_table type ref to data.
    field-symbols: <my_table> type standard table.
    * Assign reference to fieldsymbol
    assign re_table->* to <my_table>
    if sy-subrc NE 0.
    " Error: Could not assign reference
    endif.
    Best regards,
    Fabian

  • Itextsharp using livecycle form with dynamic table

    Hello all, after searching Google for the past two days and not able to find any relevant information, hence this post.
    Some background:
    1) Created a pdf form using Adobe Livecycle designer 9.
    2) It is a dynamic form with textboxes and a table configured to repeat rows dynamically.
    3) Testing form using xml data within designer works just fine.
    Requirement:
    Need to populate form dynamically using data from database.
    Solution:
    Found iTextSharp (free assembly) which assists with populating existing pdf form.
    Issue
    This assembly works without any issue when populating textfields (see sample code below). The problem I am facing is with the dynamic table where in I am not able to reference rows greater than 1. Since the pdf template contains a table with just one row referencing the first row using acrofield works.
    I was under impression since this is a dynamic table with repeat enabled, in asp.net if I referenced row2 onwards the table would grow automatically. Which I have come to realize is not going to be possible.
    So I am looking for ideas on how I can accomplish this. I wish this could have been a fixed row table then reference rows would have been easier. However in this situation the table has to be dynamic.
    Any ideas thoughts would be appreciated.
    Below is my sample code:
    PdfStamper ps = null;
    try {
    // read existing PDF document
    PdfReader r = new PdfReader(
    // optimize memory usage
    new RandomAccessFileOrArray(Request.MapPath("itext.pdf")), null
    ps = new PdfStamper(r, Response.OutputStream);
    // retrieve properties of PDF form w/AcroFields object
    AcroFields af = ps.AcroFields;
    // fill in PDF fields by parameter:
    // 1. field name
    // 2. text to insert
    af.SetField("txtCompany", "Company name");
    af.SetField("txtDateDepartLocation", "date depart location");
    af.SetField("txtDate","test date");
    af.SetField("txtServiceNumber", "Service number");
    af.SetField("Table2.Row1.Cell1", "1test");  this works
    //doesnt work!!!
    af.SetField("Table2.Row2.Cell1", "1test");
    af.SetField("Table2.Row3.Cell1", "1test");
    // make resultant PDF read-only for end-user
    ps.FormFlattening = true;
    // forget to close() PdfStamper, you end up with
    // a corrupted file!
    ps.Close();
    catch { }
    finally { if (ps != null) ps.Close(); }

    Hi FourEyes;
    Try using this.
    Select Col1, Col2, Col3
    into :P1_Field1, :P1_Field2, :P1_Field3
    from Your_Table
    Where (your conditions);

  • Full Export/Import Errors with Queue tables and ApEx

    I'm trying to take a full export of an existing database in order to build an identical copy in another database instance, but the import is failing each time and causing problems with queue tables and Apex tables.
    I have used both the export utility and Data Pump (both with partial and full exports) and the same problems are occurring.
    After import, queue tables in my schema are unstable. They cannot be dropped using the queue admin packages as they throw ORA-24002: QUEUE_TABLE <table> does not exist exceptions. Trying to drop the tables causes the ORA-24005: must use DBMS_AQADM.DROP_QUEUE_TABLE to drop queue tables error
    As a result, the schema cannot be dropped at all unless manual data dictionary clean up steps (as per metalink) are done.
    The Apex import fails when creating foreign keys to WWV_FLOW_FILE_OBJECTS$PART. It creates the table ok, but for some reason the characters after the $ are missing so the referencing tables try to refer to WWV_FLOW_FILE_OBJECTS$ only.
    I am exporting from Enterprise Edition 10.2.0.1 and importing into Standard edition 10.2.0.1, but we are not using any of the features not available in standard, and I doubt this would cause the issues I'm getting.
    Can anyone offer any advice on how I can resolve these problems so a full import will work reliably?

    Thanks for the lead!
    After digging around MetaLink some more, it sounds like I'm running into Bug 5875568 (MetaLink Note:5875568.8) which is in fact related to the multibyte character set. The bug is fixed in the server patch set 10.2.0.4 or release 11.1.0.6.

  • Manipulate Layout on ALV Grid with dynamic table

    Dear all
    i'm generating a dynamic table depending of a date selection. That means that I show columns for weeks and the quantity of weeky migh change.
    Now the users wants to have a specific layout of the ALV grid with totals. When he saves the layout, only the weeks at this selection will show the next time he runs the programm with a larger selection.
    a) Is it possible to modify the layout during runtime by programming?
    b) Do you have any other ideas how to solve this problem?
    Thank you

    You don't know the names of your columns? hmm you do, because before you created dynamic table you had to create field catalog, so the structure and column names of newly (dynamically) created table will be the same like defined in the field catalog.
    The last loop also does not look good, in my opinion should be something like:
    LOOP AT lt_datatable +(my first table)+ ASSIGNING <ls_data4>.
        AT NEW pernr.
          APPEND initial line to <fs_1> assigning <fs_2>.
          <fs_2>-pernr = <ls_data4>-pernr.
        ENDAT.
        ASSIGN COMPONENT <ls_data4>-wage_type OF STRUCTURE <fs_2> TO <fs_5>.
        <fs_5> = <ls_data4>-amount.
    ENDLOOP.
    also keep in mind that number of calls of method cl_alv_table_create=>create_dynamic_table is limited to 36 (?) calls within one program session because it uses dynamic subroutine pool behind so you will have short dump if you will execute that 37 times.

  • SAP ME ADS Printing - Traveler with dynamic table

    Does any one have an example  traveler template that uses a dynamic table to display all the operations on the traveler? Ie one template that works for different routers.
    The problem we are having is due to the xml tags for each operation being different eg <operation0>, <operation1> etc which the dynamic table in Livecycle Designer doesn't seem to like.
    Thanks
    Kevin

    Hi Stuart,
    We are using ME15 SP03.
    We have already read that document cover to cover and we can print a traveler with SFC or Shop order header data etc. We can also print a fixed list of operations but what we want to do is have a single template that has a dynamic table that prints all the operations regardless of how many there are.
    Paragraph 6.11 of the document tells you that if you have multiple operations the binding should end with .Router_Step_ID0 , .Router_Step_ID1, Router_Step_ID2 etc etc
    This would mean that I would have to create a template for each different material that has a different number of router steps as you effectively hard code each step ID
    The first system I ever worked on (Visiprise 4.2) had the capability of using one template that automatically shrunk / expand based on the number of operations but I just cant see how to do it in LiveCycle Maybe I'm missing the obvious.
    Thanks
    Kevin
    PS. Great to see a fellow Scotsman on here

  • Issue with dynamic table which has RichCommandLink and RichSparkChart

    I’m running into an issue when I create a dynamic table with columns of type RichCommandLink and RichSparkChart.
    If my table has both of these types of columns, then the RichCommandLink column behaves like a NOP, meaning clicking on it does not cause the link to take effect and does not navigate to the designated page.
    If I remove the RichSparkChart column, then the RichCommandLink column behaves properly.
    Is there something I’m supposed to be aware of when creating these types of columns? Is there a known problem with RichSparkChart column, like some exception thrown which halts proper rendering of the rest of the columns?
    Thanks,
    Ania.

    Turned out that the problem was with ids which I was dynamically assigning. There was an overlap meaning two columns/elements got the same id. Not the manifestation or behavior I would expect as a result, but once I fixed that, having these two columns side by side works well.

  • Page breaks with dynamic table

    Hi there!
    We've built a LiveCycle process in which we get data from an XML file and generate the PDF in LC Output.
    However, although the items are being correctly generated in the table, only the first 20 or so records are being included, generatin just one page.
    There are around 200 records in the XML - we just can't find how to set up the XDP in LC Designer so that we get a multipages PDF containing all 200 records instead of just 20.
    We are using a dynamic table with the following set up:
    Pagination: Following Previous
    In Binding tab, we checked Repeat Row for Each Data Item
    This table was inserted using the Insert Table option in main menu, using the wizard and it's inserted in a subform.
    All these setup options were applied to the table row element.
    Any ideas?
    Thank you!
    Marcos

    Hi Niall,
    Thank you for the input!
    However, there's something else we're missing here.
    After I tried your suggestion there were actually page breaks... we got 4 pages. However, only one of them had any content (the dynamic table with 30 records) and the other three were blank. The XML that populates the table includes 200 records.
    We're pulling our hair off here, trying to do this for days!...
    BR,
    Marcos

  • Typo/error in dynamic table example

    I'm talking about the on-line copy of the Spry dynamic table
    example:
    http://labs.adobe.com/technologies/spry/articles/dynamic_table/
    In the last two code blocks, in the TR element that uses
    spry:repeat, the value of spry:repeat is set to "spry:repeat"
    instead of "dsEmployees". If someone copies one of those code
    blocks and tweaks it to use it for their own datasets, they'll get
    a tokenizeData error.

    Thanks for catching that!
    The fixed version is now live on Labs.
    Thanks,
    Don

  • ORA-06502 error with external table having long records

    I'm getting a strange error with the oci driver that I don't get with the thin driver.
    The basic situation is that we using external tables and both the oci and thin drivers have been working until we tested with a table that had longer records than the previous tables. The new table has 1800 byte records.
    The thin driver still works fine with the new table. However, the oci driver generates the following error with the new table:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    I suspect that with oci driver the oci DLLs are reading the external file and the DLLs can't handle the longer record length.
    Particulars
    - Oracle DB Server is 10.2.0.1 on SunOS 5.9
    - OCI Instant Client instantclient_10_2 on Windows XP
    - OCI client code from DB server installation running on DB server
    - Works with thin driver from Windows XP and on DB server machine for all record lengths
    - Works with both OCI drivers for records < 1800 bytes (don't know actual limit)
    - Fails with both OCI drivers for records = 1800 bytes.
    Does anyone out there have any thoughts.
    Thanks in advance.

    Your access parameters are in the wrong order. External tables are a bit fussy like that. Refer to the access_parameters section in the Utilities manual and follow the order there. From memory it will go something like this:
    RECORDS DELIMITED...
    LOG/BAD/DISCARDFILE...
    FIELDS TERMINATED...LDRTRIM
    MISSING FIELD VALUES...
       fields...
    )Regards...

Maybe you are looking for

  • HP C5180 AIO: W7-x64 / HP AIO_CDA_Net_Full_Win_WW_130_140 pack installed, but does not function

    Given: 1. local home network (wired) 2. HP C5180 attached to home network 3. Windows 7 Workgroup: WORKGROUP 4. other PC's Windows 7 x86/x64 can all print and scan via AIO C5180 5. IP address: 192.168.xx.yy is allocated to AIO 6. Installation of all H

  • "Expected Ship Date: 10/14/2011"?

    On my account, I have listed for my preordered Iphone 4S Expected Ship Date: 10/14/2011 Assuming they do just get to shipping the iphone 4S on the 14th, does verizon overnight phone orders so that I would get it on the 15th? I've never bought a phone

  • Problems Installing Fireworks CS4 - OS 10.5.6

    Hi All, Recently downloaded the Fireworks CS4 trial for my imac running 10.5.6. Downloads fine, but hangs on the 'preparing to install' screen. This is killing me, please help!!! Thx in advance. Rich

  • Company liquidation in SAP

    Hi All The scenario is I want to liquidate the company in SAP at the financial year end and then start the new company by using the same company code. Say company code A1 liquidateded on 31/03/ and then form a new company on 01/04. I can use the same

  • Has Memory Got To Be Installed In Equal Sized Modules?

    That's what it says in the Core Duo iMac manual - 2 x 512MB or 2 x 1GB. I had hoped to supplement the basic 512MB with a 1GB module to give 1.5GB, but the manual seems to suggest I can't (or shouldn't). I have had unequal modules (256MB + 512MB) in m