Skip to Content

TableView; Navigation; Runtime Error


I,m getting a 'Runtime Error; Error: Object doesn't support this property or method.' when I'm trying to navigate in a Tableview.

If I choose to debug this (because I have Microsoft Script Debugger), I have an error on:

function ur_table_getCellHeaders(s){ result = null....

This function is inside '../sap/public/bc/ur/Design2002/js/sapUrMapi_ie6.js'.

I'm currently with SP47, IE6.0.2800.1106 and using design2003.

I'm not getting any error if I use design2002.

My code is very simple:

<%@page language="abap" %>

<%@extension name="htmlb" prefix="htmlb" %>

<%@extension name="xhtmlb" prefix="xhtmlb" %>

<%@extension name="phtmlb" prefix="phtmlb" %>

<htmlb:content id = "content"

design = "DESIGN2003"

controlRendering = "SAP">


<htmlb:form id="formTable" >

<htmlb:tableView id = "result"

width = "100%"

table = "<%= t_data %>"

visibleRowCount = "8" >




Any help should be great.


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 11, 2005 at 03:40 PM

    Hi again,

    I found the problem.

    We cannot use the id = "result", because on that javascript function we have a field name 'result' and is missing up this.

    So, with SP47 don't give to id field the value result.


    Add a comment
    10|10000 characters needed characters exceeded

    • result sounds like a very common name, likely this and similiar words are already used ...

      In general, it is a good ides to maybe prefix your IDs, this avoids problems with existing IDs or functions:

      For example, <b>tv_</b>result (tv for tableview).

      In our current application I have a 60kb+ javascript file, lots of functions and variables in there, all are prefixed the one way or another, didn't run into any duplicate-name problems yet.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.