How to navigate from webdynpro view to bsp page in the same window?

hi i want to call a page by its url.
i am using the "create_external_window" method.
but it is displying my url in a new window.
i want to display it in the same window.
the second page i want to call is a bsp page.
i tried also the portal manager and NAVIGATE_ABSOLUTE but nothing happens.
it displays nothing.
thanks for your hints.

>
Achref zaidi wrote:
> hi i want to call a page by its url.
> i am using the "create_external_window" method.
> but it is displying my url in a new window.
>
> i want to display it in the same window.
> the second page i want to call is a bsp page.
>
> i tried also the portal manager and NAVIGATE_ABSOLUTE but nothing happens.
> it displays nothing.
>
> thanks for your hints.
Hi,
Navigate_absolute method has navigation mode. Can you please tell me what you mean by nothing happens ? This will work only in Portal environment.
So if you try with portal then remember to use  Navigation_mode as inplace.

Similar Messages

  • How to Navigate from af:internalFrame to another page in the parent frame?

    Hi!
    I'm using an ADF IFrame Component <af:internalFrame>..
    we have a requirement where we needed to navigate from a page in the Internal frame to another page in the browser, i.e., on clicking a ceratain button in IFrame , the browser window should load an another page in the main window/frame(not in IFrame). I know this can be done with javascript by setting the
    window.location='newurl'
    But that would take me away from the normal JSF lifecycle, that is I have to perform certain processing of the inputs from the Iframe, and then navigate in the normal JSF way to another page in the main browser window,according to the navigation configured in the faces-config.xml; or if possible, programmatically ,in the backing bean.
    Can someone give me any hint of how to do this?
    Thanking you in advance,
    Samba

    Correct. To achieve this functionality JavaScript is required.
    --Ric                                                                                                                                                                                           

  • How to navigate from a view to an IView in portal

    Hi all,
             Onclick of an application in my portal my appliaction gets opened.But the problem here is onclick of cancel in my applcation i want to navigate to my IView in portal.
    For navigation between view2 to view1  i used wdThis.wdFirePlugtoView1();
    by creating a navigation link.
    How to navigate from view1 to Portal IView
    Regards
    Padma N

    Hi padma,
                 Go to Iview Property in portal Content managment and take the PCD location.
    It may look something like this
    ROLES:portal_content/ZABC/ZPROJECTS/com.abc.ZPortfolio/com.abc.ZPortfolio/com.abc.ZRoles/com.abc.ZPortfolioReconle/com.chep.ZReconciliation/com.chep.ZReconEnquiry_IView
    Create a string variable with the PCD location
    String pcdLocation = <pcd location>
    And call using the iview using the following code
    WDPortalNavigation.navigateAbsolute(pcdLocation, WDPortalNavigationMode.SHOW_INPLACE, WDPortalNavigationHistoryMode.NO_DUPLICATIONS,"&reference="+reference);
    Here &reference is the application parameter, if the application with which the iView is created has parameter and is not mandatory.
    Hope this helps.

  • Navigate to another page in the same window problem

    Hi,
    I have a problem with the following scenario:
    When a user clicks on a link in a portal, a web dynpro page opens in new window with the url similar to this
    http://server:port/irj/servlet/prt/portal/prtmode/runtime/prtroot/pcd!3aportal_content!2fCompany!2fIntranet_v2!2fApplications!2fZZ!2fPages!2fBrowseCopies
    So basically in this way we only want to display this single application, without portal top level navigation, inner page, masthead etc.
    The problem occurs when we try to implement navigation from this web dynpro application to another page
    When we use WDPortalNavigation a new window opens but we want the navigation to happen in the same window.
    We cannot use LinkToUrl control with _self parameter because its not supported.
    We also cannot use HttpServletResponse by getting it through com.sap.tc.webdynpro.services.sal.adapter.core.IWDWebContextAdapter class.
    We also cannot use ExitPlugs because the error occurs with the message that the ExitPlugs cannot be used in portal.
    Basically I need a redirect to another page. Any ideas how to solve this problem?
    Regards,
    Ladislav

    Hi,
    the link which initially opens this web dynpro application page is contained in a html page.
    Here is the code:
    WDPortalNavigation.navigateAbsolute(
      "ROLES://portal_content/Company/Intranet_v2/Applications/ZZ/Pages/PurchaseRequests",
      WDPortalNavigationMode.SHOW_INPLACE,
      WDPortalNavigationHistoryMode.NO_HISTORY,
      "requestNr="+wdContext.currentContextElement().getRequestNr());
    Regards,
    Ladislav
    Edited by: Ladislav Pomezny on Jul 2, 2009 1:23 PM

  • How do you get a merged CHM to open in the same window as the master? (RH8)

    We have a problem where everytime you click on a topic from a merged CHM in the master TOC, it opens a new window exlusive to the chm where the topic resides.  We have more than one master chm and this is the only one that does it, it is also the only one that was created from RH8, although the others have been updated with RH8. We've compared the Window and SS Layout properties with a parent chm that doesn't behave this way and haven't been able to find any differences.  Is there something we can do to have all the topics whether merged or from the parent, open in the same window?

    I think somehow the last time I had this problem I stumbled on a solution and wasn't sure what fixed it, but the problem reared its head again, and it was back to the drawing board. Now I think we have a solution, but we don't know for sure what created the problem. Although we're pretty sure the problem has something to do with creating a new window when there is already and existing window.
    What we found. This problem couldn't be fixed in the SSLayout. We found that the Properties | Advanced | Window setting for individual topics in the TOC had been erased. This Window drop-down selection lets you choose a window other than <Default> if more than one window exists. If not changed by the user, it should stay at <Default>, but somehow the setting was blank on several topics, probably due to the creation of a new window, and maybe some other values being changed. This is probably a bug in RH8, but I don't know about other versions.
    How to fix it.
    First you have to isolate which merged .chm file (child) has the problem, I believe I did this by removing one child .chm at a time from the Parent project and then seeing if the parent .chm worked correctly after generation.
    Once you've found the offending .chm (there may be more than one), open the project and the TOC for the .chm that is a problem.
    Go to the TOC pod > Topic Page Properties (right-click on a Topic in the TOC and select Properties) > Advanced > Options panel and ensure that a value exists in the Window: field. If the field is empty, you have a problem.  Click the drop-down and select <Default>, even if your .chm window displays in drop-down.
    I don't believe there's an option to set a window as the default when you create it, so if there's more than one window, who knows what the <Default> option is drawing from, unless <Default> points to the window you have selected in the SSLayout, which I think is the case.
    Find all Topics that have this problem and fix them.  Note: you cannot fix this by going to topic Properties in the Topic List (or from r-click Properties in a topic), you have to do it in the TOC.
    Save all changes, generate the child .chm, and then replace the old child .chm with the new one.
    Open the parent .chm and check to see if all topics open in the parent window. Your Done

  • How do I get Firefox to show jpeg files in the same window/tab like it once did instead of asking me what to do everytime?

    For a long time, whenever I click on a jpeg link in one of my Yahoo groups, the image simply loads in the Firefox window or tab that I'm viewing and I can simply hit the back button to return to the page I was on before. But just recently when I click on a jpeg link, Firefox asks me where I want to download the file and I have to choose between opening another tab, using Windows Photo Viewer, or selecting another program, I believe this is unnecessary and cumbersome. I would like it if Firefox would simply show me the image I'm trying to view in the same window/tab like it used to instead asking me where to download it and/or opening up a new tab when I don't really need it.

    Hi Twistednerve84, <br>
    At the top of the Firefox window, click on the Firefox button and then select Options to access the options window. Go to the Applications Panel and next to 'JPEG image' content type select to use your default application to view images. <br><br>
    You can also find some information here: <br>
    [[Firefox options, preferences and settings]] <br>
    Please report back!

  • Unable to return from a column link to popup page in the same window

    Using 3.2
    I have a tabform with a link to a pop-up page (and passing values). It's working fine but when I 'Save' on the pop-up, instead of returning to the originating page, it opens up a new window with the originating page on it. How do I get back to the originating page? I'm sure it's in my branch or button url syntax but can't figure it out. I tried creating a process to 'close window' but still opens up a new window.
    FYI - if I just do the 2nd page as a normal page, all is fine but the users would prefer a popup.
    Thx.
    Sandie

    Use the template 'Popup' for your page.
    Create a After Submit Process and select the option 'Close Window'. Make sure this is the last process (highest sequence number). This will automatically closes the popup window and user will be on the parent page.
    Do not create any branches on the popup page or any target in your Save button.
    If you need to refresh the parent page with the information entered on the popup page, enter the following code, at the end, in the process that does your DML (a process that comes before the Close Window process).
    htp.p('<script>');
    htp.p('window.opener.location.reload(true);');
    htp.p('</script>');
    I have created popups this way and they work, at least in 3.2version. In APEX 4.0, the parent page is not refreshing with the data entered on the popup page, which I'm currently investigating into. If you have a different code to refresh the parent page, please share it with me.
    Edited by: rbheemir on Nov 10, 2010 2:56 PM

  • How do i print a table on odd pages leaving the same space in the even page

    Hi,
    I have created an RTF for Invoice Printing and the invoice will be physically printed (hard copy using printer) on both sides of the paper.
    I now have a table/section to be printed only on the first page and the second page should be printed without this header (the header should be displayed as space).
    How do i use even and odd page printing for this? I can send you the xml file and rtf file, could you please help me to achieve this?
    Thanks,
    Kesava

    Guessing here
    In the RTF the first page has whatever you were going to put on it.
    On the second page you put your invoice format/field codes etc.
    I am assuming you are using a for-each at the begining of each invoice?
    If the invoice is fixed length, then make the invoice two pages long before you finish the first for-each group.
    for-each
    page of invoice + blank page
    page break
    end for-each
    Headers and footers might get in the way.

  • How to navigate from one view to another view?

    Hi everyone facing a problem in navigation when i click on the list another view should be appear..
    page1.view.js:-
    list1.onclick=function(evt){
      $.sap.require("sap.ui.core.EventBus");
      var bus=sap.ui.getCore().getEventBus();
      bus.publish("nav","to",{
      id:"idDemoUI2",                       //..id of page2...//
      context:evt.getSource().getBindingContext()
    page2.controller.js:-
    onBeforeRendering: function(evt) {
      if (evt.data.context) {
             this.getView().setBindingContext(evt.data.context);
    i have a list i want when i click one the row of that list another view will appear so i use onclick event on the list and then use bus for navigation and recieving data in the target page but its not working anyone please tell me  where i am wrong.
    Regards
    Kelvin

    Hi Kelvin,
    How about using Routing concept than the getEventBus. Below link should help:
    Step 3: Navigation and Routing - User Interface Add-On for SAP NetWeaver - SAP Library

  • How to stop Firefox demanding authentication for each page of the same website (IE does not do this for the same site))

    I have a website (Still being developed but at the testing stage) which works fine in IE but when viewed in Firefox It insists on authentication at every page, instead of just one login it repeats the login at every page.

    Hi,
    If it's Basic auth, please check if this happens in a [https://support.mozilla.org/en-US/kb/Managing-profiles new profile]. If it's okay, you can later [https://support.mozilla.org/en-US/kb/Recovering%20important%20data%20from%20an%20old%20profile?s=profile&r=1&e=sph&as=s copy the needed personal data] from the old profile. Firefox stores your personal data and settings in another location separate from its [http://kb.mozillazine.org/Installation_directory files/folder]. A new profile would have the default Firefox settings ('''Tools''' ('''Alt''' + '''T''') > [https://support.mozilla.org/en-US/kb/Options%20window '''Options'''], and [http://kb.mozillazine.org/About:config about:config] ), and usually would also be empty of any '''Extensions''' and themes ('''Appearance''') in Tools > Add-ons) and their settings. Also, a new profile would have no previous stored website data/settings etc., ('''Tools''' > [https://support.mozilla.org/en-US/kb/Clear%20Recent%20History '''Clear Recent History''']).
    [https://support.mozilla.org/en-US/kb/Profiles?s=profile&r=2&e=sph&as=s Profiles Howto]
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder & Files]
    [http://kb.mozillazine.org/About:config_entries about:config Entries]
    For NTLM authentication, you can try to automatically trust the domain in the [http://kb.mozillazine.org/Network.automatic-ntlm-auth.trusted-uris network.automatic-ntlm-auth.trusted-uris] list in [http://kb.mozillazine.org/About:config about:config], eg. domain.com
    Not sure, but for Kerberos, I think you would have to use '''network.negotiate-auth.trusted-uris''' instead.

  • How to open web pages in the same window

    When i click on a link in a search engine it always opens the web page in a new tab. Its annoying and i would prefer mozilla to open it in the current page. How can this be done?

    hello, this is a preference in your google search settings. go to google.com/preferences and disable the option to ''Open search results in a new browser window''.
    https://support.google.com/websearch/answer/425

  • How to open all the pages in the same window?

    I have set up 8 pages in my website. And i want to open the pages in the SAME window. What should i do?
    P.S. I nearly follow all the styles and command made in the video of 'Bayside Cable Car Website'. The pages should be opened under the navigation bar. However, i cannot do so.
    Please help.
    Thanks a lot.

    the_shocker wrote:
    I see no point in contributing dumb and useless stuff just to justify an ego...pointless....but kids hey.
    Wait, are you talking about your post or someone else's? It seems double standard and oxymoronic for you to contribute dumb and useless stuff about dumb and useless stuff just to justify your ego... pointless... but old people hey.
    best,
    Shocker
    Far too easy to wind-up......keeps me entertained though, thanks.

  • How to apply different styels to different variable in the same window

    Dear experts
    can any one tell me how to print to different variable with different smartstyle in the same window in Smartforms
    thanks in advance

    Not possible to switch dynamically a smartstyle inside a text. A workaround is to use a SAPscript style (SE72) and switch to it with the following control command inside the text. To come back to the original smartstyle within the same text (if you need it) I think you may use style name &#42;.
    /: STYLE <stylename>
    (please search SDN if you need more information)

  • How to call a Webdynpro view from BSP page (MVC) in a new window?

    Dear Experts,
    kindly advise how to call a webdynpro view from BSP application after performing an event (through button or hyper link).
    Regards,
    Sarat.

    Hi,
    This has been discussed many times in several forums.
    Please check the method CL_WD_UTILITIES=>CONSTRUCT_WD_URL, to create a runtime url for your WD Application and call this URL.
    Refer thread: Call Webdynpro Application from BSP Application
    Hope this will be useful!
    Regards,
    Meganadhan S

  • How to navigate from a Servlet to a WebDynpro?

    Hi together,
    I've the following Problem:
    On the same EP, there are 2 deployed components:
    - a WebDynpro-Application with several Views, each in a separate iView
    - a Servlet
    Question:
    How can i navigate from the Servlet to one special iView or CustomController of the WebDynpro-Application passing a Parameter?
    I've tried to navigate using the WDPortalNavigation.navigateAbsolute()-Method, but when I create the Target-Url using the following Code, my Debugger leaves the Code uncontrolled:
    deployableObjectPart = WDDeployableObject.getDeployableObjectPart("vendor/App", "webdynproApp",WDDeployableObjectPartType.APPLICATION);
    urlToTargetApp =     WDURLGenerator.getApplicationURL(deployableObjectPart);
    Some Ideas?
    Regard
    Thomas

    Hi Thomas,
    I think you may have to use session concept here.
    check with following code
    you can use the following code to set value to the parameter.
    HttpServletRequest request = ((IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter()).getHttpServletRequest();
    HttpSession session = request.getSession(true);
    session.putValue("col_id", <value>);
    This code below is used to get parameter value.
    HttpServletRequest request = ((IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter()).getHttpServletRequest();
    HttpSession session = request.getSession(true);
    String Col_id =(String)session.getValue("col_id");
    Let's say the pcd location of the target page is
    pcd://portal_content/com.sap.pct/specialist/com.sap.test.pages/com.sap.test.target_pg
    In the event handler for the onAction event of the button
    String appParams = "ApplicationParameter=<your parameter name>=" + <put your value here>;
    WDPortalNavigation.navigateAbsolute(
    "ROLES://portal_content/com.sap.pct/specialist/com.sap.test.pages/com.sap.test.target_pg",
    WDPortalNavigationMode.SHOW_INPLACE,
    WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,
    appParams,
    null,
    true,
    true);
    For more details you check the following URL. it describes on how to navigate from html/servelt to portal iview.
    Passing value from page to WD
    Reward points if it helps
    Regards
    Praveen

Maybe you are looking for

  • How can I copy a number of like fields and paste to reduce form creation time?

    How can I copy a number of like fields and paste to reduce form creation time?

  • What is "Total bit rate"?

    I have a reasonable idea of what bit rates are, measured in MB/sec or Kb/sec, but whenever I use "Get Info" on a video clip I get something like . . . . "Total bit rate: 26,571" . . . . just that - nothing else. What exactly is it? It's too low to be

  • Exporting from Lightroom 4 to Photoshop Elements (Both trial version)

    I have downloaded both the trial versions of the software and wanted to experience how they interact with each other. I cant seem to be able to export my file from lightroom to photoshop though Is this possible with the trial versions?

  • Using Time Machine strictly in manual mode

    Hi again; Just a quick question; I'm using TM strictly manually and never in automatic mode where the (hourly-daily-weekly) backups are initiated by TM. I've set TM up with an initial backup then I turn it off, disconnect it from the system and pull

  • ERROR 1058 WHEN starting INFRASTRUCTURE

    I am using Portal and Infrastructure 10g metadatabase ASDB is 9.0.x In order to use Oraacle Warehouse Builder(OWB) i had to have a 10.1 level runtime DB. So I installed 10g oracle database and kept one listener at that level (10.1). Infrastructure li