Opening an external url in the same browser

Hi all,
I need to open an external URL (for instance,www.google.com) from my WDA application by 'linktoaction' or 'button' event and this should be happen in the same parent window and not as a external window.
Please suggest me steps with example codes to perform this.
Regards,
Dinesh

Why use a linktoaction?  Just use a linkToURL.
[http://help.sap.com/saphelp_nw70/helpdata/EN/49/e8884118aa1709e10000000a155106/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/EN/49/e8884118aa1709e10000000a155106/frameset.htm]
You can use the target property to control how the link opens. 
If you must use a button or linkToAction, the you will have to use an Exit Plug:
[http://help.sap.com/saphelp_nw70/helpdata/EN/45/1bc575ba064574e10000000a114a6b/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/EN/45/1bc575ba064574e10000000a114a6b/frameset.htm]

Similar Messages

  • Unable to activate internal and external urls at the same time

    Hi,
    We have Configured EBS R12 in DMZ setup as described in Figure F-9 of metalink note 380490.1 ,Option 2.4: Using Reverse Proxy with no External Web Tier.
    refering to 726953.1 Case History: Implementing a Reverse Proxy Alone in the DMZ Configuration - R12.
    but Not able to activate internal and external urls at the same time in this configuration. Only the node where last autoconfig was run getting activated as web node.
    When trying to accees the url of the other node it gets redirected to the url (where autoconfig is last run).and for this error observed is Error Code:502 Proxy Error.The specified Secure Sockets Layer (SSL) port is not allowed.(12204).
    For both external and internal services are UP.opmn status is live no error.
    Using Apache as reverse proxy.
    EXTERNAL Reverse proxy settings:
    s_login_page http://LONWEB01.process.com:81/OA_HTML/AppsLogin
    <TIER_DB oa_var="s_isDB">NO</TIER_DB>
    <TIER_ADMIN oa_var="s_isAdmin">NO</TIER_ADMIN>
    <TIER_WEB oa_var="s_isWeb">YES</TIER_WEB>
    <TIER_FORMS oa_var="s_isForms">YES</TIER_FORMS>
    <TIER_NODE oa_var="s_isConc">NO</TIER_NODE>
    <TIER_FORMSDEV oa_var="s_isFormsDev">YES</TIER_FORMSDEV>
    <TIER_NODEDEV oa_var="s_isConcDev">NO</TIER_NODEDEV>
    <TIER_WEBDEV oa_var="s_isWebDev">YES</TIER_WEBDEV>
    INTERNAL Middle Tier settings:
    s_login_page http://stprojapp01.test.com:8005/OA_HTML/AppsLogin
    <TIER_DB oa_var="s_isDB">NO</TIER_DB>
    <TIER_ADMIN oa_var="s_isAdmin">YES</TIER_ADMIN>
    <TIER_WEB oa_var="s_isWeb">YES</TIER_WEB>
    <TIER_FORMS oa_var="s_isForms">YES</TIER_FORMS>
    <TIER_NODE oa_var="s_isConc">YES</TIER_NODE>
    <TIER_FORMSDEV oa_var="s_isFormsDev">YES</TIER_FORMSDEV>
    <TIER_NODEDEV oa_var="s_isConcDev">YES</TIER_NODEDEV>
    <TIER_WEBDEV oa_var="s_isWebDev">YES</TIER_WEBDEV>
    Are we missing anything....
    Thanks & Regards

    Hi,
    Finally it's resolved...Following is the solution thought to share in the forum:
    The configuration of the E-Business Suite environment for DMZ requires profile options hierarchy type to be set
    to SERVRESP.
    To change the profile options hierarchy type values to SERVRESP, execute the following SQL script as
    shown below:
    sqlplus / @/patch/115/sql/txkChangeProfH.sql SERVRESP
    After successfully completing the above sql script, run Autoconfig in all nodes to complete the profile options configuration.
    It's resolved after doing this..

  • Opening an external URL from the Web UI

    Hello,
    I want to use the Web UI in order to open an external URL.
    I know it can be done easily using JavaScript, but the URL is generated from one of the page controller methods, and I want to open it directly from there.
    I know that there's the Window Manager in the Component Controller, that can open popup windows, but none of it's methods receive an external URL.
    So how can I open an external URL from the Web UI methods?
    Thanks,
    Udi.

    Hi,
    you can use the Trnsaction launcher with OP.
    in the window you create an OP_X
    with the code
      data: lv_navigation type ref to     if_crm_ui_navigation_service.
      lv_navigation = cl_crm_ui_navigation_service=>get_instance( me ).
      lv_navigation->navigate( iv_link_id = 'ZTO_X' ). "runtime you create the TO_X nevigation"
    in your implamentation class of the view you add a preotected method OP_TO_X with the code
       data:
        lr_window type ref to cl_bsp_wd_window.
      lr_window = me->view_manager->get_window_controller( ).
      lr_window->call_outbound_plug( iv_outbound_plug = 'TO_X'
                                     iv_data_collection = iv_data_collection ).
    and you call to that method from the EVENT_HANDLER you want.
    Amit.

  • When i click on one particular bookmark it opens in a window in the same browser page that is open but on the left side so that I have two dirfferent urls open

    I will have page open in the browser and when I click on one particular bookmark it always opens in the same browser but as a second page on the left side of the page. How do I stop this from happening--it is apage that I need to visit often for business and it is very restricting.

    Awesome, really, it was so annoying. It's the small things in life that make such a difference. Problem solved 100% spot on easy as toast. [email protected]

  • Form field to open a external URL passing  the value typed by user in URL

    I am trying to build a text field with a "Go" button beside it so that when a user types in a value (e.g. a bug number) in this text field, it opens up a external URL (e.g. bugdb URL) with the parameter being passed in the URL. e.g:
    P1_SEARCH (Text field): 464666 (value)
    So when I click on the Go button beside it, I want a URL to open in a new browser with the following URL:
    http://xxxx.oracle.com/pls/edit_info_top?report_title=&rptno=:P1_SEARCH (P1_SEARCH should be replaced at the run time)
    I tried using the branching and javascript:popupURL but I was not able to achieve the above mentioned flow.
    Also, I noticed that when I try to create a button in a region selecting the option "Create a button displayed among this region's items", a javascript:doSubmit is automatically associated with it. Is there any way of changing it to javascript:popupURL?
    Can somebody help me to resolve this issue? Thanks in advance.

    Narayan,
    Please don't post the same question twice. If you don't get an answer, it's OK to "bump" it by replying to your own question. You've already asked this question here:
    issues while invoking external URL
    Sergio

  • Opening a new URL in an existing browser window from a Java application

    I've tried one of the many codes to open a new browser window and it works, but I need something else.
    Is there any way to open a new URL on the same window on a Java desktop application? (Changing the URL on the current browser window without opening a new one, I mean).

    You can do that by using an add-on such as:
    * NewTabURL - https://addons.mozilla.org/firefox/addon/newtaburl
    * New Tab Homepage - https://addons.mozilla.org/firefox/addon/new-tab-homepage
    Another way of opening the home page in a new tab is to middle click on the home button in the navigation toolbar.

  • Open HTML pages in the same Browser

    HI All,
    I have a GUI with Help buttons which are required to open Help files in the default browser.
    Now i am able to acheive this using Runtime.getRuntime().exec("cmd /c start iexplore url")
    But the problem here is everytime the user clicks on the help buttons on various screens of the UI it opens a new browser instance where as i want all the help files to open in the same browser window.
    How do i acieve this?
    Also i tried using rundll32 url.dll, FileProtocolHandler url... the problem with this command is it doesnt recognize the querystring part of the url.
    For ex : http://forum.java.sun.com/post.jsp?forum=31&skldfsdkfj
    here the cmd only recognizes until http://forum.java.sun.com/post.jsp and the rest of the url is truncated when the browser opens. Do i need to escape "?" in my java application itself
    I escape & with ^& and this works..But how abt for "?"
    Anyone has any idea abt this....Pls help
    ADN

    all browsers ask you when you install them if you want that one to be the default one.
    So yes, start or run32dll.exe can be used to launch the default browser.
    No, you can't control which window to show it in, with the possible exception of Mozilla (or a derivitive (sp?)) might have some command-line options to do that. But you can't know that it's a Mozilla browser that will run with start or run32dll.exe.
    Your other choice would be: search the file system for browser, or just ask the user for the path to the browser's exe in a preferences dialog or something.

  • HTML presentation how to open url on the same page

    I have a presentation in keynote that I exported in HTML; it works no problem.
    What I want to do is to open a url embedded in the presentation on the same browser window, and not in a new tab so I can go back to the presentation with the browser point.
    Help please!!!

    I was wondering if there's an edit tom insert the "_self" command for links
    place a shape on the slide to act as a button
    right click the shape and select > add link
    from the add link to  dropdown menu:  select web page
    type in the URL
    click open to test the link

  • Oracle Reports: Opening within the same browser all the time

    Hi there,
    I am running Oracle Report 10g using Oracle AS 10.3.
    The report output is PDF to a browser.
    Each time I run the report, it opens within the same browser.
    Is there an option to open the report in a new browser all the time.
    http://server_name:port_number/reports/rwservlet?server=report_server_name&recursive_load=NO&paramform=NO&destype=CACHE&desformat=pdf&report=report_name.rep&orientation=portrait&paramter1=1
    Thanks for any help.
    Jim

    I guess you run the report from a form using WEB.SHOW_DOCUMENT? If so, use '_blank' as second parameter, this will open the given url in a new window.
    btw.. if you use forms to start a report you may consider to use RUN_REPORT_OBJECT to start the report instead of using the url-syntax.

  • When i try and open a tab that is the same as the page im currently on i closes it self. not when i type the full address, but when i use the arrow keys to select the url and press enter

    when I try and open a tab that is the same as the page I'm currently on it closes it self. Not when I type the full address, but when I use the arrow keys to select the url and press enter. I just don't like typing in the same address 5 times, when the older Firefox worked.

    Hi
    AutoPunch enabled? Command click in the bottom half of the Bar Ruler to turn it off
    CCT

  • I have a pdf registration form on my website.  It has a link that take the user to a payment page within my website.  They pay then submit the form.  The link currently opens in the same browser tab as the form and the user thinks that is the submission,

    I have a pdf registration form on my website.  It has a link that take the user to a payment page within my website.  They pay then submit the form.  The link currently opens in the same browser tab as the form and the user thinks that is the submission, which it is not.  I want my link to open into a new browser tab.  How do I do that?

    You can use the following JS code:
    app.launchURL("http://www.example.com", true);

  • Opening hyperlinks in the same browser window

    Hey Gang!
    How does one create a hyperlink such that it opens in the
    same browser window and doesn't keep opening a new window each
    time?
    Cheers!
    Gregory

    Do you meant that you want to "open the hyperlinks of your flash file in the same browser window"
    You flash file will be put on the internet and I think you have to configure your brower to achieve this goal.
    We all know that IE can be configured to open the hyperlinks in the same window.
    Thus if you want your flash file achieve this feature you need to write a code to control your brower.
    This code can be a simple JS code. You can just google this to find out the answer.
    good luck
    I love using flash quiz generator

  • To open an external URL from your application

    Hello All,
    Please guide me in below scenario as I am new to SAP UI5.
    I have created a SHELL application with 5 tabs.
    We have a requirement where on clicking of a tab in the application it should open an external url. I am using "link" element of sap.ui.commons library. On press of link to action function I am using below code to open external url content.
    location.href = "http://google.com";  
    It is opening in the same tab but I have been navigated away from my application.
    As per the requirement external url content should be opened  without navigating away from my application.
    I am attaching the screenshot.
    Thanks
    Ansuman

    Hi Jagadeesh,
    See this code for reference.
    This is my view.
    sap.ui.jsview("demo.view1", {
           /** Specifies the Controller belonging to this View.
           * In the case that it is not implemented, or that "null" is returned, this View does not have a Controller.
           * @memberOf demo.view1
           getControllerName : function() {
                  return "demo.view1";
           /** Is initially called once after the Controller has been instantiated. It is the place where the UI is constructed.
           * Since the Controller is given to this method, its event handlers can be attached right away.
           * @memberOf demo.view1
           createContent : function(oController) {        
                         var btn1 = new sap.ui.commons.Button({
                               text: "This Is View One."
                         var link = new sap.ui.commons.Link({
                               text: "view3",
                          press : function() {                          
                                $("#frameId").slideDown();                                 
                         var iframe = new sap.ui.core.HTML("frameId",{
                          content : "<iframe src=" + 'http://www.jnvbuxaralumni.com' +" width='100%' height='700px'></iframe>",
                         var ele = [btn1, link, iframe];
                         return ele;         
    This is my controller.
    sap.ui.controller("demo.view1", {
           onAfterRendering: function() {
                  $("#frameId").hide();
    This is my index.html.
    <!DOCTYPE HTML>
    <html>
           <head>
                  <meta http-equiv="X-UA-Compatible" content="IE=edge">
                  <meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
                  <script src="resources/sap-ui-core.js"
                               id="sap-ui-bootstrap"
                               data-sap-ui-libs="sap.ui.commons,sap.ui.ux3"
                               data-sap-ui-theme="sap_bluecrystal">
                  </script>
                  <!-- add sap.ui.table,sap.ui.ux3 and/or other libraries to 'data-sap-ui-libs' if required -->
                  <script>
                               sap.ui.localResources("demo");
                               //jQuery.sap.require("sap.ui.core.routing.Router");
                               //jQuery.sap.require("sap.ui.core.routing.HashChanger");
                               var oShell = sap.ui.ux3.Shell("shellId",{
                                      appTitle: "Shell Demo Program",
                                      showLogoutButton: false,
                                      showSearchTool: false,
                                      worksetItems: [
                                             new sap.ui.ux3.NavigationItem("homeId", {
                                                    key: "view1",
                                                    text: "Home"
                                             new sap.ui.ux3.NavigationItem("contactUsId", {
                                                    key: "view2",
                                                    text: "Contact Us"
                                      worksetItemSelected: function(e){
                                             this.removeAllContent();
                                             var selected = e.getParameter("key");
                                             var view = sap.ui.getCore().byId(selected);
                                             //console.log(selected);
                                             if( view == undefined){
                                                    view = new sap.ui.view({
                                                           id: selected,
                                                           viewName: "demo." + selected,
                                                           type: sap.ui.core.mvc.ViewType.JS
                                             this.addContent(view);
                                      content: [
                                                    new sap.ui.view({
                                                           id: "viewId1",
                                                           viewName: "demo.view1",
                                                           type: sap.ui.core.mvc.ViewType.JS
                               oShell.placeAt("content");
                  </script>
           </head>
           <body class="sapUiBody" role="application">
                  <div id="content"></div>
           </body>
    </html>
    Here you can see that on click of the link button i am able to display frame in same tab of shell.
    Let me know if it's helpful.
    Regards
    Dhananjay

  • Can I open two Safari windows at the same time?

    Can I open two Safari windows at the same time and split the windows in two on my screen? Right now, I have to open Safari and Firefox to get the split screen. I know I can press command to get multiple tabs, but that's not what I want. I want to use Safari on two open windows.

    HI,
    Open a browser window in Safari. Then Command + N
    Press command and ~ or ` to toggle between the windows.
    Carolyn

  • How can I open a new window with the same website like the one I have open?

    In safari I can open a new window with the same website like the one I have open, that makes it easy continuing to navigate on a website and to go back to the original website

    Hello Andieas
    Why open a new window for fast browsing??
    Open new tabs.
    Just right click on what you want to open and click "Open in new Tab"
    It is easy and doesn't consume memory from your computer as well as easy to navigate.
    Hope you'll like it

Maybe you are looking for

  • Ipod 4g not found by itunes 10.6.0.40 under Windows 7 Ultimate

    Hi, I own the Ipod Touch 4g. It's found under Windows 7 Ultimate, the icon Apple Ipod is displayed but the Ipod is not detected by Itunes 10.6.0.40. Ituners needs also a lot of time to start and to display the menus, more than 5 minutes when the ipod

  • Error embedding .swf in Windows Form C#

    Hi, I am trying to develop a Windows Form application that loads a .swf file either from a server or the local computer.  I have followed the tutorial outlined here (http://www.adobe.com/devnet/flash/articles/stock_history03.html).  I am include the

  • Camera Raw 7.1 download

    I am trying to download Camera Raw 7.1 to a trial version of CS6.  I keep getting a message to close Bridge.  I have closed Bridge and checked the task manager.  It is closed.  I keep getting the message and the download will not proceed.  What can I

  • Frequent spinning beach ball

    Hello community, I've had my iBook for almost two years now. Some months into owning it, a couple of days after update 10.4.3 came out, I started to see the spinning beach ball. Usually it would happen at random times, but certain activities guarante

  • Grey out and disable all controls at once

    Is there a simple way to grey out and disable all of the controls on a FP at once? Thanks, Paul