Javascript error when a table is placed within a table popin.

Hi experts,
I have a node 'Parent' which contains one attribute and a non singleton child node called 'Child' which contains five attributes.
I have created a Table 'OuterTable' in the view. The 'datasource' property of this table is set to the node 'Parent'. I inserted a popin in to this table and added another table 'InnerTable' as the content of this popin. InnerTable is bound to the node 'Child'.
For each parent element, there will be 'n' number of child elements. When i run the application i can see 'm' number of table popins(corresponding to 'm' number of parent elements) and inside each popin a table containing 'n' rows(corresponding to 'n' number of child nodes for each parent element).
When i try to select a row from the table in second or third popin, the browser shows a javascript error at the bottom left hand corner. Although it does not affect the application, i am curious why this is happening.
The main problem is that, we have to call this webdynpro application from a function module in R/3 which will show the application in the IE engine inside SAP GUI. In this case when we select any rows in the table, a pop up with a message 'Internet Explorer Script Error' comes and we are not able to proceed with the application.
Any help to resolve this issue will be highly appreciated and rewarded with points
Shabeer.

Hi Shabeer,
Can you try this
File location
1) <Installation Drive>\usr\sap\<System Name>\
<Instance Name>\JC00\j2ee\cluster\server<Number>\
apps\sap.com\irj\servlet_jsp\irj\root\portalapps\
com.sap.portal.htmlb\jslib\jslib/sapUrMapi_ie6.js
2) j2ee_<Instance Number>\cluster\server\services\
servlet_jsp\work\jspTemp\irj\root\portalapps\
com.sap.portal.htmlb\jslib\sapUrMapi_ie6.js
and try this
Find the function "function sapUrMapi_init()"
and the line
ur_system.emptyhoverurl = ur_system.mimepath+"emptyhover.html";
Add the following if condition before this line:
if (ur_system.emptyhoverurl == null || ur_system.emptyhoverurl == "")
so that the result reads like follows:
if (ur_system.emptyhoverurl == null || ur_system.emptyhoverurl == "")
ur_system.emptyhoverurl = ur_system.mimepath+"emptyhover.html";
Take a backup . You can try this on your local system before trying on the server.
Keep in mind that the object can be cached in both the server and
browser cache.
Regards
Pankaj Prasoon

Similar Messages

  • Javascript error when editing PCD-Objects

    Hello,
    suddenly I get a JavaScript-Error when I try to edit rules or pages within the PCD (EP6.0.2.35).
    When I use the script debugger I see an "access denied" error when the function
    window.frames["ivuFrm_page0ivu1"].document.close();
    is called. Sometimes it works though (after a server restart, the 1st edit seems to work).
    Any ideas?
    Thanks in advance,
    Reinhard

    Solved it on my own:
    We have the portal running as windows service, and therefore had "-Xrs" configured in the java parameters. According to a SAP-Note (to configure ThreadDumps) we deleted the "-Xrs"-Parameter and this seemed to have caused the JavaScript-Errors (!!!!!).
    Reinhard

  • Error when opening table container file keydb read only

    Hi Guys,
    We are installing solution manager 4.0 on windows/sql but we are getting following error and couldnt continue the installation
    FKD-00070  Error when opening table container file C:\PROGRA1\SAPINS1\SOLMAN\SYSTEM\MSS\CENTRAL\AS\keydb.xml for writing. Possible reason: "read-only"
    ERROR 2008-06-04 20:10:56.843
    FKD-00049  XML - Parser error: error: no DTD specified, can't validate in line 1, 1
    in file C:\Program Files\sapinst_instdir\SOLMAN\SYSTEM\MSS\CENTRAL\AS\keydb.xml.
    Please help
    Regards,
    Santosh

    Further info
    keydb.xml is empty and the directory has got write access for everyone
    regards
    Edited by: Santosh Keerti on Jun 4, 2008 1:29 PM

  • How do I fix a javascript error when opening Dreamweaver?

    DW CS6 recently started having 2 JavaScript errors while opening the application and at least 1 additional JavaScript error when using the Insert Image command.  Can someone provide some advice on fixing this issue?

    This will help -
    Index to Dreamweaver FAQ
    Look at the very first issue.

  • How can I get Firefox to display details about a JavaScript error when one occurs?

    When in Internet Explorer I can set it up to display JavaScript errors as follows. Select Tools then Internet Options… then the Advanced tab. Under Browsing, find '''Display a notification about every script error '''and be sure its box is checked.
    I cannot find out how to do this in Firefox. I would like for it to display details about JavaScript errors when they occur instead of doing nothing.

    *Web Developer: https://addons.mozilla.org/firefox/addon/60

  • Database error when updating table ADRC

    Hi,
    We are on ECC 5.0 & are facing a problem whille maintaining anything relevant to table ADRC.
    For eg., if we try to maintain storage location or create a vendor code (XK01), for some inputs it works ...but most times the update just terminates with a message "Database error when changing table ADRC".
    Pls. help.
    Thanks,
    Saba.

    Hi
    You can refer to following SAP Notes in case they help:
    385440   Repairing inconsistencies in Customizing addresses
    417809    Customizing objects display incorrect addresses
    186910    Customers / vendors with incorrect address
    Otherwise i want to know more about the error you are getting to help you in better way.
    Thanks and Regards
    Esha Rajpal

  • Javascript error when opening CS3 on pc..?

    I cannot open ID on my CS3 package using my pc. The error appears twice in a box on screen stating
    'JavaScript Error'
    'Error Number 45'
    'Error string :Object is Invalid'
    'Line 387'
    also
    'JavaScript Error'
    'Error Number 45'
    'Error String; Object is Invalid'
    'Line 428'
    there was a problem initially due to program plug-ins reported missing so i tried going onto 'Help' and clicking on 'Configure Plug-Ins' from the drop down menu.
    Not sure what i did.. but now i cannot use ID as it shuts down after the javascript errors are reported.
    Anyone help?

    hi
    thanks for all the helpful info
    i tried to reinstall INDESIGN only... didnt work same problem.
    i tried by uninstalling INDESIGN and then reinstalling it only.... didnt work same problem.
    I guess im going to have to do a full reinstall.. not a problem, do i need to contact yourselves to get clearance for a reinstallation?
    I had a hard drive crash about 6 months ago and had to reinstall, had to phone Adobe and get an online clearance as id exceeded my sole installation for my CS3 hard copies.
    thanks again
    Date: Sat, 2 Jan 2010 09:50:57 -0700
    From: [email protected]
    To: [email protected]
    Subject: Javascript error when opening CS3 on pc..?
    I'd bet the original scenario was something like you tried to open a file and saw a message that you were missing plugins, or they were out of date, and that you should update or upgrade. That's the typical message you get when you try to open a file saved from a newer version of ID. Unfortunately it's quite misleading -- nothing you do to the plugins will help you in that case, and trying to use newer versions would be disastrous.
    You should be able to selectively reinstall just ID. If you have the DVD you can run the installer and do a "Repair" installation, and if that doesn't work, you should be able to uninstall ID, then reinstall without removing the whole suite. If that still doesn't work, bite the bullet, uninstall everything and run the clean script (http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402767&sliceId=1), then reinstall. I'm not sure what happens with a downloaded installer, but I suspect it works the same. I'm pretty sure I read somewhere that to uninstall from a download you need to have it in the same location as was originally used for the installation.
    Peter
    >

  • Multiple JavaScript errors when opening aspx file in Dreamweaver

    I get multiple javascript errors when opening aspx file in Dreamweaver similar to... "While executing translateHyperLink in ExternalRenderers.htm, a JavaScript error occurred."

    Hi Steven,
    Not sure if this is related, but can  you try the solutions in Troubleshoot JavaScript errors | Dreamweaver CS4, CS5, CS5.5, CS6
    Thanks,
    Preran

  • Javascript error when viewing IE 8 (autosizing popup)

    Experiencing script error in IE8 when trying to display webpage created in Robohelp 8. The problem does not exist on other computers in my office.
    This function was working and now it is not.
    Do I need to change my code some how? I have already tried to reset default setting and deleted some additional tool bar that were added.
    I don't know if this problem is with IE8 or Robohelp 8.
    At a lost....PLEASE HELP!!!
    error reads
    Script Error ! An error has occured in the scirpt on this page.
    Line 1122
    Char 3
    Error  'innerWidth' is undefined
    Code )
    URL: file///C:/Courtroom_Services/ehlpdhtm.js
    Monette

    Thanks for responding...
    Yes, output is Webhelp.
    I have generated my project with every change. When a different user uses
    my pc the autosize popup windows work.'
    I need discover that IE does not support innerwidth, with is in my file
    eHlpDtm.js (a file in RoboHelp)
    I am not aware of using a rendering plugin such as chrome frame.
    Webhelp works fine in Mozilla.
    Any suggestion how to fix the problem in IE8
    Thanks,
    Ms. Monette
                                                                                    Willam van                                                   
                 Weelden                                                      
                 <[email protected]                                          To
                 >                         "Ms. Monette1129"                  
                                           <[email protected]
                 10/14/2011 12:34                                           cc
                 AM                                                                               
    Subject
                                           Javascript error when   
                 Please respond to         viewing IE 8 (autosizing popup)    
                 jive-214998122-qq                                            
                 [email protected]                                            
                  orums.adobe.com                                                                                

  • JAVASCRIPT ERROR WHEN DISABLED THE WELCOME AREA

    Hi sdn,
    I have modified our portal design. I set the welcome area and the logo area to the value none. Now I am always getting a javascript error when I call the side in my browser.
    I get the message that an object is missing and the browser can not set the focus to an element ==> because I have disabled two areas of the portal header.
    I have recognized this problem in all portal releases from EP6SP2 to EP6SP9.
    What can I do to prevent these error messages?

    I think this issue is fixed by this note : 798647. Suggested to go with latest hotfix.

  • Javascript error when send email using webmail

    Dear Sun,
    One of our user encounter javascript error when try sending email using webmail below is the error message:
    " +https://webmail.ubd.edu.bn/uwc/webmail/comp_fs_lr.html&rev=3&security=false&lang=en&popupLevel=undefined&cal=1&charset=escaped_unicode, Line 1755+
    +Permission denied+
    "

    Hi Shane,
    below is the answer you need
    What browser is the user using?
    => Firefox and IE
    What browsers have you tested where it doesn't occur?
    =>I tested all the browser (firefox,IE, chrome) it doesn't happen to me
    When did this problem first start?
    =>After the user finish compiled his message and click send
    What is the exact version of UWC you are running (./showrev -p | grep uwc)
    =>Patch: 122793-26 Obsoletes: 118540-43, 117287-99, 117819-13, 119156-07 Requires: Incompatibles: 118042-22, 126233-04 Packages: SUNWuwc
    Patch: 122793-29 Obsoletes: 118540-43, 117287-99, 117819-13, 119156-07 Requires: Incompatibles: 118042-22, 126233-04 Packages: SUNWuwc
    Patch: 122793-31 Obsoletes: 118540-43, 117287-99, 117819-13, 119156-07 Requires: Incompatibles: 118042-22, 126233-04 Packages: SUNWuwc
    Does this error occur all the time? Does it occur for every user, or some users or just one user?
    => Not all the time, so far i just receive one complaint .

  • Javascript Error when calling EPCM.raiseEvent

    Hi all!
       I'm having a Javascript error when calling EPCM.raiseEvent function. The error is :
       'The object does not accept the method or property'
      Maybe the traslation is not perfect (I'm using spanish for my browser). Here is my call:
       EPCM.raiseEvent('myPar','myEvent','myParam');
      What can be wrong?
      Thanks in advance, and sorry for my terrible english.

    Hi!
       This error is very strange... I accidentally changed the event name at consumer, but not at producer.... and the error didn't appear... Obviuslly it did'nt work, but it's so strange that if the event is not cought, there is no error (but nothing happens)
       I also noticed that doesn't matter which event I raise (I have two of them), the error is thrown at the same line, and they have totally different caller and receiver functions....
    Thanks In advance.
    Message was edited by:
            Eneko Rodriguez

  • Javascript Error When Loading Dreamweaver CS3

    Hi,
    Thanks for taking time to read my post.
    I have Dreamweaver CS3 installed. It was running fine till tomorrow and than suddenly I started to get javascript errors when trying to open file in DM. I reinstalled DM twice but issue was not resolved.
    Below is the image of error I get:
    Please advice.
    Sincerely,
    Zeeshan

    It sounds as though you have a corrupted cache file. Instructions on how to delete it: http://forums.adobe.com/thread/494811.

  • Javascript error when inserting dynamic table in DW

    Hi
    Im using DW9 (CS3) and have problem.
    When i klick on the 'dynamic table' button i get this error:
    While executing insertObject in Dynamic Table.htm, a
    Javascript error(s)
    occurred:
    Any sulution?
    Please send me a copy fo the reply to my mail:
    [email protected]
    /Torbjörn

    If that fails to solve the problem, then I recommend you
    contact Adobe
    directly and use one of your one-on-one support incidents.
    http://www.adobe.com/support/programs/dreamweaver/index.html?tab:contact=1
    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
    ==================
    "Torbjörn Sjögren" <[email protected]>
    wrote in message
    news:fa26gs$bns$[email protected]..
    >I have tried several of the tips in the article. But no
    luck.
    > Did a reinstall of DW but no luck.
    > I´m very thankful for any tips.
    >
    > "Murray *ACE*" <[email protected]>
    skrev i meddelandet
    > news:fa004o$np6$[email protected]..
    >> 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
    >> ==================
    >>
    >>
    >> "Torbjörn Sjögren"
    <[email protected]> wrote in message
    >> news:f9vu6c$lol$[email protected]..
    >>> Hi
    >>>
    >>> Im using DW9 (CS3) and have problem.
    >>> When i klick on the 'dynamic table' button i get
    this error:
    >>> ---------
    >>> While executing insertObject in Dynamic
    Table.htm, a Javascript error(s)
    >>> occurred:
    >>> ---------
    >>>
    >>> Any sulution?
    >>>
    >>> Please send me a copy fo the reply to my mail:
    >>> [email protected]
    >>>
    >>> /Torbjörn
    >>>
    >>
    >>
    >
    >

  • IE Javascript Error when Creating-Posting SC - JDK/JVM issue in SSL mode?!?

    Hi SDN
    We are running on SRM 5.0, with server at 5.5 and we have just implemented SP 11. Since then, our users running IE with the Sun JVM 1.4.2_10 are getting a JavaScript error everytime an applet loads (EPCF) on their page (in this case, it is the applet within the Document & Attachments section). Moreover, our portal is being hosted on an SSL secured server within our DMZ, in conjunction with a Provencia IDS System, Blue Coat hardarware, RadWare, ...etc.
    The only way we can make that page work, is by disabling the Sun JVM (1.4.2.10) and use the MS Version of the Java Virtual Machine within IE. At that point, no issue with the applet on our SSL Secured Portal. Even funnier, is that when I'm calling directly the Portal Server (without the SSL proxy), even if i run the Sun JVM, I'm not getting the error. Since we have over 1000 users, it would be impossible to have all of them making that change... We need to make that work, especially that the IE JVM is not supported anymore.
    Have you ever experienced something like that? If yes, what have you done to fix it? Any suggestion, OSS notes
    Thanks in advance
    Eric L.

    Hi Andrea
    This is the Javascript Error I'm receiving (extracted for the JVM Console).  I thought I've found an OSS Note (1140460) but it did'nt work.
    22/08/08 10:29:30 AM INFO
         DataBag #0 getObjectType: urn:com.sapportals.portal.SWF2EPCM:DataBag BBP0002.0001.00000000 class Null
    Invoking method: public com.sapportals.portal.epcf.IDataBag com.sapportals.portal.epcf.EPCMfactory.getDataBag()
    Invoking method: public java.lang.Object com.sapportals.portal.epcf.DataBag.getObject(java.lang.String,java.lang.String)
    Needs conversion: java.lang.String --> java.lang.String
    Needs conversion: java.lang.String --> java.lang.String
    22/08/08 10:29:30 AM INFO
         DataBag #0 getObject: urn:com.sapportals.portal.SWF2EPCM:DataBag BBP0002.0001.00000000 null
    Invoking method: public com.sapportals.portal.epcf.IDataBag com.sapportals.portal.epcf.EPCMfactory.getDataBag()
    java.lang.ClassCastException
         at sun.plugin.com.DispatchImpl.convertParams(Unknown Source)
         at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
         at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
    java.lang.Exception: java.lang.ClassCastException
         at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
         at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.com.DispatchImpl.invoke(Unknown Source)

Maybe you are looking for