Opening sales order in new browser window

hi experts,
i have ALV table in which one of the columns is sales order number. I made the column as hyperlink so that user can click on it. when the user clicks on this i am calling an event handler method which is linked on_click event of the ALV interface controller . i am able to capture the sales order number in the method. Now i want to call va03 transaction for this sales order in a new browser window. we are going to integrate this application in portal. any ideas?. i heard something about the object based navigation. how to do this?
thanks
Edited by: sudhakar murthy on May 12, 2010 6:04 PM

Hi Sudhakar,
Check out the below code to open a Transaction from WD in an external window and pass the value in that Transaction. I am passing the value here in the VF03 transaction's Billing document screen field .
  DATA: url TYPE string,
        host TYPE string,
        port TYPE string.
*Call below method to get host and port
  cl_http_server=>if_http_server~get_location(
     IMPORTING host = host
            port = port ).
  CONCATENATE host ':' port
  '/sap/bc/gui/sap/its/webgui/?~transaction='
  '*VF03 VBRK-VBELN=123456' " 123456 is the value you are passing into the Billing document screen field of the    
   INTO url.                                      "VF03   transaction
*get the window manager as we are opening t code in external window
  DATA lo_window_manager TYPE REF TO if_wd_window_manager.
  DATA lo_api_component TYPE REF TO if_wd_component.
  DATA lo_window TYPE REF TO if_wd_window.
  lo_api_component = wd_comp_controller->wd_get_api( ).
  lo_window_manager = lo_api_component->get_window_manager( ).
call the url which we created above
  lo_window_manager->create_external_window(
  EXPORTING
  url = url
  RECEIVING
  window = lo_window ).
  lo_window->open( ).
Hope it helps you...

Similar Messages

  • Opening a servlet in new browser window

    Does anyone know how you can make a servlet open in a a new browser window when clicking a link for that servlet.
    cheers

    Hi..
    do
    window.open("http://localhost:8080//yourservlet-path//servlet-name");
    you can also set window properties, they are passed as parameters to window.open
    see syntax of window.open. but this thing will open your servlet in a new window with default properties.

  • Open discoverer report in new browser window and without connections page

    Hi All,
    We are using Oracle 11g Discoverer 11.1.1.4.  Requirement is to open the discoverer report in a new browser window and without connections page.
    When we are running discoverer reports with this parameters we unwantedly get the connections page of the discoverer plus which we don't want.
    Went through the documentation given in this page and followed it still the issue persists, and i see couple of threads with my issue and no updates.
    This excerpt is from the documentation available in the link
    " _plus_popup=true and framedisplaystyle=embedded launches Discoverer Plus in a new pop-up browser window that contains the Plus applet embedded in it "
    http://www.art2dec.com/documentation/docs/oas10g1012/linux/bi.1012/b13918/urlstart.htm
    and Here is what we use to invoke our reports.
    http://ipaddress:port/discoverer/plus?cn=cf_123&_plus_popup=TRUE&framedisplaystyle=EMBEDDED&wb=disc_wb_1
    Request the forum users from PRO discoverer group to help me out of this issue and expect a good discussion on this.
    Thanks in advance

    Closing the thread
    We were able to achieve by changing the browser settings in the IE 8 Browser. Disabled Tabbed browsing.

  • Open URL Link in new browser window

    Can someone please help me? I've tried to use code as if I were using Dreamweaver without any luck(i.e. blank target).
    Is there a way to make the url in the PDF open a new browser windows once clicked? Hopefully this is an easy fix! Thanks in advance!

    Jono, if you are still out there.  I am also having trouble with this function.  The button works just fine, but it does not open another browser window.  I am trying to keep my pdf open, and send them to a url.  That way they can come back to the form. Like you would with the target="_blank" function in javascript.
    What am i doing wrong?  I have tried opening the script editor, but I am not sure what to do there. So I put the same as you did on your form, no effect.  I put target="_blank" and set it to javascript on just about every option.  I have tried to go into the code on the xml source tab, no luck anywhere.  I have tried to just use a text field, no luck.
    Seems like everything I have tried has no effect.
    Hopefully you can tell me it is something simple...
    Thanks in advance.
    Jodi

  • Opening driving directions in new browser window

    I have installed the Web Assist Google Pro Maps extension and
    would like for the div containing the driving directions results:
    <div id="wagmp_directions_2"
    to appear in a new browser window.
    However, when I open the tag inspector, it says "locked
    region" for the Google maps divs, even though I detached the php
    page from the template. Any ideas?
    http://www.lindafarronknapp.com/map.php

    Sorry, mixed up my versions a bit. The following code doesn't open a new window.
    try {
                JSObject window;
                window = JSObject.getWindow(this);
                URL url = new URL(this.getCodeBase(), "mydomain/mypage.jsp");
                window.eval("window.open(" + url +")");
            catch (Exception e) {
                e.printStackTrace();
    }It doesn't do anything, instead I'm getting the following output in the trace:
    liveconnect: the url of the applet is http://localhost:29080 and the permission is = false
    liveconnect: JavaScript: UniversalBrowserRead enabled
    liveconnect: JavaScript: UniversalJavaPermission enabled
    liveconnect: JSObject::eval(window.open(http://localhost:29080/mydomain/mypage.jsp))
    liveconnect: the url of the applet is http://localhost:29080 and the permission is = falseI'm testing this code on Linux, FIrefox 1.5.0.3 and JDK1.5.0_07.
    What I'm doing wrong?
    Thanks.
    Stephan

  • IWeb link opening in a external (new) browser window.

    Dear members:
    After making several unsuccessful attempts to find this information I decided to post a questions here to see if anyone has the answer.
    I have created two web site with several web pages in iWeb but haven't been able to add links to a page that open not in that same page but to open in an extra (external) browser window. Is there a way to make a link open in a different browser window than the one that has the page with the link ?
    Another question I have refers to iWeb's display of some images. For my web sites I chose one of the templates offered with the program. In one of the pages there are small portions of text followed by a square image next to it. Some of the images in iWeb work as placeholders that are replaced by the final images once they are dragged and dropped over them. However, this small images following the text don't behave like that. They simply aren't replaced. I tried to "overlay" the final images over the template ones thinking that once the site was published they would be replaced. Actually, after posting the web site I noticed that when the pages load the template images show up first and them the ones I placed over them beginning to cover them.
    Why is this happening and how can I solve this problem ?
    Thank you in advance for your help.
    Best regards,
    Joseph Chamberlain

    Dear varkgirl:
    Thank you very much for your help and valuable suggestion.
    I've tried your suggestion but ran into some problems. The links I am trying to open in another window are actually PDF files that the viewer can download from my website.
    Since I was having problems I decided to try something else. After publishing the website to my desktop I then opened the pages where the links are in Dreamweaver. The layout view is great and displayed the image just the way it appears on the browser's window. I first selected the "link button" to the file and then in the inspector windows (bottom of the page) I chose under target the "_blank" option. This tells the software that the linked page or file is to be opened in a new blank browser window. I then saved the page (re-saved it over the existing file) to incorporate the changes. After this I proceeded to navigate through the website and everything works great.
    Thank you for your help and suggestions. I just thought I would post this here in case it may be of help to you as well as others.
    Best regards,
    Joseph Chamberlain

  • Open PDF link in new browser window?

    I'm viewing a newly created PDF in a browser.
    When clicking an internal link, the linked PDF loads into the same window
    I need it to launch in a new browser window.
    I have set the link to "launch new window" in Word where this file originated.
    I have also opened and resaved it in Acrobat 10 with preference "Open cross-document links in same window" deselected.
    Neither of these setting have change the behavior though all documentation I read seems to suggest they should.
    What am I missing here??
    -Blake

    That preference setting does not apply to web links and do not refer to a browser window, but an Acrobat window.
    There is a JavaScript method that might work. Try setting the link action to something like the following script:
    app.launchURL("http://www.example.com/", true);
    This was taken from the example here: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.150.html
    The problem is if a user has Reader 10 and protected mode is enabled (as it is by default), it doesn't work and opens the link in the same browser window.

  • Do NOT want to open link in a new browser window - iWeb '09

    I do not want links that navigate around my website to open a new browser window every time. Right now, for example, From my main page, I click a link to a secondary page, it opens it in a new window, I then click the link back to my main page, and it opens in a new window. I now have 3 windows open.
    I am not using the navigation bar as it set ups with iWeb (I have it hidden). I am using hyperlinks I attached to text boxes. Would this problem be remedied if I was using the navigation bar? If so, is there anyway to edit the appearance of the navigation bar and it's location on the page?
    Primarily though, I would like my text hyperlinks to just navigate my page and not open in new windows.
    Thanks!

    And that's the way it should be.
    If you look at this page about navigation you'll see that the main navigation uses eternal links and the sub navigation internal ones....
    http://www.iwebformusicians.com/WebMusic/Navigation.html
    Try the troubleshooting steps under "Fix iWeb" here.....
    http://www.iwebformusicians.com/WebMusic/iWebTips.html

  • Open view in a new browser window

    Hi all,
    I want to open a view in a new browser window.
    I try this two code:
    1)IWDWindow window=
    wdControllerAPI.getComponent().getWindowManager().createExternalWindow(
              "http://www.google.it","google",false);
    but in this case i can only open an url...
    2)IWDWindowInfo windowInfo = wdComponentAPI.getComponentInfo().findInWindows("ExternalWindow");
    IWDWindow window = wdComponentAPI.getWindowManager().createWindow(windowInfo,true);
    but in this case it open an internal windows, not an external new browser windows...
    What can i do?
    Thanks!

    Hello Andrea,
    you should call not "http://www.google.it" but result of something like this:
         public static String resolveURL(String dcName, String applicationName) throws EntryNotFoundException, WDURLException
              IWDDeployableObject deployableObject = WDDeployableObject.getDeployableObject(dcName);
              if(null!=deployableObject && WDDeployableObjectState.STARTED.equals(deployableObject.getState()))
                   boolean found = false;
                   int i = 0;
                   WDDeployableObjectPart[] parts = deployableObject.getParts(WDDeployableObjectPartType.APPLICATION);
                   if(parts!=null)
                        for(;i<parts.length;i++)
                             if( applicationName.equals(parts<i>.getShortName()))
                                  found = true;
                                  break;
                   if(found)
                        return WDURLGenerator.getApplicationURL(parts<i>, null);
                   else
                        throw new EntryNotFoundException( "Application '" + applicationName + "' not found" );
              } else {
                   throw new EntryNotFoundException( "Application '" + applicationName + "' not found in '" + dcName + "'" );
    Best regards, maksim Rahchnski

  • Opening remote page in new browser window

    Hi there,
    my applet used the browser window as its frame, that means there is nothing else but the applet. I need to call a page from the same server as the applet resides, but to display the page in a new browser window. The following code could do the job, but caused the browser to block the popup.
    applet.getAppletContext().showDocument(new URL
                            ("http://mydomain/mypage.jsp"),"_blank");I'm wondering whether I could access a servlet from my applet and let the servlet accomplish this and how to.
    It would be also of interest whether it is possible to do the same with a page from a remote server and triggering the client to display the page in a new window.
    Any help is highly appreciated.
    Thanks in advance.
    Stephan

    Sorry, mixed up my versions a bit. The following code doesn't open a new window.
    try {
                JSObject window;
                window = JSObject.getWindow(this);
                URL url = new URL(this.getCodeBase(), "mydomain/mypage.jsp");
                window.eval("window.open(" + url +")");
            catch (Exception e) {
                e.printStackTrace();
    }It doesn't do anything, instead I'm getting the following output in the trace:
    liveconnect: the url of the applet is http://localhost:29080 and the permission is = false
    liveconnect: JavaScript: UniversalBrowserRead enabled
    liveconnect: JavaScript: UniversalJavaPermission enabled
    liveconnect: JSObject::eval(window.open(http://localhost:29080/mydomain/mypage.jsp))
    liveconnect: the url of the applet is http://localhost:29080 and the permission is = falseI'm testing this code on Linux, FIrefox 1.5.0.3 and JDK1.5.0_07.
    What I'm doing wrong?
    Thanks.
    Stephan

  • Open calling form in new browser window

    HI,
    I am using forms 9i. From menu item, i am calling a form using call_form, the called form is opening in same window, my requirement is the called forms want to open in new browser window. I am using mdi window.
    Any idea ?
    Regards
    Ramesh babu

    If you look in your browser address field, you will see your current forms has a (probably very) long url, one section of which is the form name. Now, you can use this as the URL argument in a WEB.SHOW_DOCUMENT() call. However:
    (1) if your URL doesn't include the userid, etc. (very likely in a production situation) you will have to log in again.
    (2) as (1) might lead to suspect, you are in a new database session.
    Why do you want to do this?
    Cheers, APC

  • Change open sales order with new condition schema

    Hi SD Experts,
    I have to change condition type on condition schema. For example, now we have ZPVI (Discount %). I have to change with ZPFI (Discount %). But we have some open sales orders with old schema. Can I correct old sales orders with new condition schema? Is it possible?
    Thank you.
    Gulay Celik

    >
    Shai Sinai wrote:
    > 3) The item categories of document items are assigned to billing plan types. This customization does create separate billing plan for each item, but the billing plans of item are refrenced to the header billing plan (according database field FPLA-RFPLN and screen field RV60F-KFREL), what  means that item's values are not taken into consideration.
    >
    In this case it is obvious that it's not possible to have an item on the same document, which would have a billing plan different from the header. Unless, of course, you are ready to change the existing configuration or create a new item category, which would be independent from the header billing plan.
    If, despite configuration, such entry is possible in VA41/VA42, then you'll have to use BDC instead of BAPI. Unfortunately, BAPIs do not have all the same functionality that might be available in the transaction.

  • RoboHelp 8 HTML - Open Hyperlinks in a New Browser Window

    [email protected]
    Hi all,
    I’m new to the RoboHelp community and have an issue I have not yet seen addressed elsewhere in the forums. I’m working in RoboHelp 8 HTML and am generating webhelp. My question is regarding hyperlink options. The option for open in a new window opens topics and links in a new tab. Is there a method, hacking or otherwise, for having the links open in a new browser window?
    Much thanks in advance.

    Hi,
    Welcome to Adobe forum,
    As I understand you are trying to open the hyperlinks in a new window instead of a tab.
    Well it is possible in Robohelp 8 HTML
    Here are the steps which you need to follow.
    1. Select the text Right click on it and then select Insert Hyperlink.
    Once you click on the Insert Hyperlink another Popup window will appear in your screen.
    You need to check this screenshot and select the appropriate option.
    Try and generate the Webhelp and see if that helps you,
    I hope that will resolve your issue.Please reply if that resolves your issue.
    Thanks
    Priyank

  • Opening a JSP in new Browser window

    Hi friends i want to open a JSP into new Window.
    Mean from one jsp i want to call another JSP,
    which should open in another browser window, and it should fills the feild automatically with default values.
    Can any one give my an idea how to implement this.

    Hi..
    do
    window.open("http://localhost:8080//yourservlet-path//servlet-name");
    you can also set window properties, they are passed as parameters to window.open
    see syntax of window.open. but this thing will open your servlet in a new window with default properties.

  • Command to open a PDF generated Oracle Report in New browser window

    I know this is probably something for the Oracle Forums but I'll ask anyway because I can't find any info out there on this, without some extra work.
    I am generating a PDF file from 10g Oracle reports on Linux RHEL 5 and storing the PDF file to the server. I can send that PDF file directly to a printer with the "lpr" command and that part works fine.
    What I'm wanting to do now is "View" the PDF from within the server in a new window. We are using RHEL 5 (Linux) platform and I'm trying to see if there is a way to open the file with a "command line" command that will open it in a new browser window or new window period (opening it with Adobe Acrobat).
    Does anyone have a command that will do this? Otherwise, how has everyone else been handling this. The idea of just viewing the previously generated PDF Report file will save us overhead on our database servers because they won't have to re-run some of the same reports over and over.
    Any help and assistance is appreciated.
    Chris

    Several options:
    - If you only want to show the pdf to the client without printing, use destype=cache and use WEB.SHOW_DOCUMENT after the RUN_REPORT_OBJECT (for examples search the forms-forum, there are lots)
    -If you have to generate the pdf to a file to get it printed, you could
    +use WEBUTIL_FILETRANSFER.AS_TO_CLIENT after the printing to transfer the file to the client, then use CLIENT_HOST to view it.
    +map the appserver-directory you generate the report to as a virtual directory in the application-server then use WEB.SHOW_DOCUMENT to directly access the generated file via url.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • How do I get all my music back on my iphone 4?

    Cracked the screen on my iphone 4, went to apple shop, they changed it (lovely) and restored all the settings from icloud, all went very well, except I noticed that the music doesn't get restored from itunes Match. In fact it was completely empty. Yo

  • Publishing new pages on IWEB

    I have created a website and its all worked fine and I have published it to the web. However, when I added new pages and deleted a page in IWEB and went to re-publish the site, the new pages haven't published. Does anyone know how to get the new adde

  • Stopping update in ACS 5.1

    Hello I tried to update my ACS 5.1 appliance. I applied patch 5.1.0.44.3 and made an big mistake: I booted the server due to the fact that it was not reachable after one hour after appplying the patch. Now the server shows following message, when I t

  • I have a unique problem

    My daughter gave me her old ipad and had the name switched. I live in France and don't speak the language. I've tried to buy audio books and to make things easier my daughter bought an itunes gift card in Euro's but when I put the # in it doesn't wor

  • Logic is messing up imported audio

    In Logic 8, when I try to import an audio (aif) file exported from Ableton Live, Logic slows down the audio file significantly. It also lowers its pitch. The track from Ableton Live was at 160bpm, and even when I set Logic's project tempo to 160bpm,