Can't fetch more than 131 columns

Hi
I've got table A with ~170 column of type VARCHAR(40).
When I try to fetch more than 131 columns in a select statement, I get the following error:
Error in TTCmd::Execute(): cannot execute unprepared statement.*** Command execution of statement <<null>> failed.
When I stay at <= 131 fetched columns, everything's fine.
Can anybody around here tell me what I can do to solve this problem? I'll need to fetch all 170 columns.
Best Regards
Frans van der Reijden

Hi Chris
I increased MAX_TTCMD_PARAMS and MAX_TTCMD_COLUMNS to 256, made new libraries and got a differenct error message. When I try to fetch all 172 rows of my table, I get a different error msg now:
*** Error in TTCmd::Execute(): cannot execute unprepared statement.*** Command execution of statement <<null>> failed.
Again, when I decrease the number of fetched rows < 131, the fetch cycle is fine.
I'd like to take advantage of your offer to check my code, although I don't expect the error to be in the application code. Where can I send it too?
Regards
Frans

Similar Messages

  • Spry insert master/detail layout Can't get more than two columns?

    Ive been trying to get more than two columns just experimenting with spry data sets and can't with the layout option "insert master/detail layout"
    What am I doing wrong?
    <!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" xmlns:spry="http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <script src="SpryAssets/SpryData.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryHTMLDataSet.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMasterDetail.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    var ds1 = new Spry.Data.HTMLDataSet("benefitsdata.html", "bizben", {firstRowAsHeaders: false});
    </script>
    </head>
    <body>
    <div align="center">
      <div class="MasterDetail">
        <div spry:region="ds1" class="MasterContainer">
          <div class="MasterColumn" spry:repeat="ds1" spry:setrow="ds1" spry:hover="MasterColumnHover" spry:select="MasterColumnSelected">{column0}</div>
        </div>
        <div spry:detailregion="ds1" class="DetailContainer">
          <div class="DetailColumn">{column1}</div>
          <div class="DetailColumn">{column2}</div>
          <div class="DetailColumn">{column3}</div>
        </div>
        <br style="clear:both" />
      </div>
    </div>
    </body>
    </html>

    Hello,
    in addition to Sudarshan's statement about the discontinued support: In my SPRY library I found this "html_dataset_sample". Maybe it could help you. Here the source code:
    <!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" xmlns:spry="http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <script src="SpryAssets/SpryData.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryHTMLDataSet.js" type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    var ds1 = new Spry.Data.HTMLDataSet("benefitsdata.html", "bizben", {firstRowAsHeaders: false, useCache: false, tableModeEnabled: false, sortOnLoad: "column0", sortOrderOnLoad: "ascending", rowSelector: "tr.destroyed", dataSelector: "td"});
    ds1.setColumnType("column2", "number");
    ds1.setColumnType("column3", "number");
    ds1.setColumnType("column4", "number");
    //-->
    </script>
    </head>
    <body>
    <div spry:region="ds1">
    <table>
      <tr align="center" valign="middle">
       <th width="100" spry:sort="column0">Name</th>
        <th width="100" spry:sort="column1">Class</th>
       <th width="100" spry:sort="column2">Length(m)</th>
       <th width="100" spry:sort="column3">Crew Size</th>
       <th width="100" spry:sort="column4">Crew 1</th>
    </tr>
      <tr align="center" valign="middle" spry:repeat="ds1">
       <td width="100"><p>{column0.1}{column0.2}{column0.3}</td>
         <td width="100">{column1}</td>
       <td width="100">{column2}</td>
       <td width="100">{column3}</td>
       <td width="100">{column4}</td>
    </tr>
      </table>
    </div>
    </body>
    </html>
    Hans-Günter

  • Can i have more than 6 columns to sort in interactive reports  in apex 4.1?

    As of  now on clicking on Actions->format->sort only a select list with six columns is displayed in an interactive report . Is there any possibility to add more number of columns in this ? Can anyone help?

    Hey there. WELCOME to the world of Macintosh. You are in for a great ride with this machine and platform.
    Some good news for you regarding cameras. The neat thing about iPhoto, and indeed, the Mac, is that there is no setup required for hooking your camera to iPhoto. In fact, ANY camera you plug into the Macintosh that it recognizes will automatically work with iPhoto!
    I regularly use three different cameras with my iPhoto application. As soon as I plug into the USB port and power on my camera, the Mac figures out that it needs to start up iPhoto. iPhoto figures out how to talk to the camera, and gives me the option to import pictures from the memory card... no configuration, no extra software to install. I do this with a Canon camera, and two different Sony models.
    It's painless!
    If you find this message helpful or if it solves your problem, please indicate this by clicking the appropriate icon in the header of this reply.

  • Fetching more than one row from a table after selecting one value from the dropdown

    Hi Experts,
    How can we fetch more than one row from a table after selecting one value from the dropdown.
    The scenario is that I have some entries in the dropdown like below
      A               B               C        
    11256          VID          911256  
    11256          VID          811256
    11256          SONY      11256
    The 'B' values are there in the dropdown. I have removed the duplicate entries from the dropdown so now the dropdownlist has only two values.for eg- 'VID' and'SONY'. So now, after selecting 'VID' from the dropdown I should get all the 'C' values. After this the "C' values are to be passed to other methods to fetch some data from other tables.
    Request your help on this.
    Thanks,
    Preeetam Narkhede.

    Hi Preetam!
    I hope I understand your request proberly, since this is more about Java and less about WebDynpro, but if I'm wrong, just follow up on this.
    Supposed you have some collection of your original table data stored in variable "origin". Populate a Hashtable using the values from column "B" (let's assume it's Strings) as keys and an ArrayList of whatever "C" is (let's assume String instances, too) as value (there's a lot of ways to iterate over whatever your datasource is, and since we do not know what your datasource is, maybe you'll have to follow another approach to get b and c vaues,but the principle should remain the same):
    // Declare a private variable for your Data at the appropriate place in your code
    private Hashtable temp = new Hashtable<String, ArrayList<String>>();
    // Then, in the method you use to retrieve backend data and populate the dropdown,
    // populate the Hashtable, too
    Iterator<TableData> a = origin.iterator();
    while (a.hasNext()) {
         TableData current = a.next();
         String b = current.getB();
         String c = current.getC();
         ArrayList<String> values = this.temp.get(b);
         if (values == null) {
              values = new ArrayList<String>();
         values.add(c);
         this.temp.put(b, values);
    So after this, you'll have a Hashtable with the B values als keys and collections of C values of this particular B as value:
    VID --> (911256, 811256)
    SONY --> (11256)
    Use
    temp.keySet()
    to populate your dropdown.
    After the user selects an entry from the dropdown (let's say stored in variable selectedB), you will be able to retrieve the collection of c's from your Hashtable
    // In the metod you handle the selection event with, get the c value collection
    //and use it to select from your other table
    ArrayList<String> selectedCs = this.temp.get(selectedB);
    // now iterate over the selectedCs items and use each of these
    //to continue retrieving whatever data you need...
    for (String oneC : selectedCs) {
         // Select Data from backend using oneC in the where-Clause or whatever...
    Hope that helps
    Michael

  • How to display more than 60 columns in a report

    I have a table defined as follows
    id
    column_name
    column_value
    data sample
    id col_name column_value
    1 col1 val1
    1 col2 val2
    1 col3 val3
    2 col1 val1
    2 col2 val2
    2 col3 val3
    now I want to display the data in a report as follows
    id col1 col2 col3
    1 val1 val2 val3
    2 val1 val2 val3
    I was able to generate output using pivots [http://technology.amis.nl/blog/1197/pivot-dynamic-data]
    the problem is that I can have more that 60 columns retrieved in each row, the pivot solution will retrieve them correctly but I can't display more than 60 columns in apex reports, why this restriction in apex, any solution

    Hello:
    In the Source section of the report definition choose 'Use Generic Column Names (parse query at runtime only)' and then specify a suitable value for 'Maximum number of generic report columns:'
    Varad

  • Display more than 1023 Columns in alv

    can we display more than 1023 columns in alv. please provide inputs on any approach that can be followed to achieve this.
    Thanks.

    Hi,
    just for the record. Here's the code to create a table with 10000 columns, in this example all of type vendor. It could be modified a little to create any dynamic table. Without any visible limits and can be displayed in SALV.
    DATA:
        lv_lifnr       TYPE lifnr,
        lv_numc7       TYPE numc7,
        lt_components  TYPE cl_abap_structdescr=>component_table,
        lo_struc_descr TYPE REF TO cl_abap_structdescr,
        lo_tdescr      TYPE REF TO cl_abap_tabledescr,
        lr_tab         TYPE REF TO data.
      FIELD-SYMBOLS:
        <component>   TYPE LINE OF abap_component_tab,
        <range_tab>   TYPE STANDARD TABLE,
        <tab>         TYPE table.
    * build dynamic table
      DO 10000 TIMES.
        APPEND INITIAL LINE TO lt_components ASSIGNING <component>.
        <component>-type ?= cl_abap_datadescr=>describe_by_data( lv_lifnr ).
        lv_numc7 = sy-index.
        CONCATENATE 'FIELD' lv_numc7 INTO <component>-name.
      ENDDO.
      lo_struc_descr    ?= cl_abap_structdescr=>create( lt_components ).
      lo_tdescr        = cl_abap_tabledescr=>create( lo_struc_descr ).
      CREATE DATA lr_tab TYPE HANDLE lo_tdescr.
      ASSIGN lr_tab->* TO <tab>.
      APPEND INITIAL LINE TO <tab>.
    I discovered that it takes some time (15 seconds or more) to create, even F1 and F4 in the SALV table use considerable time to pop up, I think (SAP never imagined
    But it works - and the code is so simple!
    Kind regards,
    Clemens

  • Ipad - Display more than 8 columns in OWL

    Hi All,
    Currently iPad player will only display the first six columns of the OWL in portrait mode and the first eight columns in landscape mode. Can we display more than 8 column(s) in the OWL either in Potrait or Landscape mode ?
    Thanks,
    Rajesh Nimmakayala

    I really doubt this is possible. This is just how the player renders it out.
    Sorry!
    Fernando

  • Iwork numbers 09 - Freezing more than five columns

    I have previously been using excel for mac - I now have numbers and have successfully frozen headers. I also want to freeze columns to correspond with my excel spreadsheets. It looks as if I can only freeze five columns but I do not want to swap columns about as I send this over to my accountant and he wants the same format. Can I freeze more than five columns?

    More bad news:
    You will find that using header columns will make Numbers come to a crawl. In fact, I've found that I have to minimize the use of both header columns and header rows, although less so with head rows.

  • PCI 5112 and fetch more than available memory

    Would anyone confirm that  pci 5112 can run fetch more than available memory vi with a large number of records(more than onboard memory)? Mine appears not able. thanks.

    see attached screen shot. the error message is different from that in the cited article.
    Attachments:
    niscope_error.jpg ‏86 KB

  • How can I sort a table using more than one column in Numbers or in Pages?

    How can I sort a table using more than one column in Numbers or in Pages?

    Hi Ron,
    On the right side of the Toolbar click the Sort and Filter button, then select Sort.
    You can then set up a multiple column sort.
    Click Add A Column, Specify the sort for that column, Repeat.
    Jerry

  • Can numbers sort by more than one column? How?

    Can numbers sort by more than one column? How?

    Open the "Sort & Filter" options:
    Then add columns.  You can set sort ASCENDING or DESCSANDING then drag the items to set the which column is sorted first

  • Can I have one cell in a table extending over more than one column?

    I'd like to be able to have a table in which some cells extend over more than one column.
    In Word, I can just delete the right hand cell border, and the cell automatically stretches over the next column.
    (Pages 5.2.2.)
    Thanks

    Pages v5 is not an MS Word clone, and therefore, it doesn't matter what you did in Word. Select the adjacent table column cells, and then either two-finger tap, or right-click and choose merge cells from the contextual menu.

  • CAN YOU FREEZE MORE THAN 5 HEADER COLUMNS ?

    Can you freeze more than 5 header columns and header rows?

    Mike,
    According to Numbers '09 User Guide, Chapter 3, Adding Table Header Rows or Header Columns the maximum number of Headers is 5.
    The Numbers '09 User Guide is free for the download and full of important information:
    http://support.apple.com/en_US/manuals/#iwork

  • Can I create a table with more than 40 columns ?

    Hello,
    I need to organize my work with a table and need about 66 columns. I am not very good with Numbers but I know a little bit of Pages. I cannot find a way to create a table with more than 40 columns... Is it hopeless ? (Pages '08 v. 3.0.3)
    Thank you all

    It's never too late to try to teach users that the Search feature is not only for helpers.
    The number of columns allowed in Numbers is not a relevant value when the question is about Pages '08 tables.
    I tried to copy a 256 columns Numbers table into a Pages '09 document.
    I didn't got a table but values separated by TABs.
    I tried to convert this text range in a table and got this clear message :
    If I remember well, in Pages '08, the limit is 40 columns.
    It seems that you are a specialist of inaccurate responses, but I'm not a moderator so I'm not allowed to urtge you to double check what you wrote before posting.
    Yvan KOENIG (VALLAURIS, France) vendredi 29 avril 2011 14:57:58
    Please :
    Search for questions similar to your own before submitting them to the community

  • Can we query more than 5000 library items in Sharepoint online library using CSOM?

    I am writing a console application to fetch all documents from the SharePoint Online Site. I am worrying what happens if library items grow beyond 5000 items. In my earlier experience from SP2010, I will raise the threshold limit from Central Admin Site
    and then perform my CAML query operation. In SharePoint Online Site, is this possible ? If not, is there any alternative to get all the documents above 5000 limit ?

    At the moment I wouldn't advise it without using folders.
    You can, definitely, add more than 5k items in Office 365 lists. If you design them well and add indexes before you go over the threshold then it should be fine.
    HOWEVER, once you go over the 5k threshold you lose the ability to change all the items in the list at once. Which means you can't add indexes to columns, can't add new columns, can't remove columns or perform any large admin task.
    Incidentally CAML queries and upping the threshold are either/or options in on-premises installs. CAML is the way forward and can be used without increasing the threshold in the vast majority of cases.
    In terms of support the MS documentation is unhelpful:
    http://office.microsoft.com/en-gb/office365-sharepoint-online-enterprise-help/sharepoint-online-software-boundaries-and-limits-HA102694293.aspx
    There it states that MS only support 5k items in a site list/library.

Maybe you are looking for

  • Eyedropper not working in index color on Mac

    I recently changed from MAC 9.1 and photoshop 7 to a 24" IMAC and photoshop CS3. I have 3 gig ram -- operating system 10.4.10. I can't get the eyedropper to work in index color in CS3. I've talked with someone else who has a PC and it is working on t

  • PO from SRM to External Suppliers

    Hi, We want to implement the follow scenario : Send a PO from SRM in XML format to an external supplier using XI 3.0 , but the cuestion is whether XI has and predefinied scenario for this task , if not ,what is the recomenndaion to implement??? , we

  • Using a screen recording in FCP

    I made a screen recording that I want to import into FCP. However, when I try to import the recording, I get a file error. It says this: "File Error: 1 file(s) recognized, 0 access denied, 1 unknown." Any help importing this file is appreciated. It i

  • Shuffle 3G won't appear in iTunes 9.0.1

    Got a new Shuffle last week...synced it in iTunes 9.0 on my iMac. Yesterday I updated to iTunes 9.0.1 Yesterday I plugged in the Shuffle and it won't appear in iTunes. So I plugged it into my daughter's Windows PC that had iTunes 9.0. Shuffle appeare

  • Cannot sync selection of iPhoto to iPhone

    Just bougth an iPhone 3GS 16 gb and want to sync a selection of photos/maps from iPhoto, through iTunes, to the iPhone, just like I do with syncing music. Under the Photos tab in iTunes I can only choose for all the content of the iPhoto library. But