Java script error  when click on the  Tableview  in the BSp screen

Hi All,
          I am getting a javascript error saying
Line : 7770
Char :5
Error : 'rows' is null  or not an object
Code : 0
URL : http://saperpdev01............
I checked the source code on the BSP displayed page. It don't has that line 7770 specified in the error.
My Layout code is :
<%@page language="abap"%>
<%@extension name="htmlb" prefix="htmlb"%>
<htmlb:content design="design2003">
  <htmlb:page title = "Open Work Screen with Pre Approval and Rejected Invoices ">
    <htmlb:form id = "openwork" method = "post" >
<%
  data: l_num_msgs  type i,
  l_condition type string,
  l_message   type string,
  l_severity  type i.
%>
    <img align="left" src="hl_invoicing.gif"/>
      <BR>
      <p align="left">      </p>
      <p align="left">      Complete the form below to create and submit a vehicle repair invoice to Schwans Home Service.</p>
      <p align="left">      See
      <htmlb:link id            = "paymenttermslink"
                  text          = "Payment Terms"
                  onClientClick = "return parent.EPCM.doNavigate ('ROLES://portal_content/com.schwans.tsfc.The_Schwans_Food_Company/HS/iView_folder/External_Content/KM_iViews/Fleet_Payment_Terms', 1);"
                       />
      for payment details.</p>
      <%
          l_num_msgs = page->messages->num_messages( ).
          do l_num_msgs times.
          clear : l_message, l_condition, l_severity.
          call method page->messages->Get_message
          exporting index     = sy-index
          importing condition = l_condition
          message   = l_message
          severity  = l_severity.
          if l_condition eq 'error'.
      %>
      <h3 align="left"> <font size=2 color="Red"><b>      <%= l_message %></b></font></h3>
      <%
          elseif l_condition eq 'warning'.
      %>
      <h3 align="left"> <font size=2 color="orange"><b>      <%= l_message %></b></font></h3>
      <%
          endif.
          enddo.
      %>
      <htmlb:group id     = "groupone"
                   design = "sapcolor" >
     <htmlb:groupHeader>
        <table width="100%" border="0" cellpadding="5" cellspacing="1" >
            <tr>
                <td align="left" width="100%">
                  <!--<b> Invoicing </b> -->
                  <htmlb:textView id      = "tv1"
                                  text    = "Select a  Work Order Number"
                                  design  = "HEADER1" / >
                </td>
            </tr>
        </table>
    </htmlb:groupHeader>
    <htmlb:groupBody>
    <table width="100%" border="0" cellpadding="5" cellspacing="1" >
            <tr>
                <td align="left" width="100%">
                  <!--<b> Invoicing </b> -->
                  <htmlb:textView id      = "tv2"
                                  text    = "Pre-approved work"
                                  design  = "HEADER2" / >
                </td>
            </tr>
        </table>
    <table width = "100%">
      <tr>
      <td>
      <htmlb:tableView id               = "openwork"
                       table            = "<%= INVOICE->AT_OPENWORK %>"
                       design           = "STANDARD"
                       width            = "100%"
                       selectionMode    = "SINGLESELECT"
                       selectedRowIndex = "<%= INVOICE->A_OPENWORKSELECTION %>"
                       visibleRowCount  = "10"
                       footerVisible    = "TRUE"
                       emptyTableText   = "No Open Work Exists"
                       keyColumn        = "OPENWORKNO"
                       onRowSelection   = "openworktable" >
        <htmlb:tableViewColumns>
          <table width = "100%">
          <tr>
          <td >
          <htmlb:tableViewColumn columnName = "OPENWORKNO"
                                 title      = "Reference Number"
                                 width      = "20%"
                                 horizontalAlignment = "LEFT" >
          </htmlb:tableViewColumn>
          </td>
          <td >
          <htmlb:tableViewColumn columnName = "DOC_TYPE_TEXT"
                                 title      = "Document Type"
                                 width      = "20%"
                                 horizontalAlignment = "LEFT" >
          </htmlb:tableViewColumn>
          </td>
          <td >
          <htmlb:tableViewColumn columnName = "CREATEDDATE"
                                 title      = "Created On"
                                 width      = "20%"
                                 horizontalAlignment = "LEFT" >
          </htmlb:tableViewColumn>
          </td>
          <td >
          <htmlb:tableViewColumn columnName = "FLEETNO"
                                 title      = "Fleet Number"
                                 width      = "20%"
                                 horizontalAlignment = "LEFT" >
          </htmlb:tableViewColumn>
          </td>
          <td >
          <htmlb:tableViewColumn columnName = "VMRS_TEXT"
                                 title      = "VMRS Code"
                                 width      = "20%"
                                 horizontalAlignment = "LEFT" >
          </htmlb:tableViewColumn>
          </td>
          </tr>
          </table>
        </htmlb:tableViewColumns>
      </htmlb:tableView>
      </td>
      </tr>
      </table>
    </htmlb:groupBody>
    </htmlb:group>
    <htmlb:group id     = "grouptwo"
                   design = "sapcolor" >
     <htmlb:groupHeader>
     </htmlb:groupHeader>
    <htmlb:groupBody>
         <table width="100%" border="0" cellpadding="0" cellspacing="0" >
            <tr>
                <td align="left" width="100%">
                  <!--<b> Invoicing </b> -->
                  <htmlb:textView id      = "tv3"
                                  text    = "Rejected Invoices"
                                  design  = "HEADER2" / >
                </td>
            </tr>
        </table>
      <table width = "100%">
      <tr>
      <td>
      <htmlb:tableView id               = "rejectedinvoice"
                       table            = "<%= INVOICE->AT_REJECTED_INVOICES %>"
                       design           = "STANDARD"
                       width            = "100%"
                       selectionMode    = "SINGLESELECT"
                       selectedRowIndex = "<%= INVOICE->A_REJECTEDINVOICESELECTION %>"
                       visibleRowCount  = "10"
                       footerVisible    = "TRUE"
                       emptyTableText   = "No Rejected invoices Exists"
                       keyColumn        = "INVOICENO"
                       onRowSelection   = "rejectedinvoicetable" >
        <htmlb:tableViewColumns>
          <table width = "100%">
          <tr>
          <td >
          <htmlb:tableViewColumn columnName         = "VENDOR_INVOICE_NUMBER"
                                 title              = "Reference Number"
                                 width      = "30%"
                                 horizontalAlignment = "LEFT" >
          </htmlb:tableViewColumn>
          </td>
          <td >
          <htmlb:tableViewColumn columnName = "CREATEDDATE"
                                 title      = "Invoice Date"
                                 width      = "20%"
                                 horizontalAlignment = "LEFT" >
          </htmlb:tableViewColumn>
          </td>
          <td >
          <htmlb:tableViewColumn columnName = "FLEETNO"
                                 title      = "Fleet Number"
                                 width      = "20%"
                                 horizontalAlignment = "LEFT" >
          </htmlb:tableViewColumn>
          </td>
          <td >
          <htmlb:tableViewColumn columnName = "REJECTION_REASON"
                                 title      = "Reason for Rejection"
                                 width      = "30%"
                                 horizontalAlignment = "LEFT" >
          </htmlb:tableViewColumn>
          </td>
          </tr>
          </table>
        </htmlb:tableViewColumns>
      </htmlb:tableView>
      </td>
      </tr>
      </table>
  </htmlb:groupBody>
</htmlb:group>
<htmlb:textView id     = "tv1"
                text   = "Select a Reference Number from the table above and click the Select button - or - Click the Create New button to create a new invoice."
                design = "LABEL" />
     <table width="100%" border="0" cellspacing="1"  align="center" >
       <tr>
       <td  align="center" nowrap="TRUE">          
         <htmlb:button    id            = "selectbtn"
                          text          = "SELECT"
                          onClick       = "btnselect" />
         <htmlb:button    id            = "createnewbtn"
                          text          = "Create New"
                          onClick       = "btncreatenew" />
         </td>
       </tr>
      </table>
    </htmlb:form>
    <%@include file="footer.htm" %>
  </htmlb:page>
</htmlb:content>
What may be wrong????
If I click anywhere on the table view it's giving a javascript error. If I try to select a row from the table also it's giving error for one or two times and on the third time i am able to select the table content and can able to navigate to the next page.
Thanks for your help in advance.
Thanks,
Greetson

Hi Raja,
     please kindly recheck the code if mine i have two tables ..... one for heading and another one for Body.
it looks correct to me.
<table width = "100%">
>     <tr>
>     <td>
      <htmlb:tableView id               = "rejectedinvoice"
                       table            = "<%= INVOICE->AT_REJECTED_INVOICES %>"
                       design           = "STANDARD"
                       width            = "100%"
                       selectionMode    = "SINGLESELECT"
                       selectedRowIndex = "<%= INVOICE->A_REJECTEDINVOICESELECTION %>"
                       visibleRowCount  = "10"
                       footerVisible    = "TRUE"
                       emptyTableText   = "No Rejected invoices Exists"
                       keyColumn        = "INVOICENO"
                       onRowSelection   = "rejectedinvoicetable" >
        <htmlb:tableViewColumns>
          <table width = "100%">
          <tr>
          <td >
          <htmlb:tableViewColumn columnName         = "VENDOR_INVOICE_NUMBER"
                                 title              = "Reference Number"
                                 width      = "30%"
                                 horizontalAlignment = "LEFT" >
          </htmlb:tableViewColumn>
          </td>
          <td >
          <htmlb:tableViewColumn columnName = "CREATEDDATE"
                                 title      = "Invoice Date"
                                 width      = "20%"
                                 horizontalAlignment = "LEFT" >
          </htmlb:tableViewColumn>
          </td>
          <td >
          <htmlb:tableViewColumn columnName = "FLEETNO"
                                 title      = "Fleet Number"
                                 width      = "20%"
                                 horizontalAlignment = "LEFT" >
          </htmlb:tableViewColumn>
          </td>
          <td >
          <htmlb:tableViewColumn columnName = "REJECTION_REASON"
                                 title      = "Reason for Rejection"
                                 width      = "30%"
                                 horizontalAlignment = "LEFT" >
          </htmlb:tableViewColumn>
          </td>
          </tr>
          </table>
        </htmlb:tableViewColumns>
      </htmlb:tableView>
>     </td>
>    </tr>
      </table>

Similar Messages

  • Java Script Errors when clicking on several opened documents

    All of a sudden I started having problems shutting down
    Dreamweaver MX 6.1
    Later , when I open two or more documents I get an error when
    I click on the document in the background.
    A series of dialog boxes come after eachother and say the
    following:
    1. While executing Browse_back enabled in toolbars.xml, a
    java script error occurred
    2. While executing Browse_back enabled in toolbars.xml, a
    java script error occurred
    3. While executing Browse_forwrad enabled in toolbars.xml, a
    java script error occurred
    4. While executing Browse_stop enabled in toolbars.xml, a
    java script error occurred
    5. While executing get current value in AddressURL.htm
    enabled in toolbars.xml, a java script error occurred
    I have uninstalled and reinstalled the program several times
    and it did not help. I have also installed Dreamweaver MX 6.1
    updaters with no change.

    You can try this simple fix -
    Quit DW.
    Find this folder -
    C:\Documents and Settings\<username>\Application
    Data\Macromedia\Dreamweaver
    8\Configuration\WinFileCache-*.dat
    (these folders are normally hidden - you may have to use
    Explorer > Tools >
    Folder Options to unhide them)
    or on Mac -
    Library/Application Support/Macromedia/Dreamweaver
    8/Configuration/MacFileCache-*.dat
    and delete it.
    Restart DW. Works better?
    Troubleshooting JavaScript errors in Dreamweaver
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19105#dat
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "anabelapinto" <[email protected]> wrote in
    message
    news:emh6hq$ke5$[email protected]..
    > All of a sudden I started having problems shutting down
    Dreamweaver MX 6.1
    > Later , when I open two or more documents I get an error
    when I click on
    > the
    > document in the background.
    >
    > A series of dialog boxes come after eachother and say
    the following:
    >
    > 1. While executing Browse_back enabled in toolbars.xml,
    a java script
    > error
    > occurred
    >
    > 2. While executing Browse_back enabled in toolbars.xml,
    a java script
    > error
    > occurred
    >
    > 3. While executing Browse_forwrad enabled in
    toolbars.xml, a java script
    > error
    > occurred
    >
    > 4. While executing Browse_stop enabled in toolbars.xml,
    a java script
    > error
    > occurred
    >
    > 5. While executing get current value in AddressURL.htm
    enabled in
    > toolbars.xml, a java script error occurred
    >
    > I have uninstalled and reinstalled the program several
    times and it did
    > not
    > help. I have also installed Dreamweaver MX 6.1 updaters
    with no change.
    >
    >

  • Weird error when clicking on instance- flow from the console

    When I have heavy volume coming in for the bpel server(ex: hundreds of instances generated at a time), I see the following weird error when I am trying to see the instance flow from console:
    Process state off. The process class "BugBAM" (revision "v2004_12_20__61032" ) has not been turned on. No operations on the process or any instances belonging to the process may be performed if the process is off. Please consult your administrator if this process has been turned off inadvertently.
    I didn't do anything to the process to turn the state off. What does this error message mean?
    Thanks, Jenny

    I am assuming that you are using 10.1.2 beta 1. Is that correct? I am wondering if in that version there is a switch that turns a process off when a new version of the process is deployed (this would be a bug because the active process should only be switched to retired).
    Next time you get this error, could you please go to the BPEL Console and check the state of the BPEL process.
    We will try to trace the error message in the source code and try to determine if there are other circumpstances which would generate the same error code.
    Edwin

  • Java script error when using a "Table" component (jsc2)

    using a table component, I get a js errors, when lodiing the HTML page, sorting rows etc.
    can some one helpe me or can some one have the same problem ?

    Hi,
    Please post JSC2 related queries at:
    https://feedbackprograms.sun.com/login.html
    Cheers
    Giri

  • Jave Script error when opening any page.

    Whenever I load a page into Firefox I get the following error message: "[javascript application] Type Error: Components Class [CID] is undefined" This has happened with the last few versions of Firefox.

    This issue can be caused by an extension that isn't working properly.
    Do you have any AVG extensions or toolbars installed?
    *Tools > Add-ons > Extensions
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Java Script Error

    Saved various websites which I was researching a trip with and about a week later opened them all up and got this error.
    Java Script: error in konaSafe reporting   it gave me the option to click OK which I did and it repeated itself 3 times before it quit.
    Any idea what is happening here
    Thanks

    I'm using Safari 5.1.7 and I'm using Snow Leopard 10.6.8 Intel.
    Ok I did a bit more experimenting and it turned out to be just one of the half a dozen web sites that I had archived during my research for a trip.
    When I had gone back to them and opened them up I did so as a block and that's when I got the error.
    This time I opened them one by one and found that just one of them was the culprit.
    It appeared that somehow an Add company called Invite had superimposed a Lufthanser rental add across part of the website which prevented me from using the website until I had clicked on their rental link.
    I searched for and  brought up the original website from Google and it opened up without the Add and I didn't get the Java Script error.
    Don't know just why only one of my original saved websites was affected but I'm sure that the Add by Invite had been the problem.   I have now opted out of that company's add program not that I had ever opted in.
    Thanks Brody for the suggestions and help.

  • Scripting error when opening Interactive Form

    Hi all,
    I'm experimenting with adobe interactive forms (in web dynpro), but things aren't going as expected. I'm getting scripting errors when clicking (in Internet Explorer) on a link that opens a view with an interactive form. Please see below for details.
    I've found a similar error description /thread/80059 [original link is broken], but the context is different. It seems to be related to namespaces, but I have no idea what I'm doing wrong.
    Any help is greatly appreciated!
    line 59: 'sapUrDomainRelaxing' is undefined
    line 109: Object expected
    line 113: Object expected
    line 137: 'SSR' is undefined
    line59
    ur_system = {<<SNIP>>, domainrelaxing: sapUrDomainRelaxing.MINIMAL, <<SNIP>>};
    line 109
    sapUrMapi_init();
    line 113
    sapUrMapi_Focus_RegisterCreate('');
    if( SSR && SSR.windowManager) SSR.windowManager.hideEventBlocker();
    sapUrMapi_initLinkStatus();
    line 137
    if (SSR.showInfo){ <<SNIP>> }

    Hello Jeroen and welcome to the SDN!
    It seems like an error in the WebDynpro-part, not in the Adobe forms-part. Please check if all your elements (views, windows, controllers, etc.) are in valid namespaces.
    Could you try to create an application for the WebDynpro-project in the NDS, and try to <i>deploy new archive and run </i>? Does this work?
    Perhaps you could even copy the project, and replace the Adobe Inter Form element by a static text, to test if it is in the WebDynpro part or that it really has something to do with the Adobe.
    Good luck,
    Jan-Willem Kaagman

  • Unresponsive Script Error when Saving Changed Set in Flickr Organizer

    I'm getting an unresponsive script error when saving a changed set in the Flickr organizer.
    The problem started when using Firefox 3.6.8 or maybe an earlier version. It persists in Firefox 3.6.12
    I've noticed the error only appears in the Organizer and only when saving a changed set or saving after deleting a set.
    It does indeed save the changed set correctly before crashing.
    It is not intermittent and happens every time I perform this save.
    The error does not occur in Chrome or Safari.
    Examples of the error messages can be found at
    http://www.flickr.com/photos/blazer8696/4897580573/
    and
    http://www.flickr.com/photos/blazer8696/4897656175/

    Upgrading to 4.0.1 has corrected this problem.

  • When I click on firefox I get a java script error that says "TypeError: Components.classes[TvtPwmComponent_CID] is undefined", what does that mean?

    Whenever I click on firefox, or when a pop-up occurs, I get a java script error that says, "TypeError: Components.classes[TvtPwmComponent_CID] is undefined". I don't know why. It first occurred while I was on ESPN while trying to watch college games live.

    This issue can be caused by an extension that isn't working properly.
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • How do i disable a java script error that pops up everytime i click on something?

    java script error Error: Permission denied to access property 'host'
    this continues to come up every time i click on something. this has only started since i downloaded firefox 4.0. how do i disable the pop up or do i just stop using 4.0? would go back to the last version but when i try to download that i'm told the files are corrupted

    Create a new profile exclusively for the 4.0 beta version and create a desktop shortcut with -P "profile" appended to the target to launch that profile.
    * http://kb.mozillazine.org/Testing_pre-release_versions
    * http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    * http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox

  • When opening firefox 3.6.8 I get a java script error at line 323

    When trying to open Firefox 3.6.8, I get a java script error:
    [JavaScript Error: "dir is null" {file: "file:///C:/Users/My%20Computer/AppData/Roaming/Mozilla/Firefox/Profiles/lk5mbar9.default/extensions/%7B0538E3E3-7E9B-4d49-8831-A227C80A7AD3%7D/components/nsForecastfox.js" line: 323}]' when calling method: [ffIDiskService::get]
    If I cancel the error message, FF opens, but then my google search bar will not search & then FF freezes up. I'm using Windows7.

    That is a problem with the Forecastfox extension.
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Get a "Download Error" when clicking on the "App" tab of Creative Cloud.

    Get a "Download Error" when clicking on the "App" tab of Creative Cloud.

    Yeah I finally had to call Adobe and some there did a screen share with me and they took care of it. I am running OSX 10.9.3 my issue was that the latex OSX update didn't communicate with the app. Like I said Adobe did a screen share with me and fixed it for me I think he just uninstalled and reinstalled and I want to say thats what took care of it.

  • I keep getting script errors when accessing Amazon Seller merchant pages. I get the following A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete. Script

    I keep getting script errors when accessing Amazon Seller merchant pages. I get the following A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete. Script: chrome://spautofill/content/spOverlay.js:150, I also get js210 as well. I have cleared all cookies and history and unistalled Firefaox and reinstalled. Been thru my AVS and set the site as trusted in every possible place. Still get the problem. Do not get it with IE on same PC.
    == URL of affected sites ==
    https://sellercentral.amazon.co.uk

    Same problem but with a different vendor site:
    https://www.webvitamins.com/myfavorites.aspx
    Not only does the page hang, but the other tabs also hang.
    I contacted the vendor and their reply was "we were told that this looks like a script that is used by "Sticky Password", third-party software that must have been installed on your browser. However, our website did not install it and does not have anything to do with it." As far as I can tell, "Sticky Password" is not installed on my Firefox.
    Same problem as above occurs, but with IE 8.0.6001.18702. Therefore, it is not unique to Firefox.
    CAUSE DETERMINED: Have determined that this problem only occurs when Kaspersky Password Manager is installed. In Firefox, if the "Password Manager Autofill Engine" add-on is disabled, the problem goes away.

  • Java Script Error while deploying a Model with Value Help

    Hi,
    I am using EP 7.0 SP 10.
    I am trying to deploy a model which includes the Value Help for an Input field, and i am trying to deploy this model.
    The model compiles successfully, but gives a Java Script Error while deploying the model,
    ! Error on Page
    When Click on this java script error, it shows that ,
    Line:14985
    Char 1: Error
    object does n't support this property or method.
    code
    URL: <serverhost>/VCRes/WebContent/VisualComposer6.0/bin/223334.htm?24102006.1712.
    The Same model works in dev server, and it fails in the production server.
    Thanks and Regards,
    Sekar

    Hi jakob,
    Thankyou for your quick response.
    I did a basic model with the help of a documentation which i got from this forums.I created a iView and from there i used Bapi "BAPI_SALESORDER ".
    I created a Input Form and a outpot form (table view).I tested model and am able to get the output.but when i try to deploy it is giving me the error.
    And i think am not paring any formulas here.
    Please guide me.
    thanks and regrads
    Pradeep.B

  • Java Script Error in downloading CS3 Master Collection

    I just bought a new MacBook Pro and I went to download my CS3 Master Collection. In the middle of downloading Disc 1 I got a kernel telling my to push the power button until the computer shuts off and turn it on again. Then when I tried to redownload Disc 1 it gives me an error message. "Java Script Error and says to download using the original media, but I AM using the ORIGINAL MEDIA. Anyone ever have this problem? I already tried pulling out the partial download from applications but it did not help. I cannot use my CS3 Master Collection now unless I figure out how to fix this problem.

    clear your adobe.com cookies or use a different browser or dl from prodesigntools.com
    to dl from prodesigntools.com:
    if you follow all 7 steps you can directly download a trial here:  Download Adobe CS4 and CS3 Free Trials Here (incl. After Effects) | ProDesignTools
    and activate with your serial number.
    if you have a problem starting the download, you didn't follow all 7 steps, or your browser does not accept cookies. 
    the most common problem is caused by failing to meticulously follow steps 1,2 and/or 3 (which adds a cookie to your system enabling you to download the correct version from adobe.com). 
    failure to obtain that cookie results in an error page being displayed after clicking a link on prodesigntools.com or initiates the download of an incorrect (eg, current) version.

Maybe you are looking for