Javascript error in web Dynpro iViews

Hello,
I've developed a web Dynpro page which accesses the default database ( maxdb). This page is working fine when tested by calling the application from the browser.
Now I've created an web dynpro iview in portal ( EP-6 SP15- Sneak preview). I get java script errors - <i>SSR undefined</i> and none of the drop down boxes are populated.
Can anyone help me out in this?
Thanks,
Sudhakar

Probably the stylesheets of your Portal are not compatible to the used Web Dynpro version.
Armin

Similar Messages

  • ABAP Web Dynpro iView error

    My ABAP Web Dynpro iView encouters errors:
    The URL http://sp06:8004/sap/bc/webdynpro/sap/z_jgo_demo// was not called due to an error.
    Note
    The following error text was processed in the system SB2 : WebDynpro Exception: Error in UCF Template POPUP_PAGE ($).
    The error occurred on the application server sw06_SB2_04 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISE of program CX_WD_GENERAL=================CP
    Method: RENDER_TEMPLATE of program CL_WDR_UCF====================CP
    Method: HANDLE_TEMPLATE of program CL_WDR_UCF====================CP
    Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    I was able to run the ABAP web dynpro application outside of portal by using the url: http://sp06:8004/sap/bc/webdynpro/sap/z_jgo_demo/. But with the extra / at the end, I get the same error.
    Can anyone point me to how to remove that extra / at the end?
    Thanks
    Ben

    Hi Gurus ,
    We have upgraded the SAP HR system from ECC6.3 to ECC6.4 and netweaver from 7.0 to 7.1 .
    Following are the list of error in EHP4 system ,
    1) Layout of ABAP Webdynpro Component are not displayed .
    2) Any ABAP WEBDYNPRO Application is not displayed by tesing in SAP-R3 and also in ESS .
    error are as follows while trying to view layout in abap webdynpro application :
    http://dv.hr.co.in:4567/sap/bc/wdvd/painting.html?_vdrespkey=4IS29CT7NDRIOI511AFI0R1E3&_vdframe=painting&sap-client=435
    If any one have information for this kindly let me know .
    Thanks :
    Vishwas

  • Getting error while taking preview of Web Dynpro iView

    Hi,
    I am getting this error while taking a preview of Web Dynpro iView :
    500   Internal Server Error
          SAP J2EE Engine/6.40
    Application error occurred during request processing.
    Details:   com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Wrong WebDynpro-URL: no application name specified
    Exception id: [0011D83FB2E7004A00000CB800001E0400045F7E8F181DF7]
    This error comes if the Web Dynpro iView don't have the Web Dynpro application name specified.
    Regards
    Neha Singh

    Hi,
    After selecting the Webdynpro java iView enter the following parameter correctly
    1. System -  Sap-LocalSystem
    2.Name Space  - local/<your webdynpro project name>
    3.Application name - <your webdynpro application name>
    4. choose plain HTML option
    Regards,
    P.Manivannan

  • IView not found error when excuting ABAP Web Dynpro iView

    Hi Experts,
    I have created one ABAP Web Dynpro iView for an existing Application.
    Parameters I have passed for iView creation.
    Namespace : sap
    Application Name: SampleApp
    System Name: R3_SYS.
    Can any one please pass on me the details what are the mandatory parameters need to be passed.
    Thanks in Advance,
    Chinna.

    Hi Chinna,
    You need to check the following parameters like
    Namespace - should be 'sap' as this is root node in SICF
    Application Name: - check name of WD application in se80
    Please refer to below thread for creating WD ABAP iview.
    Re: Webdynpro ABAP iView Blank Page
    Web Dynpro for ABAP iVIew's Namespace parameter
    how to create iview from webdynpro application  abap
    Hope it helps
    Regards
    Arun

  • Error in SAP Web Dynpro Iview

    Hi,
    We are facing problem with iviews, created using SAP Web Dynpro iView Template. Whenever user clicks on any of SAP Web Dynpro iView , portal main page is opened instead of Web Dynpro application. Same problem is encounted on preview of the iView. Everything was working fine till yesterday and suddenly we are facing this problem.
    Also, iview created using Web Dynpro Java Application option are working fine.
    What can be the reason behind the problem?
    Need your help.
    Thanks in Advance,
    Apurva

    Hi,
    Some times we get the home page instaed of the application.
    This may be due to the application is not active.
    Test from se80.
    If it is working fine create the iview again i think there are changes made to the application.
    Thanks,
    gopal

  • Eventing between Web Dynpro iView and regular DynPage iView

    I have seen, done eventing between two dynpage iviews and two webdynpro iviewsHowever, and gone through "How to Use the Portal Eventing for Web Dynpro iViews". However, I have been trying to have a webdynpro iview talk to a dynpage iview but they just won't communicate. Is this even possible?
    Ok basically I have a portal page in a popup window with no masthead and top level navigation. The page has two iviews -  the top one being an iView that points to a webdynpro application on Server A, and the bottom one being a dynpage iview on the Portal Server B.
    In the webdynpro iview, the code for when a button is clicked is
    public onSomeAction(Event event) {
        WDPortalEventing.fire("urn:myUrn","eventName","value");
    In the dynpage iview, the code i have for it is
    myServ = (IEpcfToolbox) PortalRuntime.getRuntimeResources().getService(IEpcfToolbox.KEY);
    myReceiver = myServ.getClientEventReceiver(request, "urn:myUrn", "eventName");
    form.addRawText(myReceiver.getWrappedScript());
    try {
        if (!myReceiver.isReceived()) {
            form.addComponent(createMainScreen());
        } else {
         form.addComponent(new TextView("event received!"));
    } catch (Exception e) {       
        form.addComponent(createErrorScreen());
    I tried all the things I could think of but the receiving iView just won't get the event fired.
    Can someone confirm that this should work? and correct me where I've done wrong.
    Please help. this is very urgent. your help will be greatly appreciated. thanks in advance
    PS. My environments are EP 6.0 SP2 and WAS 6.40 SP14

    > hi,
    >
    > portal eventing  works properly if all participants
    > are in the same domain. Otherwise portal eventing
    > g does not work. If the SAP J2EE
    > Engine on which the Web Dynpro application is
    > deployed is in another domain, you have to  map the
    > IP address of the SAP J2EE Engine to the domain name
    > of the
    > SAP J2EE Engine on which the SAP Enterprise Portal is
    > running, by editing the configuration file hosts.
    >
    > regards,
    >
    > Ganesh.N
    I am no direct access to the boxes so I can't try your suggestion. It really makes sense that eventing won't work if the iViews are on different domains. I know they are in the same domain but different subdomains.
    Anyway, good news I got eventing to work with the mentioned set. I found that that the SAP Java EPCFToolbox API had a bug that kept throwing javascript errors when I tried to have the web dynpro iview fire an event and the SAP one subcribed to it.
    I got around it but using the EPCF Javascript API instead.
    Code:
    response.write("<script>");
    response.write("EPCM.subscribeEvent('urn:dla.telework', 'createPdf', doSomething);");
    response.write("function doSomething() {");
    response.write("window.location = self.location + '&eventReceived=true';");
    response.write("}");
    response.write("</script>");
    So basically just output raw text through the response object and it just works.
    On a similar topic, since eventing can only pass string parameters back and forth, I'm still looking for a way to pass other more complex Java objects between web dynpro and sap iviews. From what I haven't they don't share the same session object (which I thought they did). So basically I can't just stick stuff in the session and pull it down on the other end. I'm clueless right now. If anybody has some tips, plesae share. Thanks

  • Portal theme not picked for SAP Web Dynpro Iview

    Hi,
    We have used light framework page for our portal and all the iviews display the content within the iviews in the same set of colors (blue for buttons). However, for a WD java content, I have created an SAP Web Dynpro iView and the contents displayed here appear in the SAP colors without picking those set for the portal.
    The same application parameters display the portal colors when we use the Web Dynpro Proxy iview.
    Any idea how I can make the SAP Web Dynpro iView appear like the other portal iviews?
    Note: The stylesheet property for the iview is already entered (ur), and I have also set the 'Supply Portal stylesheet' property to 'Yes'.
    Please provide your inputs.
    Thanks,
    Vinay

    Hi ,
    In ABAP Webdynpro for similar problem we used WDFORCEEXTERNAL Sheet property of WDA.
    The Web Dynpro framework automatically compares the versions of the portal and Web Dynpro
    for ABAP style sheets. If the Web Dynpro for ABAP has a newer version, the WDA style sheet is used. This avoids unattractive rendering and JavaScript errors.You can deactivate this behavior again using the WDFORCEEXTERNALSTYLESHEET application parameter of WDA.See also SAP Notes 1033496 .
    If you use the stylesheet of the portal to display the application, the rendering may not appear correctly and Javascript errors can occur(If portal style sheet is lower than WD).
    Though Iam not familiar with WD java , the property force portal style sheet in WD java application should be enough to make WD accept portal theme.
    Regards
    Karthiheyan M

  • Can't navigate Web Dynpro iViews in SAP Portal Environment

    We are facing a strange problem. When we try to Navigate other Tabs after refreshing Web Dynpro iView in Sap Portal Enviroment from Tray or Mouse right click or by external Popu window we are getting "can't execute code from a freed script" Error. Currently we have EP6 SP16.
    Any help ?
    Thanks
    Satyam
    Message was edited by: Satyanarayana Mandapati

    Hi Sathya,
    We have a similar Javascript error 'can't execute code from a freed script'.
    How did you solved this problem.
    Regards,
    Sekar

  • Web Dynpro iviews integration with web page composer

    Hi,
    Can web dynpro iviews be integrated into web page composer? I was trying to integrate one ESS web dynpro iview into wpc but the system is throwing an error:
    We are on EP7.01 SP3 (Enhancement Pack1). Please advice if the integration is possible in Enhancement Pack1.

    Hi,
    According to the documentation Web Dynpro iViews are not supported : [Configuring Entry Points for iViews|http://help.sap.com/saphelp_nw70/helpdata/EN/06/4776399abf4b73945acb8fb4f41473/content.htm].
    Regards,
    Pierre

  • SAP Web Dynpro iView not working!

    We are trying to run BI reports based on Web Dynpro ABAP in portal.  I created a SAP Web Dynpro iView with following parameters
    System : SAP_LocalSystem
    Namespace : sap
    Applicatioin Name : ZXXXXX_RRE  (This is the template name)
    When I try to preview the report I get portal runtime error with following error dump in log file
    com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Unable to parse template
    &#39;&lt;System.Access.WAS.protocol&gt;://&lt;System.Access.WAS.hostname&gt;/sap/bc/webdynpro/&lt;WebDynproNamespace&gt;/&lt;WebDynproApplication&gt;/;sap-ext-sid=&lt;ESID[url_ENCODE]&gt;?sap-ep-iviewhandle=007&lt;ESID[HASH]&gt;&amp;sap-wd-configId=&lt;WebDynproConfiguration&gt;&amp;sap-ep-iviewid=&lt;IView.ShortID&gt;&amp;sap-ep-pcdunit=&lt;IView.PCDUnit.ShortID&gt;&amp;sap-client=&lt;System.client&gt;&amp;sap-language=&lt;Request.Language&gt;&amp;sap-accessibility=&lt;User.Accessibility[SAP_BOOL]&gt;&amp;sap-rtl=&lt;LAF.RightToLeft[SAP_BOOL]&gt;&amp;sap-ep-version=&lt;Portal.Version[url_ENCODE]&gt;&amp;sap-wd-tstamp=&lt;$TimeStamp&gt;&amp;&lt;ProducerInfo&gt;&amp;sap-explanation=&lt;User.Explanation[SAP_BOOL]&gt;&amp;&lt;StylesheetIntegration[IF_true PROCESS_RECURSIVE]&gt;&amp;&lt;Authentication&gt;&amp;&lt;DynamicParameter[PARAMETER_MAPPING PROCESS_RECURSIVE]&gt;&amp;&lt;ForwardParameters[QUERYSTRING]&gt;&amp;&lt;ApplicationParameter[PROCESS_RECURSIVE]&gt;&#39;; the problem occured at position 310. Cannot process expression &lt;System.client&gt; because Invalid System Attribute:
    System:    &amp;#39;SAP_LocalSystem&amp;#39;,
    Attribute: &amp;#39;client&amp;#39;.
    I have checked SAP_BW system object and tested the connections all connection test for SAP_BW is successful.  BI Portal system is set up with SAP web dispatcher, ITS and WEB host names in system object are configured something like xxxx.hostname.com:443 since it's SSL.
    Am I missing anything here?
    Thanks
    Praveen

    Hello Pravin,
    Currently i am also facing the same error. I am having set of Webdynpro-ABAP applications, and accessing from Portal.
    I tested respective applications from SE80, all are working fine.But while accessing from Portal its giving Portal runtime error-Unable to parse etc....
    I checked my system object.. both WAS and ITS connections are successful.but i mentioned its related to ITS, where can i test my ITS further level..
    Though these are WDA applications , how these related to ITS..
    I am also getting same error message.. Please suggest how can i go head
    Thanks in Advance
    Ganesh

  • Web Dynpro iView - Blank Page

    Hi,
    we have a problem with our web dynpro iviews. Although there are all necessary fields of the iview template filled (application name, application parameter, namespace (sap), system, web dynpro for java and windows client) there only appears a blank page with a red X, when we preview the iview.
    Before we've tried to create a web dynpro iview, we've created an url iview for the web dynpro and this one was working fine.. The problem was, that it doesn't display the application in our custom portal theme with an url iview - only the default sap theme was displayed. 
    I've searched in the forum, but I found not really something for our case.
    It would be great, if anyone can point to what the error could be..
    Thanks in advance,
    Lydia

    Hi,
    Check the SAP note: Note 1446099 - Web Dynpro application not displayed in customer theme
    Try creating a Web Dynpro ABAP iview, you can find the template in Iview Template.
    And in that make sure Supply Portal Stylesheet is set to yes so that it takes Portal Stylesheet.
    Alternative to that is upload the theme to R/3.
    To do that check SE38 program WD_THEME
    Download portal theme
    Once you have the Theme uploaded you need to make one more setting.
    In SE80 WD_Global_Setting - goto Change and change Stylesheet URI and ensure the iView property Supply Portal Stylesheet is set to no.
    Hope this helps.
    Cheers-
    Pramod

  • Configuring a Web Dynpro iView

    Hello All,
    I need to configure an iView to hold a Web Dynpro application. I chose the option of SAP Web Dynpro iView. I gave the full package name, when it asked for the Application name (for eg: com.spk.mss.PerfRateApp). I also gave the value of 'local\PerfRate) as the value in the field 'name space'. PerfRate is the project name of the Web Dynpro application. How ever when I try to preview the iView, I get the following error.
    webdynpro.services.sal.api.WDDispatcherException: Requested deployable object 'local/PerfRate' and application 'com.spk.mss.PerfRateApp' are not deployed on the server. Please check the used URL.
    What could have been gone wrong here? I am sure the Web Dynpro application is deployed on the server, because I had used the 'Deploy & Run' option in NWDS to check the application.
    TIA,
    SPK.

    Hi,
      When u deploy and run, u get the url in the address bar. Use the appl name and proj name from that. That will make sure u don't make a mistake in configuring the iView. If url is
    http://host:port//webdynpro/dispatcher/local/downprod/ProdDownapp
    Here local/downprod and ProdDownapp can be copied. Make sure of the slash (/) also. Check and confirm if it works.
    Regards,
    Harini S

  • Web dynpro iview in web page composer ?

    Hi All,
                     I am developing one Web site by using Web Page Composer. Can anyone help me for how to use Web Dynpro iview on web page.
    Regards,
    Rahul.

    HI Rahul,
    As of now we can not include a Web Dynpro iView on the WPC page like other iViews.
    But you can try to create a URL iView from Web Dynpro application
    and then add that URL iView to your page.
    _Vishal

  • Can anyone expalin to me the following properties in the Web Dynpro Iview P

    Hi all,
    Can anyone expalin to me the following properties in the Web Dynpro Iview Properties Editor--
    Authentication Scheme
    Can be Merged
    Default Entry for Folder
    Entry Point
    Show Debug Screen
    Tray Type
    Points assured for help

    Hi shobhendra srivastava,
    1) An authentication scheme is a definition of what is required for an authentication process. In the iView you can set what authentication process (UserName/Password, X.509 certificate, etc.) the iView requires. Find more information <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/90/52c43dac1bcf51e10000000a114084/frameset.htm">here</a>.
    2) The attribute "Can be Merged" allows you to merge certain objects (worksets, pages, iviews) under the same point in the portal navigation structure. All objects with the same value for attribute "Merge ID" are merged together. The object with the highest value for attribute "Merge Priority" provides the name displayed in the navigation elements (tabs in TLN and links in Detailed Navigation)
    3) Find a good explanation of the attribute Entry Point <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/4e/3e703e632c7937e10000000a114084/frameset.htm">here</a>.
    4) If this parameter is "true" a debugging screen is displayed before starting the WebDynpro application. Make sure that the parameter DebugMode in the service configuration (=>Applications=>com.sap.portal.appintegrator => Service => Common_Configuration) is not 'false' if you want to use this feature.
    5) The attribute Tray Type defines the design of the iView's frame. The attribute can take the following values:
    fill: The content area appears with a background color
    plain: The content area appears with a white background and a frame
    transparent: The background is transparent and the content area appears without a frame
    Hope I could help!
    Best regards,
    Martin

  • How to mapping Bapi_EeCatimesheet with Web Dynpro iview

    I have problem with CATS:
    1. mapping field from Web Dynpro iview with Bapi_EeCatimesheet_Worklist
    Column: Activity = Bapi_EeCatimesheet_Worklist_input_Out.???
    Column: xxx = ???
    Variable as TimeSheet of SAP Easy View
    2. How to insert Employee timesheet into SAP System by Bapi

    Hi,
    At first time the ApplicationParameter was not displayed among the mappable properties. After that I changed the ApplicationParameter property of the WD iView (so it became different from the default one) and created a new room template. What happened ? At the new template I could map to room_id to the ApplicationParameter. Interesting, not?
    One other thing: What do you think about the following ?
    1. First creating a "Concat Strings" extension to create a string like "room_id=<room_id>"
    2. Creating an other extension and mapping the newly created string to the ApplicationParameter property
    3. Getting the parameter from WD with the help of getRequestParameter(java.lang.String key)
    I have not tried it yet, but I plan to do it.
    Regards,
    Ferenc

Maybe you are looking for

  • Newbie Question: What happens if I get a new PC?

    I just received a black video iPod for Christmas. So far, I've been able to buy, download and watch some TV shows and music from iTunes, and transfer some audio books from CDs and I love it. I have everything on a manual setting. The problem is my PC

  • IP Configuration issue with Airport Extreme

    When configuring my Airport Extreme to use the AT&T  DSL internet connection, an IP Configuration conflict is reported.  My IP address is shown as in use by the Ethernet ID - DHCP Server.  As a consequence, the Airport is not reporting an IP address

  • "Key not valid for use in specified state" after IIS Reset?

    I have had a ton of issues with the System.Security.Cryptography.CryptographicException: Key not valid for use in specified state. error. This seems to only occur now when IIS is reset and I try to resume my browsing session. So I am logged into the

  • How to put data restrictions in transaction: GR55

    Hi, When I run a report with gr55 it shows figures for all profit center.I have defined a role which has profit centers restriction . but when ever user run gr55 he can see the data for the all proit center. How can i put data restriction on GR55. An

  • Operators in Spotlight

    I can't get operators (AND, OR, NOT)to work in spotlight. Spotlight can't tell the difference between the operator and the search item. Does anyone know the proper syntax? "AND" works if you leave a space but I can't find anything that works for "OR"