Open Web Dynpro in same window

Hello Everyone!
We've got a really really big problem.
We use in our KM a Web Dynpro. In the Image Map we want to call this Web Dynpro and open it in the same window. But at the moment we are just able to open the Dynpro in another window.
Is there a possibility to open it in the same window?
Hope that anyone of you, has a solution for our problem.
Many thanks,
Isabel

Hi,
Please post the URL of your webdynpro application.
Chk this
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/808fb397-1fcf-2910-7884-8f075c939666
NavMode parameter determine, whether the application should open in new window or same window.
mode 0 for internal window,
mode 1 for external window with content,
mode 2 for external window with full navigation,
mode 3 for external headerless window
http://<host>:<port>/irj/portal?NavigationTarget=navurl://50e00a3ef7d094e3d05ae768f98b8761&NavMode=0
This link will open in same window.
Regards
Baby

Similar Messages

  • Open a document in same window

    Hi
    We have a requirement to open a document in same window(lower part) when a link or button is clicked. Is there any sample explaining how to do that?

    Hi,
    you can use af:inlineFrame component
    Frank

  • Opening .pdfs in the same window/tab.

    I look at a lot of .pdfs (Journal Articles) in my browse. Generally, I only download a fraction of the ones I look at. Recently, Firefox has stopped opening .pdfs in the same window/tab. Instead, it prompts me to download every .pdf I want to look at. I then have to save them, open them on my desktop, look at them, and then delete the ones I do not want to keep. Does anyone know how to get Firefox 10.0.2 to start opening .pdfs in the same window/tab again?

    Adobe PDF Reader is not on your list of Plug-ins submitted with your question (click on "More system details" to the right of your original question). If it is disabled on the Plug-ins list (''Add-ons > Plugins''), click "Enable". If it is not installed on your system (in your Programs folder), then download the installer and run the installer after it is saved to your hard drive (install with Firefox closed).
    *See --> [https://support.mozilla.org/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox] ('''''NOTE:''''' un-check any items on the Adobe download page that you do not want installed on your system)
    *Also see --> [https://support.mozilla.org/en-US/kb/Opening%20PDF%20files%20within%20Firefox Opening PDF files within Firefox]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *'''''Adobe Shockwave for Director Netscape plug-in''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.org/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.org/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *'''''Next Generation Java Plug-in for Mozilla browsers''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • Opening URL in the same window

    Hello,
    I have a webdynpro Java Application which is opened on the click of the iview which is created for it.....now i want to specify a URL for it which should open it in the same window.....rather than an external window.....how can i achieve the same...? how can i specify the URL in the Default Plug (event handler) of the Interface View Controller.....so that it opens up...
    Any help would be highly appreciated...
    Regards,
    Shikhil

    Hi Shikil,
    use this
    String navigateto="ROLES://portal_content/";
    WDPortalNavigation.navigateAbsolute(
                                                 navigateto,
                                                 WDPortalNavigationMode.SHOW_INPLACE,
                                                 (String) null,
                                                 (String) null,
                                                 WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
                                                 (String) null,
                                                 (String) null,
                                                 (String)null);
    navigateto is the pcd of your iview.
    thanks,pkv

  • Reg: Closing and Opening Web Dynpro Application in same browser

    Dear Experts
    In my webdynpro application when i click a button another web dynpro application is opened in another window(another browser) .
    But i want to open the second web dynpro application inside the same browser in which closing the first applicaiton and opening the second web application in same browser window .
    Please guide me to do this.
    Regards
    Arun

    hi ,
    Exit plugs have the special property that they use the defined URL parameter. After you have created the URL parameter in the parameter list on the Outbound Plugs tab page in the window editor, you can specify a value for this parameter in the method that calls the exit plug.
    ref
    link:[http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/ca3351508f04e7e10000000a42189c/content.htm]
    it would help u
    regards,
    amit

  • Download Excel file through Web dynpro with no windows open?

    Can we have a web dynpro application that just returns an Excel file in the response with no open windows? Similar to a java servlet that is used to download a Excel file?
    This basically means that I cannot use wdComponentAPI.getWindowManager().createNonModalExternalWindow()
    Java Servlet Code
    HttpSession session = request.getSession();      // get a handle on the session id
    response.setContentType("application/download");
    response.setHeader("Content-Disposition", "filename=RTIS_Report.xls");
    PrintWriter out = null;
    out = response.getWriter();
    String report = request.getParameter("REPORT");
    JCO.Table lines = download(request, session, report);
    for (int i = 0; i < lines.getNumRows(); i++) {
         lines.setRow(i);
         String content = lines.getString("LINES") + "\n";
         out.write(content);
         out.flush();
    out.flush();
    out.close();

    Hi,
    I think you can use IWD Cached Web Resource to achieve this..
    See the below code FYI..
    public void downloadToExcel( )
        String fileName = "Customer" + ".xls";
         IWDCachedWebResource cachedExcelResource = null;
         try
              File f = new File("Customer.xls");
              WritableWorkbook workbook =   Workbook.createWorkbook(f);
              WritableFont black = new WritableFont(WritableFont.createFont("Trebuchet MS"),WritableFont.DEFAULT_POINT_SIZE,WritableFont.BOLD,false,UnderlineStyle.SINGLE,Colour.BLACK);
              WritableCellFormat blackFormat = new WritableCellFormat(black);
              WritableFont blue = new WritableFont(WritableFont.createFont("Trebuchet MS"),WritableFont.DEFAULT_POINT_SIZE,WritableFont.NO_BOLD,false,UnderlineStyle.NO_UNDERLINE,Colour.BLUE);
              WritableCellFormat blueFormat = new WritableCellFormat(blue);
              WritableSheet sheet = workbook.createSheet("Customer", 0);
                   Label label;
                   String[] header={"Corporate Code","Batch ID"};
                   for (int i=0;i<2;i++)
                        label = new Label(i,0,header<i>.toString(),blackFormat);
                        sheet.addCell(label);
                   WritableCellFormat integerFormat = new WritableCellFormat(NumberFormats.INTEGER);
                   jxl.write.Number number;
                   // Reading the contents
                   for(int i=0;i<wdContext.nodeVn_DownloadToExcel().size();i++)
                        String strCorpName = wdContext.currentContextElement().getVa_CorpCode();
                        String strBatchID =     wdContext.nodeVn_DownloadToExcel().getVn_DownloadToExcelElementAt(i).getVa_BatchID();
                        label = new Label(0,i+1,strCorpName,blueFormat);
                        sheet.addCell(label);
                        label = new Label(1,i+1,strBatchID,blueFormat);
                        sheet.addCell(label);
                   workbook.setColourRGB(Colour.LIME, 0xff, 0, 0);
                   workbook.write();
                   FileInputStream excelCSVFile = new FileInputStream(f);
                   IWDCachedWebResource cachedWebResource = null;
                   if (excelCSVFile!= null)
                        cachedWebResource = WDWebResource.getWebResource(excelCSVFile, WDWebResourceType.getWebResourceType("xls","application/ms-excel"));
                   cachedWebResource.setResourceName(fileName);
              cachedExcelResource = cachedWebResource;
              wdContext.currentContextElement().setVa_DownloadToExcel(cachedExcelResource.getURL());
              workbook.close();
         catch (Exception ex)
              wdComponentAPI.getMessageManager().reportException("Error in Excel Download"+ex.getMessage(),false);
    Regards,
    Vijay

  • Interaction ABAP Web Dynpro popup with Windows

    Hello,
    I have made a view ‘Z_Y’ in Web dynpro for ABAP. In this view I call a standard external window with the statement:
      lo_window = lo_window_manager->create_external_window( url = lf_url ).
      lo_window->open( ).
    The lf_url field is a location on the Windows(XP) network. It could happen that the file doesn’t exist. In this case I get a standard Windows error message in a popup that the directory can’t be found with a ‘OK’ button. When I click ‘OK’ the popup is closed and I can use other functionality of the ABAP dynpro view.
    I integrate view ‘Z_Y’ in another dynpro window (W_WINDOW) that is called as a popup using the following statement:
    create popup window **********************************************************************
      DATA: l_window_manager          TYPE REF TO if_wd_window_manager.
      DATA: l_api_componentcontroller TYPE REF TO if_wd_component.
      l_api_componentcontroller = wd_comp_controller->wd_get_api( ).
      l_window_manager          = l_api_componentcontroller->get_window_manager( ).
      wd_this->m_popup_window = l_window_manager->create_window(
                                      close_button = abap_false
                                      button_kind  = '2'
                                      modal        = 'X'
                                      window_name  = 'W_WINDOW'
                                      title        = 'Popup' ). "#EC NOTEXT
      wd_this->m_popup_window->open( ).
    Then I call from view ‘Z_Y’ the external window using this statement again:
      lo_window = lo_window_manager->create_external_window( url = lf_url ).
      lo_window->open( ).
    If the directory doesn’t exist I get the same standard Windows error message in a popup that the directory can’t be found with an ‘OK’ button. But when I click ‘OK’ I can’t get back to the web dynpro application. I get a throbber/popup “please wait” and I have no interaction anymore with the button ‘close’ of the dynpro popup. The buttoner size still works.
    Can someone help me?
    Kind regards,
    Yan Cazarelly

    Hi
    You ca use this function to Create a new window..
      CALL METHOD wd_window->create_window
          EXPORTING
            modal             = abap_true
            window_name       = 'MMPUR_CPPR_RFQ_WDW'
            title             = lv_otr_text
            close_button      = abap_true
            button_kind       = 3
            close_in_any_case = abap_true
          RECEIVING
            window            = wd_comp_controller->window.
        wd_comp_controller->window->open( ).
    here you acn impliment buttons, if you want to subcribe window button please use this window subcribe method.
        CALL METHOD wd_comp_controller->window->subscribe_to_button_event
          EXPORTING
            button            = if_wd_window=>co_button_ok
            action_name       = 'RFQ_WT_VENDOR'
            action_view       = l_api
            is_default_button = abap_false
            button_text       = lv_otr_text
            tooltip           = lv_otr_text.
        wd_comp_controller->window->open( ).
    Please let me know if you have any issue. Please reword if its solve your problem.
    Regards
    Satrajit

  • Open Url iView in same window but full screen

    Hi ,
    I have a requirement where i need to open the url iview in the same window but in fullscreen mode.
    Also for eg if the url is www.google.com ,then the iview should look similar in terms of size as opened in the normal IE browser.Also the url on the portal should change to www.google.com and not http://servername:portnumber/...
    Can you please help me in doing so.
    Regards,
    Preeti

    hi,
    maybe some text as url [ggpage|http://www.google.com] is what u need, not  url view
    A URL iView is a collection of meta attributes, one of which is the URL to the information source (see )Selecting the Source URL). A built-in browser available in the URL iView Wizard and Editor enables you to navigate easily within a Web site in order to retrieve the URL of the source Web page to display in the iView.
    last word: " in the iView"

  • Anyone know how open slideshow in the same window?

    Does anyone know how to make the slideshow open in the same window as the as the site instead of a new window? I'm looking for the location and code that would make it happen on a .mac site.

    Yes, of course, you can do this! You just have to know the address for the slideshow page directly....
    http://web.mac.com/username/iWeb/sitename/photopagename_files/slideshow.html
    username = your .Mac username
    sitename = your site name
    photopagename = whatever you named your photo template page
    Example:
    http://web.mac.com/jwtseng/iWeb/kate/art_files/slideshow.html
    Once you find this URL, then all you have to do to get it to appear as part of your page is to specify an iframe tag with the URL...
    <iframe src="http://web.mac.com/jwtseng/iWeb/kate/art_files/slideshow.html" width="980" height="760" scrolling="no" border="0" style="border:none;" frameborder="0"></iframe>
    This is the little bit of code that you will need to insert into your iWeb pages in order to make the slideshow appear "inside" a frame on the page. Just change the underlined URL to your own slideshow URL.
    To prepare the page in iWeb, you'll need to make a textbox on a page that is 980x760 in dimension (you'll need to adjust the default width of the page). Then type in some placeholder text, like "SLIDESHOWHERE". Publish the page. Then go into your iDisk/Web/Sites/iWeb/sitename folder and find the pagename.html file. Open it with TextEdit (make sure to tell TextEdit to "ignore rich text format"). Then find the part of the code where your placeholder text is. Replace the placeholder text with the iframes code. Then save your work.
    When you check your page in Safari, you should see the slideshow appear inside the page exactly where you positioned the textbox in iWeb.

  • 'The page cannot be displayed' when I use IE to open Web Dynpro demo

    In the package 'SWDP_DEMO_TUTORIALS' .
    Folder Web Dynpro Applicat. -> WDT_ALV ==> URL = 'http://abcdev.:8000/sap/bc/webdynpro/sap/wdt_alv'
    then Right click and choose Test.
    IE is open but 'The page cannot be displayed'. (http://abcdev.:8000/sap/bc/webdynpro/sap/wdt_alv?sap-client=210&sap-language=EN)
    1. I actived neccessary service in SICF already. (http://forum.consolut.net/viewtopic.php?f=8&t=1313)
    2. C:\WINDOWS\system32\drivers\etc -> hosts file has 2 record.
    127.0.0.1       localhost
    HP002264446493 HP002264446493
    I think I have to add the SAP server IP
    So I click at menu bar -> System -> Status and press Other Kernel info. (Green)
    ==>> I get Host = abcdev and IP address = 10.74.XX.YY
    After that, I add the 10.74.XX.YY  abcdev to be the last line.
    Is it correct?
    3. No data in table HTTPURLLOC.
    4. ECC 6  and I never installed Netweaver.
    PS.  I create my own web dynpro but the layout is not working  'The page cannot be displayed' .
    Thank you very much.

    I change host file to 'abcdev.' but it does not work.
    If I use command 'ping -t 10.74.XX.YY' , it's ok.
    If I use ping -t abcdev.:8000, it's not working.
    PS. IE version 6 and  Connection -> Lan settings ==> Not set anything.
    Help me please!!!
    Edited by: marshi on Feb 8, 2011 2:34 PM

  • Open doc URL: unable to open the report in same window

    Hi
    I'm trying to open a report using open doc url with "swindow=same" but still it opens in a separate window. This happens only when I use JAVA viewer. it works fine in ActiveX and HTML but I want this in JAVA viewer as i'm including this page in my JAVA application and it should open the report in the same window. I tried using "<a>URL</a>" and also target="_self" by HTML interpretation for that object but still the same problem. I'm unable to open the report in the same window by using JAVA viewer for Crystal Reports in info view. Please help me!!!
    Envirorment Details: Crystal Reports 2008 SP3, BOE XI R3 SP3
    regards
    Raghavendra.G

    I have tested that myself and It seems that HTML interpretation does not work with the Java viewer.
    I have also tried using a hyperlink containing javascript
    eg.
    javascript:window.location.href='http://www.sap.com'
    but the java viewer seems always to launch a new window before processing the command.
    I would recommend to open a case by SAP support ( httP://service.sap.com/support )
    Regards,
    Stratos

  • Open link in the same Window

    Hello,
    i want to open a link from a WDA Action Method, in order to open a bsp applikation. The new page should appear in the same window (no popup, no new window). Here the code which i have at the moment, but the BSP Applikation starts always in a new window. What can i do ?
    data:
    lt_parameters TYPE TIHTTPNVP,
    ls_url               type string,
    lo_window_manager type ref to if_wd_window_manager,
    lo_api_component      type ref to if_wd_component,
    lo_window                type ref to if_wd_window.
    CALL METHOD cl_http_ext_webapp=>create_url_for_bsp_application
          EXPORTING
            bsp_application       = 'ZHRMPBA004'
            bsp_start_page       = 'ZHRMPBPTI006.htm'
            bsp_start_parameters = lt_parameters
          IMPORTING
            abs_url              = ls_url.
    lo_api_component  = wd_comp_controller->wd_get_api( ).
    lo_window_manager = lo_api_component->get_window_manager( ).
    CALL METHOD lo_window_manager->CREATE_external_WINDOW
              EXPORTING     URL            = ls_url
             RECEIVING     WINDOW         = lo_window.
    lo_window->open( ).
    thanks for replays

    You are calling CREATE_external_WINDOW. That API is designed to open the application in a new window.  So that isn't appropriate for what you want.  If you want to navigate in place then you should use an Exit Navigation Plug.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/ca3351508f04e7e10000000a42189c/frameset.htm

  • Open detail report in same window(same frame) in BI Publisher11.1.6.0

    Hi
    I have created 2 reports
    Master Report - Interactive view template
    Detail Report - Interactive view template
    I have given detail report hyperlink in Master report. when i click on the link, it opens in new tab or window instead of opening in same tab/window.This is happening only in case i have created report in Interactive view.
    If i create both the reports in RTF template then it's opening in same window/tab but my requirement is that template should be Interactive template as it's having sorting and filter functionality embedded.
    Kindly reply.
    Thanks
    Nitasha
    Edited by: 856219 on Mar 26, 2012 1:31 AM

    Hi Nitasha
    we need same exact requirement. Could you please let me know if you find any solution ?
    Thanks
    slokam

  • Open all PDFs in same window option in Acrobat 9?

    All my PDFs open in separate windows/acrobat instances. There used to be a feature in option to allow all to open in same window. Cant seem to find it in verison 9.

    You're correct. I think that was the switch between SDI (single document interface) and MDI (multiple document interface). In 8.x the ability to switch was there but in 9.0 it appears to have gone the way of the dinosaur. :(
    Sabian

  • Can Firefox open one page in same window?I could do that few days ago,and now all of a sudden it open new page in new tab or new window.What can I do?Thank you

    Whenever I search something on Google and try to open it,it opens in a new tab or new window.I always could open it in the same tab. Can you help me?

    Hi,
    On the search results page, you can try changing the setting beside '''Results Window''' via the gear icon on the top right corner of the page. Please also see the '''Note''' on the bottom.

Maybe you are looking for