Javascript error: wdaOnMainLoad is undefined

Hello together
I'm reading the SDN for quite a while now, and thanks to all of you most of my problems could be solved. So I hope there is anybody who knows a solution to my current problem with WebDynpro for ABAP.
On our development machine everything works fine, but when it gets to the test and production systems, nothing WebDynpro related works, even the SAP demo applications don't load. All I got is a blank browser page and the following Javascript error (as shown in the thread title):
wdaOnMainLoad is undefined
This happends regardless of the browser I'm using, Internet Explorer as well as Firefox. I really don't know, how to solve the problem, or even to track the source of this error. The machines are all new with ECC 6.0 as far as I know.
EDIT: I just forgot to mention, that I searched SDN and Marketplace for this problem, but I didn't found anything. There are some SAP Notes though (1266588, 1417118, 1454373) that seem interesting, but nothing is related exactly to my problem.
Edited by: Sebastian Raffel on Jun 27, 2010 6:19 PM

Sebastian,
Make sure all the configurations are properly done
http://www.docstoc.com/docs/14973999/Web-Dynpro-ABAP-Configuration/
http://help.sap.com/saphelp_tm70/helpdata/en/43/e86de5008b4d9ae10000000a155369/content.htm
Thanks
Bala Duvvuri

Similar Messages

  • Javascript error "'_jspDir' is undefined" when clicking af:selectInputDate

    I have a af:selectInputDate component inside a af:showDetailItem (af:showDetailItem is inside a af:showOneTab).
    When the attribute Disclose of the af:showDetailItem set to true. There are no probelms to pop up date picker. But if the Disclose set to false, I got the javascript error : '_jspDir' is undefined. This error only happend in IE (my version is IE7).
    Any ideas / helps?
    JDeveloper 10.1.3.3.0 (cannot upgrade to JDeveloper 11g)
    Thanks
    Joyce
    Message was edited by:
    xpp

    Hi,
    doesn't reproduce on 10.1.3.4
    Frank

  • JSF web app gives javascript error - 'dojo is undefined' and 'webui is unde

    Hi,
    BACKGROUND: I have created a Netbeans 6 Visual Web Project. I have also integrated my web app with RichFaces 3.1.3. My web application can be viewed properly and correctly when i deploy it on tomcat 6.
    ARCHITECTURE: Our server configuration requires IIS to be our web server and tomcat to be our app server. Both are running on different machines. I have successfully linked up IIS 6 and tomcat 6 using the JK isapi_redirector.
    PROBLEM: However, when i connect to my app via IIS, my starting page opens but the input box components on that page are not displayed and i get several javascript errors that read - 'dojo is undefined' and 'webui is undefined'.
    Any help or advice in this matter will be greatly appreciated.
    Thanks!!!

    I managed to find a workaround. Thought i should share it with those who are faced with a similar issue.
    I found that a bug report had been placed in the past with Apache Dev. However, they had said that they would not modify their logic because the servlet container spec requires it (even though isapi_redirector is only a connector and not a container). They said that there is no way for the isapi_redirector to differentiate between /foo/WEB-INF when foo is a context and when foo is just a sub-directory of the ROOT web application. So, the general consensus was to err on the side of safety and risk blocking a few requests that are valid.
    However, this causes a serious issue for those using NetBeans JSF Visual Web Projects. Hence, I created my own flavour of isapi_redirector by modifying the code such that this check is not performed and leaving the onus of checking on Tomcat.
    For those who are interested, the simplest way to go about this would be to force the function uri_is_web_inf (in jk_isapi_plugin.c ) to always return FALSE.

  • Javascript error of $x undefined

    while implementing ajax for dynamic tooltip i got an error of undefined $x. i wanted to know can i use $x in htmldb 2.0? and what causes this error in my javascript as it was on called
    Please help...

    Hi,
    Thanks for the reply....
    I'm using the following code can you please let me know what changes should i make to this code to implement it in htmldb 2.0.
    <script type="text/javascript">
    function ajax_help(pThis,pId){  
    this.dTimeout;
    clearTimeout(this.dTimeout);
    this.dGet = dGet;
    this.dShow = dShow;
    this.dCancel = dCancel;
    var get = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=Ajax_Description',0);
    this.dGet();
    return;
    function dGet(){  
    this.dTimeout = setTimeout("this.dCancel()",5000);
    get.add('LINK_ID',pId);
    get.add('TEMPORARY_PAGE_ID',$x('pFlowStepId').value);
    get.GetAsync(dShow);
    alert(pId);
    function dShow(){  
    $x_Hide('rollover');
    if(p.readyState == 1){  
    }else if(p.readyState == 2){  
    }else if(p.readyState == 3){  
    }else if(p.readyState == 4){  
    $x('rollover_content').innerHTML = p.responseText;
    $x_Show('rollover');
    htmldb_IE_Select_Item_Fix($x('rollover'));
    $x_Style('rollover','left',findPosX(pThis)+pThis.offsetWidth+5);
    $x_Style('rollover','top',findPosY(pThis)-($x('rollover').offsetHeight/2)+($x(pThis).offsetHeight/2));
    document.onclick = function(e){  
    dCheckClick(e);
    }else{return false;}
    function dCheckClick(e){  
    var elem = html_GetTarget(e);
    try{  
    var lTable = $x_UpTill(elem,"DIV");
    if(lTable.id!='rollover_content'){dCancel();}
    else{}
    }catch(err){dCancel();}
    function dCancel(){  
    $x_Hide('rollover');
    document.onclick = null;
    get = null;
    function dcancel(){  
    $x_Hide('rollover');
    document.onclick = null;
    get = null;
    </script>
    This code is in apex 3.1 version. I wanted to implement this code in htmldb 2.0 so what changes should i make??
    Please help...

  • Unknown javascript error

    Hi All experts,
             I am having one problem in running the application.
         In my view i am having one dropdown(which is of type toolbardropdownbykey).
        intitially when the page is loaded, values are coming into the dropdown properly.
        But there is one (edit)linktourl to each taskname. if i am clicking that edit link then it is giving unknown javascript error "activeoffsetonscreen is undefined".... but data is populating properly and application is running properly after selecting the dropdown. how can i debug that error.
    if any one give their email id, then i can send u the screen shots of my error.
    plz give me the solution  or how to debug the error.

    Hello Guys,
    I have a response to a OSS note regarding this problem from SAP. Please follow note 913297. SAP says this has been fixed with latest release of SP15 and the note talks about how to apply the patch on SP15 onwards.
    I had this problem on SP14 and i dont see this problem on SP16.
    Hope this helps,
    Regards,
    Rajit Srinivas

  • Javascript error for detailed navigation tree : 't' is undefined

    Hi everybody,
    I have a problem on my anonymous role. When i click on the link page of a km navigation IView in the detailed navigation tree, the IView open itself but the navigation tree disappear and i have a Javascript error :
    Error :  't' is undefined.
    Code :  0
    URL :  http://localhost:50000/irj/portal/anonymous?standAlone=true&buildTree=false&NavPathUpdate=false
    Could somebody help me please ?

    Sorry but it's the same result.
    Anybody else?
    Somebody could say me if i modify the parameter of the URL somewhere?
    http://portal:50000/irj/portal/anonymous?standAlone=true&buildTree=false&NavPathUpdate=false&windowId=WID1182328037651
    I talk about the parameter buildTree or NavPathUpdate.
    These parameters are added when ai click on the link of the tree.

  • Javascript Error for Dropdown: oAccessibilityHelper is Undefined

    I have developer a WebDynpro (ABAP) component that has a DropdownByKey.
    The component is embedded in two different compoents that are part of different WD aplications.
    In application A, everything works fine, but in application B, I am getting a JavaScript Error when clicking on the dropdown.
    The error message is "oAccessibilityHelper is undefined".
    What can I do? Why are the two applications behaving differently? I could find no difference so far.

    Because of Web Dynpro's closed rendering system, nothing you do should really be able to cause a JavaScript error.  Anything of a mistake should be caught and reported by the Web Dynpro layer.  So if you have a reproducable JavaScript error you should really search for support notes/open a support ticket.

  • JavaScript runtime error: 'WebForm_DoPostBackWithOptions' is undefined

    Hi, I am using VS2010 and Windows 7. ASP 4.  I am testing an application that has been running for 7 years.  I usually add modifications that I test every month. Now when I enter test mode in VS2010 and display the first screen
    and then hit the first button I receive "JavaScript runtime error: 'WebForm_DoPostBackWithOptions' is undefined". This is a first. I have been racking my brain to remember what I have installed or upgraded in the last month. I believe I may have
    updated  IE to 11 but I am not sure. Can anyone lead me to the correct direction? Thanks, Jim 

    Hi,
    Welcome to MSDN forum. But I am afraid that the issue is out of support range of VS General Question forum which mainly discusses
    the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    It seems that you got the issue when you click the button on the web application manually, if yes, I suggest that you can consult your issue on ASP.NET forum:
    http://forums.asp.net/
     for better solution and support like this thread with similar issues:
    http://forums.asp.net/t/1949713.aspx?Getting+Error+on+IE11+.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Spry Menu Bar Javascript Error - items[i].getElements..."a")[0] is undefined

    I have used a spry menu bar on several websites now, and It works very well.
    However, I get a javascript error everytime a page loads. Like I said the menu bar works, but i would like my page to run error free.
    The error is this  items[i].getElements..."a")[0] is undefined
    and it occurs in the following block of code from the spry js file.
    // safari doesn't support tabindex
        if (Spry.is.safari)
            this.enableKeyboardNavigation = false;
        if(this.element)
            this.currMenu = this.element;
            var items = this.element.getElementsByTagName('li');
            for(var i=0; i<items.length; i++)
                if (i > 0 && this.enableKeyboardNavigation)
                    items[i].getElementsByTagName('a')[0].tabIndex='-1';
                this.initialize(items[i], element);
                if(Spry.is.ie)
                    this.addClassName(items[i], this.isieClass);
                    items[i].style.position = "static";

    Hi,
    The problem could be in your HTML-code or even in your modified style sheet.
    So that we do not have to guess, please give us these code, preferably by supplying an online URL.
    Ben

  • Report Viewer Javascript error

    I have a good report that works great if I export to pdf.
    objdoc.ExportToDisk (ExportFormatType.PortableDocFormat, "c: \ \ testreport.pdf");
    When I load the CrystalReportViewer
    CrystalReportViewer1.ReportSource = objdoc;
    returns a javascript error:
    TreeWidget_getHTML JScript
    file:
    allinOne.js
    this instruction:
    to for (var D in E) {B [C + +] = E [D]. getHTML (F.initialIndent, D == 0)
    because b[c++] is undefined for some values ...
    The only problem I have when I load the report in the ReportViewer.
    The old crystalreportviewer 10.0.53 works on VS2008 now i like import this aspx on VS2010 but i have this problem.

    Is there any resolution for the above issue?
    I have the similar problem.
    To reproduce the error just add a reference to a js script file in the page head:
    <script src="/Scripts/ClassExtentions.js" type="text/jscript"></script>
    where the Array prototype has an extension like: "Array.prototype.testing = true;"
    on loading the page an error occurs in treeview.js TreeWidget_getHTML() function:
    ..sub[i].getHTML < is undefined (Object doesn't support this property or method) = no getHTML function.
    Verifying function (prototype property) availability is missing from other code parts as the next error is in palette.js PaletteWidget_init function:
    ..item.init() < is undefined = no init function for the runtime object, item..
    tryed this fix (works fine):
    treeview.js line 711
         for (var i in sub)
           if (sub[i].getHTML) a[j++]=sub[i].getHTML(o.initialIndent,i==0)
    best regards, Zsolt

  • Error: 'bobj' is undefined - crystal report for VS2013 - please help ASAP

    Currently we are trying to migrate from VS2008 to VS2013 and we installed Microsoft Visual Studio Ultimate 2013 on a windows 7 laptop. All our crystal report programs are migrated to VS2013. I downloaded Crystal report Support Pack 10 (v. 13.0.10.1385) executable version and installed it. Then opened our old project (from vs2008) in VS2013 and it went through the conversion process. Later I opened each .rpt file and saved in VS2013 so that the crystal report files will be saved in the new format.
    I am getting the Error: 'bobj' is undefined when I try to run the report. Am I using the correct service pack 10, or should I use service pack 9. I have read through all the posts related to this error in earlier version of VS. Is there any correct fixes for VS2013?
    This is urgent, I am stuck with this error. please help??? Thank you.
    JS

    Don,
    I followed Adil Siddiqui's Blog and it worked!!!!
    Add Following code to web.config file
    <configSections>
    <sectionGroup name=“businessObjects“>
    <sectionGroup name=“crystalReports“>
    <section name=“rptBuildProvider” type=“CrystalDecisions.Shared.RptBuildProviderHandler,
    CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral,PublicKeyToken=692fbea5521e1304,  Custom=null“ />
           <section name=“crystalReportViewer” type=“System.Configuration.NameValueSectionHandler“ />
    </sectionGroup>
    </sectionGroup>
    </configSections>
    <businessObjects>
    <crystalReports>
    <rptBuildProvider>
    <add embedRptInResource=“true“ />
    </rptBuildProvider>
    <crystalReportViewer>
    <add key=“ResourceUri” value=“~/crystalreportviewers13“ />
    </crystalReportViewer>
    </crystalReports>
    </businessObjects>
    NOTE: “<add key=“ResourceUri” value=“/crystalreportviewers13“ />” worked without the ~ sign.
    Click the link below for the complete post:
    Visual Studio 2012 Crystal Report not working on Windows Server 2012/ 0x800a1391 &amp;#8211; JavaScript runtime error: &…
    Thank you Don for your help.
    JS

  • Javascript Error while executing BEx querry from browser

    Hi Folks
    We have been getting a number of Javascript errors while executing BEx querries from the browser.
    The various errors that we have been getting are:
    'SAPBWItemCatalog' is undefined
    'SAPBWJSgdo' is null or not an object
    'SAPBWShortCutCatalog' is undefined
    We have already looked at SAP Note 783496 and validated the solution.
    Is there some specific settings that needs to be maintained for this?

    Hi Sandip,
    Just spent 2 hours chasing this one so I know how frustrating it is.
    Solution:-
    Check mime service in SICF - dafault_host/sap/bw/mime - if it's greyed out activate it.
    Regards
    Nev

  • BPM Inbox not displayed, gives Javascript error

    Hi,
    I am trying to open the BPM Inbox via https://<host>:<port>/bpminbox, but it throws a Javascript error:
    Uncaught TypeError: Cannot read property 'dataServices' of undefined in ODataMetadata.js:13
    If I remove the roles UnifiedInboxUserRole and com.sap.bpem.Enduser, the BPM Inbox is shown fine, but it states correctly I don't have the appropriate roles.
    Have I missed some configuration? The standard UWL works just fine

    Hi Christian,
    In the defaultTrace the only hint is :
    WARNING: Interceptor for {http://odata4j.sap.com/}BPMEntitiesRequestResourceImpl has thrown exception, unwinding now
    com.sap.engine.services.servlets_jsp.server.exceptions.WebIllegalStateException: The stream has already been taken by method [getWriter()].
    at com.sap.engine.services.servlets_jsp.server.runtime.client.HttpServletResponseFacade.getOutputStream(HttpServletResponseFacade.java:244)
    at org.apache.cxf.transport.http.AbstractHTTPDestination.flushHeaders(AbstractHTTPDestination.java:535)
    at org.apache.cxf.transport.http.AbstractHTTPDestination.flushHeaders(AbstractHTTPDestination.java:502)
    ...but not sure if this is a root cause

  • Javascript Error in InputField Date Type

    Hi,
    We have migrated the Enterprise Portal Application EP5SP6 to NW2004s SP6.Everything works fine except one issue in a Manager Reports, Where we are using Date type InputField.
    Code used:
    <hbj:inputField
    id="otherdate1"
    type="DATE"
    showHelp="TRUE"
    size="10"
    maxlength="10"
    jsObjectNeeded="true"
    disabled="TRUE"
    >
    <%
    JSP-scriptlet-START----
    otherPeriodFrom=myContext.getParamIdForComponent(otherdate1);
    JSP-scriptlet-END----
    %>
    </hbj:inputField>
    Javascript Error : Line : 3958 code: 2 Error: 'Undefined' is null or not an object
    Above Error appears when the below option in IE is selected.And also, Error appears only when the user enters the date.Also, I cannot ask users to uncheck the settings in IE as most of the users doesn't have administrator access to their amchines
    Error doesn't seem to appear when user selects the date from DataPicker component irrespective whether the below option in IE is selected or not.
    IE Setting option :
    Display a Notification about Every Script Error
    I'm not able to find what could be the problem in EP 7.0 as it works perfectly in EP5.0.
    Any ideas would be appreciated !!
    Thanks,
    Jojo

    Sent an OSS message to SAP.SAP found the problem and fixed the issue and will be available in NW2004s SPS9.
    Jojo

  • Javascript error in BEx after system database copy

    Hello,
    we made a database copy of our BW 3.1 system on another hardware. After having done everything described in the How-To-Guide "Enable SAP BW Web functionality", we called the BEx via URL. The login screen displays and also the Report menu, but there occur JavaScript errors on the page, that didn't occur in the copy master. E.g.
    "SAPBWSSgdo is null or not an object" or
    "SAPBWItemCatalog undefined".
    These errors prevent the choice menu for BW report value options to be displayed, which is quite annoying. Does anybody know where the error might come from? Are there any components required by BEx which weren't copied with the database copy?
    Thanks for your help in advance,
    Volker Hofmann

    Hi Beat,
    thanks you're helping me! The MIME-Repository objects like JS-Files, stylesheets and images can be read. The strange thing is:
    The J2EE engine is hosted by a provider. When they're calling the BEx web reports, they're displayed correctly. But when we call them (via proxy!), the error occurs. Even the application management doesn't know where the error comes from, after having checked if the proxy caches old data. The error is still not resolved...
    Do you have another idea?
    Regards,
    Volker

Maybe you are looking for

  • Gui 7.0 windows xp, problem with Internet Explorer 6.0

    Hello Gurus,    I am installing SAP GUI 7.00, on all the windows XP machines, of our SAP users. All the machines where GUI 7.00 is installed, are facing the problem with Internet Explorer. When we click on IE we don't get error but the requested URL

  • Illustrator CS5.1 Crashing while scrolling font menu

    Hi, I have a brand new Macbook pro with Retina using OSX 10.9.3. I am trying to use my Illustrator CS5.1 for the first time on this computer. Every time I try to scroll down my fonts it crashes. I have tried validating my fonts and they all appear no

  • File properties to document characteristics

    Hi Experts, In my project PLM 7.0, I have a requirement that I don't know if is possible. Each info document will have only one file original attached, ¿Is possible to read the metadata of the file and pass them to document characteristics? Best Rega

  • Will I lose my data if I restore my iPad

    Will I lose my data if I restore my iPad

  • Multiple videos playing at once.

    Can iMovie makes videos with multiple different video playing together as one? Because I am doing this vocal thing while I need multiple records down together as they play. If iMovie doesn't do the job, what other programs can I try?