Strange Error while opening Web UI in a new browser window

Dear Experts
My requirement is to launch one of my custom Web UI screens in a new window upon clicking a button.
I am successfull in lauching it in new window.
How did I do it:
Step 1) Created a custom object type (ZOBJ) for my z component in SPRO->UI Framework Definition->Define UI Object Types.
Step 2) Created a logical link (ZLL) for my Z component in SPRO->UI Framework->Technical Role Definition->Define Navigation Bar Profile.
After that, In the same path, select Define Profile->Define Generic OP mapping->(Here Assign Object type ZOBJ(step 1) and Logical link ZLL(step 2) )
Then created a dynamic URL and passed this URL to the "on_client_click" parameter of my button.
Sample code is below.
I put the below in the .htm of the view where my button was declared.
data: lv_url_string TYPE string.
lv_url_string = 'http://server name:port number/sap/bc/bsp/sap/crm_ui_frame/default.htm?sap-syscmd=nocookie&
crm-object-type=ZOBJ&crm-object-action=B'.
Note: Here ZOBJ is my custom object type that I created for my Z component.
<thtmlb:button id            = "NW"
                     onClientClick = "javascript:window.open('<%= lv_url_string %>');"              
                     tooltip       = "New Window"
                     text          = "New Window" />
Problem I am facing:
The above code is successfully opening my custom screen in a new window.
But on the toolbar (where we usually see error messages in Web UI),
I am getting an error message with the below description.
Type= SYSTEM_ERROR, ID= ERROR_SESSION_INIT, description= 16AA9A3937A9BB56E10000000A11447B
I am not able to understand what this error is.  The message is appearing only for the first time I am displaying my Z component in a new screen. Interestingly, when I do some action on my screen (expand the assignment block for example), this message is gone.  This message doesn't seem to be effecting any functionality, but the users certainly don't want to see an error messsage like this.
I did some research on this and this error looks to be coming from the class CX_WS_MESSAGE_SYSTEM.
This class has an attribute (CX_ROOT) with initial value "16AA9A3937A9BB56E10000000A11447B" (same one I am getting in my error message). I am not sure though because this attribute (CX_ROOT) is present in several other classes also.
I would really appreciate if somebody can throw some light on this issue.
Thanks
Raj

Hi Arun
Thanks for your reply.
I tried the way you suggested. But unfortunately I am still getting the same old error.
Forget to mention something...actually I am seeing this error in the new session (window) only. My original window is not showing any error.
And also just FYI...This is inside the Interaction Center Web UI profile ->Account Identification -> Identify Account->Enter Account ID->Click on Confirm button.
At this point, I am first showing a popup window with text "Do you want to open Partner details in new window".
This popup has 2 buttons 'Yes' and 'No'.. If the user clicks on 'Yes', then I am opening my custom screen (Partner Details) in a new window.
This is the point I am seeing the error  (only in the new window).
Type= SYSTEM_ERROR, ID= ERROR_SESSION_INIT, description= 16AA9A3937A9BB56E10000000A11447B
This custom screen contains several (only) assignment blocks (all lazy initially). When the user expands on any assigment block, the error is gone and everything looks good.
Please suggest.
Thanks and Regards
Raj

Similar Messages

  • Open another website in a new browser window

    I can't seem to create links to external websites that open
    as intended in a new browser window while leaving the main browser
    window unchanged. Except in Safari on a Mac. See sample code.
    In Safari on a Mac this opens the new window and behaves as I
    want. In Safari on a PC it opens a new window, but in back. In
    Firefox on Mac I get an error message in which, when the "OK"
    button is cliked on, a new window opens in back of the main window.
    Same thing on a PC. Internet Explorer on a PC opens a new window
    but displays an error message forcing you to clik the back button
    to return to the main page.
    If I specify the main page url in the link field, then the
    main page gets reset to the top, which I don't want.
    How can I get FireFox and IE to accomplish this gracefully?
    To observe behavior go to
    http://www.digifon.com/framesetal_id.htm

    Don't use Frames. However, the issue of opening a new window
    is still
    hotly debated. My own approach is to mark the link with an
    icon and
    then to open a new window (or tab if the user prefers). If
    done
    properly with javascript, this will not spawn a myriad of
    windows and
    Standards-compliant. (And further, if javascript is off, the
    new page
    will simply open in the current window.)
    Based on this philosophy, I offer a DW Extension that makes
    adding this
    behavior dead simple. Here is an example of a page that uses
    it to good
    advantage. Despite all the external links and pdf links on
    the page,
    the Extension only needed to be added once to the page,
    rather than
    adding it to each and every link. Links added to the page
    AFTER the
    Extension is applied are ALSO acted on, a great time saver in
    my
    opinion, and easy on the user:
    http://squamscott.org/scc_green.asp
    The DW Extension is available here:
    http://divahtml.com/products/divaPOPgold/open_popup_windows.php
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • Dreamweaver - Chrome open a video in a new browser window not working

    Hi guys, i'm pretty novice to dreamweaver and i've putting a site together recently...
    One thing i am trying to do is open a video in a new browser window when the button is clicked upon.
    I have done what i thought i needed to do this, and in safari and other browsers this works fine. In Google Chrome however this doesn't seem to want to work and rather then opening and playing the video it just automatically starts to download it.
    I'm sure it is a simple fix and i apologise for the thread all about it but any help would be appreciated.
    http://hauntingskateboards.co.uk/media.html
    if you click on Joe or Dean button you should see what I mean... anyway thanks in advance!

    Create Pop-Up Window in DW Behaviors Panel
    http://alt-web.blogspot.com/2012/03/create-pop-up-window-in-dreamweaver.html
    Nancy O.

  • Re : Java error while opening WEBI Report in BO 4.1

    Hi Team,
    while opening webi report i am getting folowing error
    java.util.concurrent.ExecutionException: java.lang.NullPointerException
    at java.util.concurrent.FutureTask.report(Unknown Source)
    at java.util.concurrent.FutureTask.get(Unknown Source)
    at javax.swing.SwingWorker.get(Unknown Source)
    at com.sap.webi.toolkit.ui.tasks.WebITask.getResult(WebITask.java:171)
    at com.sap.webi.ui.tasks.NavigOnDocumentTask.doneProcess(NavigOnDocumentTask.java:95)
    at com.sap.webi.toolkit.ui.tasks.WebITask$PrivateWorker.done(WebITask.java:378)
    at javax.swing.SwingWorker$5.run(Unknown Source)
    at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
    at sun.swing.AccumulativeRunnable.run(Unknown Source)
    at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
    at javax.swing.Timer.fireActionPerformed(Unknown Source)
    at javax.swing.Timer$DoPostEvent.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$500(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.WaitDispatchSupport$2.run(Unknown Source)
    at java.awt.WaitDispatchSupport$4.run(Unknown Source)
    at java.awt.WaitDispatchSupport$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.WaitDispatchSupport.enter(Unknown Source)
    at java.awt.Dialog.show(Unknown Source)
    at com.jidesoft.dialog.StandardDialog.show(Unknown Source)
    at java.awt.Component.show(Unknown Source)
    at java.awt.Component.setVisible(Unknown Source)
    at java.awt.Window.setVisible(Unknown Source)
    at java.awt.Dialog.setVisible(Unknown Source)
    at com.sap.webi.toolkit.ui.dialog.MessageDialog.setVisible(MessageDialog.java:186)
    at com.sap.webi.ui.SwingClientHelper.showWarning(SwingClientHelper.java:493)
    at com.sap.webi.ui.context.managers.DataManager.checkForEmptyDataProviders(DataManager.java:2592)
    at com.sap.webi.ui.tasks.workflows.RefreshWorkspaceWorkflow$1.run(RefreshWorkspaceWorkflow.java:147)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$500(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
    at com.sun.deploy.security.CPCallbackHandler.isAuthenticated(Unknown Source)
    at com.sun.deploy.security.CPCallbackHandler.access$1600(Unknown Source)
    at com.sun.deploy.security.CPCallbackHandler$ChildElement.checkResource(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at com.businessobjects.rebean.wi.impl.model.viewing.ReportEngineOutputSourceFactory.createReportElementPageOutputSource(ReportEngineOutputSourceFactory.java:72)
    at com.businessobjects.rebean.wi.impl.services.NavigationServiceImpl.internalNavigateToReportElement(NavigationServiceImpl.java:313)
    at com.businessobjects.rebean.wi.impl.services.NavigationServiceImpl.navigateToReportElement(NavigationServiceImpl.java:105)
    at com.businessobjects.rebean.wi.app.ViewingFacade.navigateToReportElement(ViewingFacade.java:208)
    at com.sap.webi.ui.viewer.PageFactory.getPages(PageFactory.java:634)
    at com.sap.webi.ui.viewer.PageFactory.getPages(PageFactory.java:196)
    at com.sap.webi.ui.tasks.NavigOnDocumentTask.doIt(NavigOnDocumentTask.java:68)
    at com.sap.webi.ui.tasks.NavigOnDocumentTask.doIt(NavigOnDocumentTask.java:23)
    at com.sap.webi.toolkit.ui.tasks.WebITask$PrivateWorker.doInBackground(WebITask.java:348)
    at javax.swing.SwingWorker$1.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at javax.swing.SwingWorker.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Any ideas please,
    Thanks & Regards,
    Varun G

    "...at com.sap.webi.ui.tasks.NavigOnDocumentTask.doIt(NavigOnDocumentTask.java:23) at com.sap.webi.toolkit.ui.tasks.WebITask$PrivateWorker.doInBackground(WebITask.java:348)" Please check out SAP KB 2115770 - Error encountered when opening a Web Intelligence document reporting off of SAP BW BEx queries and Universes in BI 4.1 SP05 on http://service.sap.com/sap/support/notes/2115770. The resolution can be found on BI4.1 SP05 Patch 03 and above. Hope this helps, Jin-Chong

  • Error while opening web template through WAD 3.X

    Hi all,
    The below error is getting displayed while opening web template through WAD (Sap BW 3.X):
    " Internal error - No Template property standard item. "
    What needs to be done now.
    Please reply.

    Hi,
    Check the below thread...
    Web Application Designer Opening Error

  • Open sso enabled app in new browser window

    I have a java app deployed to OAS and secured with Single Sign on. I would like my app to open a report and display it in a new browser window. When the new window opens I am getting an error stating that user is not authorized to access the report. This is due to the session information (successful login) being stored with the cookie in the original browser window (where the session started and where the user originally logged in). Is there a way to pass that cookie information to the 2nd browser window...or some way to re-authenticate without having the user log on again...possibly some mod_osso set-up...or some additional code? TIA.

    Hi Durairaj,
    The thing is that I did not get the desired answer to my query and the thread was posted in a wrong forum thus I have the query again inthe correct forum.
    Regards,
    Sweta.

  • Opening a URL in a new browser window

    Hello Experts,
    I am trying to open a dynamic url in a new browser window from a Portal application (travel and expenses). Basically, when a user clicks on the submit button, Badi IF_EX_TRIP_WEB_CHECK~USER_CHECK_CHANGES is called. In the BaDI, we have added code to concatenate a parameter to a url and then open a new browser window with that url. This works perfectly in r/3 using a tcode (pr_web_1200) but when I use the portal application under ESS, the window does not open and no error message is issued. We are using METHOD cl_gui_html_viewer->detach_url_in_browser. Any idea why this is not working through ESS in Portal? Is there some other method that we need to use? Any help is appreciated.
    Regards,
    Sal

    check....
    Re: Open Portal Transaction iView in new window *without* Browser window
    for iView (page) you probably set the property 'Launch in New Window' to value Display in Separate Window. To tune up the other otions you have the possibility to set the property Window Features, value should contain toolbar=no. These features will be used when Javascript opens up your window - you can apply any option coomonly documented. IMHO for your demands the best option is fullscreen=yes,toolbar=no - you get really the maximum possible size.

  • Open pdf's, documents in new browser window SharePoint 2010

    Hi all,
    when a user clicks on pdf's, documents, html pages etc in a document library I need them to open in a new browser window. I've found lots of articles on how to do it in 2007 but none work in 2010. I know its not an out of the box function but people
    have done it with Java script or adding code to the document library allitems.aspx web part, I just can't replicate those steps in 2010.
    I'm not a developer or anything but can put code in the right place using SharePoint designer 2010.
    Pulling my hair out at the mo,
    please help
    thanks in advance

    Create a Document Library called ScriptLibrary.
    Download the Jquery library here: http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.4.4.min.js
    Create a new file called: OpenPDF.js
    Paste the following Code in the file:
    $("A[href$=.pdf]").click(function() {
          window.open(this.href);
    Upload both files to your newly created ScriptLibrary.
    The ScriptLibrary should have 2 files: jquery-1.4.4.min.js and OpenPDF.js
    Navigate to the List Page that has the PDF's that you need opened in a new window.
    Click Site Actions: Edit Page,
    Insert > Content Editor WebPart
    Click to Edit the HTML Source of the HTML WebPart, then paste in the following to reference the two files you uploaded to your Script Library:
    <script type="text/javascript" src="/ScriptLibrary/jquery-1.4.4.min.js" ></script>
    <script type="text/javascript" src="/ScriptLibrary/OpenPDF.js" ></script>
    *The src needs to point to the files you uploaded
    Save the page then click on a PDF, it should open in a new window.
    You can then export that ContentEditorWebPart to your webpart gallery, and just insert the webpart on any page that needs the same functionality.

  • Opening a state in a new browser window?

    How to open a link button..(the link button actually changes the state of the page) but i want to open that in a new browser window....
    Any help....

    check....
    Re: Open Portal Transaction iView in new window *without* Browser window
    for iView (page) you probably set the property 'Launch in New Window' to value Display in Separate Window. To tune up the other otions you have the possibility to set the property Window Features, value should contain toolbar=no. These features will be used when Javascript opens up your window - you can apply any option coomonly documented. IMHO for your demands the best option is fullscreen=yes,toolbar=no - you get really the maximum possible size.

  • Timerjob Access denied error while opening web object

    Hi Team,
    I have created a timer job to get list information on the site. Everything is fine in the development(Stand alone server) . Got access denied error while running same timer job in QA server(one app and one WFE).
    Note: This timer job is globally deployed.
    Code snippet : 
    SPSite site1 = webApp.Sites[0];
    SPWeb web = site1.RootWeb;
    SPSecurity.RunWithElevatedPrivileges(delegate()
    using (SPSite site = new SPSite(site1.ID))
    using (SPWeb currWeb = site.OpenWeb(web.ID))                  // Got access denied error here.
    Additional information:
    Sharepoint timer service account : Domain\SP_Farm
    Site app pool account : Domain\SP_App.
    Both accounts have site collection administrative access on the site. Do i need to check access permissions on DB level also  this error ?
    Waiting for urgent reply..

    Hi,
    1. Please check the link below:
    Fixing Access Denied Errors With SharePoint 2010 Timer Jobs
    http://www.sharepointsecurity.com/sharepoint/sharepoint-security/fixing-access-denied-errors-with-sharepoint-2010-timer-jobs/
    2. Try to set RemoteAdministratorAccessDenied  to false using PowerShell
    Access denied when deploying a timer Job or activating a feature from SharePoint 2010 content web application
    https://support.microsoft.com/kb/2564009?wa=wsignin1.0
    3. Check your ULS log for detail error message.
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Error while opening Web Start

    Hi All,
    I have installed XI 3.0, while opening Integration repository I am getting the error
    <b>"G:\Documents and settings\DXIADM\Local Settings\Temporary Internet Files\
    content.IE5\V5KEEQQ5\repository[1] .jnlb is not a valid Win32 application"</b>
    Please do the help ASAP.
    Thanks,
    Venkat

    Hi Venkat,
    Please look at following weblog
    /people/shabarish.vijayakumar/blog/2006/02/13/unable-to-open-iresrid-xipipi-71-updated-for-pi-71-support
    Thanks,
    Tuhin

  • When "Use Google Instant", "Open search results in a new browser window." does not function.

    In the "Google Search Setting", if select "Do not use Google Instant", then the selected search result of Google Search will be displayed in a new window, but if "Use Google Instant", the selected result will replace Google Search window. This problem does not exist when using Chrome Browser.

    That does what it says - even if Google tells the browser to open the page in a new window, you have told Firefox to ignore that and open it in a new tab. Uncheck the box and you should get the result you want.

  • Open a view in a new browser window

    Hi Experts,
    Can you pls guide me to open a new window ( Browser) on clicking a Button, Currently I could open a window but it looks like popup.
    In my case I want a separate browser to be opened.
    Please advice.
    Regards,
    Bala

    There are actually only 2 options:
    -- external browser window via URL (separate WD application is started)
    -- internal (non-movable non-resizable) modal window inside main application window.
    first at the html page, add the code:
    <script language="javascript">
    function openwindow(){
    window.open("view");
    </script>
    in the page_load event,add the code:
    private void Page_Load(object sender, System.EventArgs e)
    this.ImageButton1.Attributes.Add("onclick","openwindow()");
    Message was edited by:
            Kanwalpreet

  • Open the HTML attachment in new browser window

    Hi all,
    There is a Bsp application in which the table view has list of all attachmnets.
    When I click on a cell a popup opens asking whether the file is to be opened , saved or cancel.
    When I click on open then if it is a TXT attachment it opens in a notepad but if it is an HTML attachmnet it gets opened in the same browser window instaed of a new one.
    What do i do to open the HTML attachment in a new Beowser window.
    Regards,
    Sweta.

    Hi Durairaj,
    The thing is that I did not get the desired answer to my query and the thread was posted in a wrong forum thus I have the query again inthe correct forum.
    Regards,
    Sweta.

  • Strange error while opening pdf in Firefox

    Hi there,
    I have a strange problem with Acrobat 9 on Windows 7 64bit. When I click on a PDF file on websites, a white site opens and I get an Acrobat message, which is totally empty.
    In the error box there is just a question mark on a blue circle, an "OK"-button and the title line says "Adobe Acrobat". The PDF files won't open.
    That is something I have never had yet! When I choose "repair installation" from the Acrobat help menu - it works and I can open PDF files n the Firefox 3.5.5 browser - but about half an hour later I get the same error message again.
    Any ideas?
    Thank you!

    Header 1
    Header 2
    Problem is on my end … I’m running on windows 2008r2 server  which has a computability problem with Acrobat Reader on client side ..Adobe is working out a fix….i wuill be switch back to the old server late today which should cure the problem If you wish to see the tech side of it Here's the official word on what the problem is, from MS tech support: In IIS7.5 we have implemented an optimization code that handles especially byte-ranges request whose result is a single range as follows. When a client makes a request of byte-ranges whose result is a single range, IIS 7.5 does not include the media type in the response! This seems to break Adobe-reader add-on in IE. In IIS7 and below we treated byte-ranges requests whose result is a single range the same manner as byte-ranges requests whose result is NOT a single range meaning that we all the time sent a media type in the response header. Example: The below request: Command: GET   + URI: /test.pdf   ProtocolVersion: HTTP/1.1   Accept:  */*   Range: bytes=153572-186237, 748935-750373, 748238-748934, 186238-411153, 750374-750792, 411154-486125, 486126-748237 … … Is equivalent to making a request to range 153572 - 750792 IIS7 will respond with - Http: Response, HTTP/1.1, Status Code = 206, URL: /test.pdf   ProtocolVersion: HTTP/1.1   StatusCode: 206, Partial content   Reason: Partial Content   ContentType: multipart/byteranges; boundary= … … IIS 7.5 will respond with   ProtocolVersion: HTTP/1.1   StatusCode: 206, Partial content   Reason: Partial Content   ContentType: application/pdf … … So in the case of IIS7.5, it is just like we are responding to a single range request “153572 - 750792 “  in which the HTTP RFC says that you should NOT send a media type in the response header! The IIS 7 and IIS7.5 behavior are both HTTP RFC compliant   A response to a request for a single range MUST NOT be sent using the   multipart/byteranges media type.  A response to a request for   multiple ranges, whose result is a single range, MAY be sent as a   multipart/byteranges media type with one part. A client that cannot   decode a multipart/byteranges message MUST NOT ask for multiple   byte-ranges in a single request. Adobe was finally able to recreate the problem on Friday, and they are supposed to be working on it.  (I don't know what their issue was with not being able to recreate it, but I did find out over the weekend that the behavior is different if the client you are using to browse the website is in a remote desktop session - everything seems to work fine.) Not sure what IIS Core team is doing, if anything.  Even if Adobe provides a patch, I'm not too sure about using 2008 r2 as public web server if it requires the client to have the latest and greatest plugin.  Microsoft may have the letter of the law on their side regards the RFC, but sometimes being right just isn't enough.

Maybe you are looking for