Calling a new browser window with WD Abap and passing data via POST

Hi there,
does anybody know whether passing data via POST method is possible when opening a new browser window from within a Web Dynpro Component? In my case I use method IF_WD_WINDOW_MANAGER->CREATE_EXTERNAL_WINDOW for opening a new browser window. Now I want to pass a big amount of data which is only possible via POST method. How can I achieve that or is it not considered inside the Web Dynpro Framework?
Kind regards,
Albert

Hi Priya,
can you please explain a little bit more what you mean? I didn't get it..
Kind regards,
Albert

Similar Messages

  • Open a New Browser window in WD ABAP by specifying a window name

    Hi,
    Is there any method in Web dynpro ABAP that allows you to create a new browser window with the import of a Web dynpro Window name, not URL. Currently I only found
    methods which input is the URL not Window name.
    thanks

    Hi
      Accessing an application with the window name is not possible.The other possibility is accessing it using the application name.Follow the code...It will be
    useful for you.
    Thanks
    Anzy
    Data:    lo_cmp_api             TYPE REF TO if_wd_component,
              lo_window_manager      TYPE REF TO if_wd_window_manager,
              lo_ext_win             TYPE REF TO if_wd_window,
              lv_url type string.
    lo_cmp_api = wd_comp_controller->wd_get_api( ).
    lo_window_manager = lo_cmp_api->get_window_manager( ).
    CALL METHOD cl_wd_utilities=>construct_wd_url
          EXPORTING
           application_name = 'MYAPPLICATION'
          IMPORTING
           out_absolute_url = lv_url.
    lo_ext_win = lo_window_manager->create_external_window(
                                       url = lv_url
                                       title = 'My Application' ).

  • New browser window with javascript

    Hello,
    I'm trying to accomplish something similar to what has been
    discussed in other threads (Jess Learnin, 9/30/2008, and another
    thread from back in '07). I've tried the advice given in these
    threads and have had no luck. I would like to create a button to
    call a new browser window that displays a URL of my choosing. I'd
    like to specify the size and attributes of the new window. I've
    created a small dummy tutorial in order to work on this feature.
    I'm using the "Execute Javascript" option when configuring
    the button. I include the following javascript:
    window.open('
    http://lib.berkeley.edu/BIOS/index.html',
    'myWindow','height=400, width=700, toolbar=no');
    I have the Captivate button context set to "Current". I have
    deselected "Continue Playing Project" (though I've tried it with
    that option selected as well).
    I've tried prefacing the script w/
    "javascript:window.open...", but no luck.
    I'm testing the file on a development server, rather than
    from a local copy. When I test in Firefox, my movie simply stops
    when I click the button, without opening a new window or loading a
    web page. When I test in IE7, the movie stops and I get a message,
    "Error on page"; still no new window.
    I do notice that I'm currently running Flash Player 10. I'm
    using Captivate 3. When I publish my file, my options only go up to
    Flash Player 9, which is what I have chosen. I don't know if this
    would make a difference.
    I have also tried altering the standard.js file in the manner
    that jbradley88 suggested in the 9/30/08 thread, and using the
    corresponding javascript in the button properties window, with
    similar unsuccessful results.
    I have tried running the movie on a different computer, in
    case some local setting was somehow mucking things up. I get
    nothing.
    Any suggestions? If anyone's willing to take a look, I can
    send along my small dummy .cp file that I've been working on.
    Thanks in advance.
    -Kelly

    Hi John,
    Here's the exact javascript that I currently have associated
    with the button:
    void(window.open('
    http://lib.berkeley.edu/BIOS/index.html',
    'myWindow','height=400, width=700, toolbar=no'));
    I've tried multiple permutations, including placing
    "javascript:" in front of the script, both with and without the
    void().
    The message in IE7 just says "Error on page". It's not a
    pop-up message; it's just the small message that appears at the
    bottom left of the browser window in IE7 when a page fails to load
    properly. The message doesn't appear until I click on the button
    that's supposed to call the javascript. There's a yellow
    exclamation point icon that appears next to the "Error on page"
    message. When I click on that I get:
    "Problems with this Web page might prevent it from being
    displayed properly or functioning properly. In the future, you can
    display this message by double-clicking the warning icon displayed
    in the status bar."
    It also displays a pointer to the error:
    Line: 1
    Char: 111
    Error: Syntax error
    Code: 0
    URL:
    http://library11.berkeley.edu/bios/kelly/Practice_demo.htm
    I looked at the source for the page as displayed by IE7 (have
    also looked at the .htm and .js files generated by Captivate) and
    haven't seen anything obvious, but I'm somewhat unschooled in such
    matters.
    If it would help to see what it does, you can view the demo
    at the URL above.
    Thx again,
    Kelly

  • Calling a new Browser Window from Web Dynpro Application - Empty Context

    Hello,
    I want to open a view in a new browser window, and followed the same way which is described in this thread:
    Open view in new browser window
    My first try was creating two applications, which refer to the same Component Controller. The opening of a new browser window is triggered by an action, which is called in the other application. As both applications have the same Component Controller, I thought, the context content has to be the same, but actually the context attributes are empty after opening of the new window.
    In my second try I created two applications with two different Component Controllers, mapped via embedded Interface Controller. The effect is the same - I have no context content in the view.
    Please, can anybody help me?
    Thank you in advance.
    Ilona Seifert

    I done something like this:
    [code]
    try {
    strURL =
         WDURLGenerator.getApplicationURL(
                        "$<b>PROJECT_PATH</b>$/$<b>PROJECT_NAME</b>$",
                                            "$<b>APPLIC_NAME</b>$");
    } catch (WDURLException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
    strURL += "?par1=";
    strURL +=  var1;
    strURL += "&par2=";
    strURL +=  var2;
    strURL += "&par3=";
    strURL +=  var3;
    [/code]
    and after i retrieve them:
    [code]
    Var1Value= WDWebContextAdapter.getWebContextAdapter().getRequestParameter("var1");
    [/code]

  • Spawning new browser windows with jsp

    in a webapp, is there a jsp way to open a new browser window? i'd like to avoid javascript if i can....

    Definetely not. JSP is 100% server-side, it has nothing to do with the client-side (browser). You cannot do anything in the client-side with JSP.
    You will have to use either HTML or JavaScript.
    A seven-second Google-lookup with the keywords "opening new browser windows" yields as a second link:
    Dan's Web Tips: Opening New Browser Windows
    http://webtips.dantobias.com/new-window.html

  • Open New Browser window with "Server Behavior"

    I know how to open a link in a new browser window by going to
    the Behaviors panel. The site I'm working on is using PHP, so
    instead of a Behaviors panel all it shows is a "Server Behaviors"
    panel. Under the "Server Behaviors" there is't an option to open a
    link in a new browser window. Should I be looking someplace
    different or is there another way to add this function to a link?
    Thanks in advance for any help!

    horsethiefbasin wrote:
    > I know how to open a link in a new browser window by
    going to the Behaviors
    > panel. The site I'm working on is using PHP, so instead
    of a Behaviors panel
    > all it shows is a "Server Behaviors" panel. Under the
    "Server Behaviors" there
    > is't an option to open a link in a new browser window.
    Should I be looking
    > someplace different or is there another way to add this
    function to a link?
    >
    > Thanks in advance for any help!
    >
    Makes no difference whether youre working on a php site or an
    ordinary
    htm site you still open a new browser window in exactly the
    same way.
    windows>behaviours>open browser window

  • How to open a new browser window without toolbar, location, and menu bars from AIR?

    I have the following problem in my Flex+AIR application. I need to embed an ActiveX component that has JavaScript API inside my application. I tried to embed it inside <mx:HTML> component but unfortunately, AIR doesnot support plug-ins or ActiveX controls. So I've decided to open it in a new browser window. I tried navigateToURL(...) method but it has two problems - it is opening a new tab in the existing browser window and there is no way for me to configure the new browser window appearance, like removing toolbar, menu bar, location bar, etc. Then I tried to open a new window from JavaScript running inside <mx:HTML> component using window.open(...) API but it doesn't open a new window at all.
    Is there any way for me to open a new browser window without toolbar, location bar, etc. (which will run ActiveX control, so it cannot be AIR window) from inside AIR?
    Best regards,
    Arkady.

    Is it possible to open a new browser window using JSP?a JSP page is also an HTML page, this is client side stuff, you can do it with JavaScript.

  • 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 new browser window without buttons, menus or URl-field

    Hi All
    How do you make an APEX-link open a new browser window with no toolbar?
    Brgds
    Helge

    You can create a javascript to window.open having toobar, menubar or statusbar=0. The page content can be customized per need. Call this javascript from a link or button click using javascript:popup_window();
    For example,
    <script language="JavaScript" type="text/javascript">
    function popup_window()
    w = window.open("", "Window", "width=320,height=400,status=0,toolbar=0,menubar=0");
    w.document.write('<html><head><title>Help Window</title>');
    w.document.write('</head><body>');
    w.document.write('<div><font face="Arial" size="2">This is help page.');
    w.document.write('</font></div><p>');
    w.document.write('<div><font face="Arial" size="1"><a href="javascript:window.close();">Close This Window</a></font></div><p>');
    w.document.write('</body></html>');
    </script>Ittichai

  • New browser window

    I would like my application (which is built with adf uix) allows the user to open a new browser window when he needs.
    Unfortunately this functionality creates some problems.
    1)     I set and get some sessionScope attributes to manage some behaviour of the program. When I open a new browser window if I set a sessionScope attribute (e.g. ‘sessionScope.attr1’) with a value while working in this window then I will read this value also in the other browser window, and this is a problem for me.
    2)     In one page I display the values of the current row of a view object. The current row is set with some operation. If the user opens a new browser window and performs this operation he will set a new current row in the view object, so in the other browser window he will see the data of the wrong current row.
    Is there a solution to this problems or should I force the user to work with only one browser window?
    Could it be a solution to ‘force the creation of a new session’ when a new browser window is opened? And if this is a solution, how to do this?
    Please help.
    Thanks, Mauro

    repost

  • How to force external links to open in new browser window/tab?

    Greetings. I'm here because searching elsewhere kept coming up with references to javascript. I've created an interactive PDF with both internal and external links. It works just fine when viewed in either Acrobat or Reader. However, it is being downloaded to users' browsers and when they access the external URLs, the new sites replace the existing page in the same window.
    Is there a simple way for me to include an action in the PDF prior to distribution that will force it to open external URLs in a new browser window or tab?
    And for the record, I barely know how to spell Javascript, much less how to write or implement it. So if there is a simple solution, I hope you can also help walk me through the steps to implement it.
    Thanks a ton.

    There are two issues here:
    - How to do it using JS
    - How to do it in a non-Adobe browser plugin
    The first is pretty straight forward. You use a code like this, replacing the dummy URL with your own:
    app.launchURL("http://www.example.com", true);
    The second issue is more problematic, and in fact there isn't really a solution to it. If the plugin used supports this method then it will work, if not, then you're out of luck. Unfortunately, outside of the Adobe software I don't think that any other plugin supports it.

  • "Go to URL" not opening in a new browser window

    We are using FrameMaker 10 and RoboHelp 9 in a Windows 7 environment.
    When we create hypertext links, we use the "Go to URL" command.  According to the FrameMaker 10 online help, this is what the command is supposed to do: "Launches browser and displays the specified Web page."
    Then we publish the content to RoboHelp's WebHelp.
    When we see the hypertext link in the WebHelp/HTML output, it looks like this: http://www.adobe.com
    When we click it, the Web page appears inside the content frame of the WebHelp.  It does not open a new browser window.
    We can manually go into the html file and look at the hypertext link.  It looks like this in the WebHelp output:
    <span class="FM_Link"><a href="http://www.adobe.com">www.adobe.com</span>
    In order to manually change the link so that it opens the Web page in a new browser window, we can edit the link as follows:
    <span class="FM_Link"><a href="http://www.adobe.com" target="_blank">www.adobe.com</span>
    After we manually edit the HTML file, save it, launch the WebHelp, and click the hypertext link...it now opens the Web page in a new browser window.
    Is there a way to create the hypertext link in FrameMaker so that the WebHelp output will open the Web page in a new browser window?
    Thank you in advance!
    Tim

    Please see the previous posts in this thread to review how you create hyperlinks in FrameMaker that open the Web page in a new browser window.
    The problem is this: If you publish the exact same file to PDF, the hyperlinks will not work.
    The properties (syntax) of the hyperlinks in PDF output need to look like this: http://www.adobe.com
    The hyperlink syntax in WebHelp (in FrameMaker) needs to look like this: http://www.adobe.com" target="_blank
    (...so when they are published to Webhelp, they look like this: "http://www.adobe.com" target="_blank")
    Other than going into either the HTML or the PDF output and manually changing each hyperlink URL syntax for the specific output, is there a syntax that opens a new browser window in both PDF and HTML with one single "Go to URL" command?
    Thanks in advance for your help.
    Tim

  • Opening up a new browser window in java

    So, i'm trying to open up a browser window to download the mac runtime for java, if the system is a mac. but because of microsoft not letting java to javascript communication i can't do it. anyone got any ideas?
    thanks,
    Pete

    Hi,
    you may check the platform in your applet with
    System.getProperty("os.name"); and then open new browser window with
    getAppletContext().showDocument(url_to_download, window_name);Regards,
    Martin

  • Not launching in new browser window?

    I have setup a Flash viewer in a HTML Div container. In the Flash I have put a button which, when clicked, launches a new browser window with another site I've done to appear in.
    When I test this in Flash its working fine and launches the new window as it should.
    But when I go into Dreamweaver where I have placed the Swf. in the Div container, I test it locally in a Firefox browser window. The viewer appears and it works correctly, but when I click the button to launch the new browser window it just opens a window with an error msg 'unable to connect, etc'.
    Any idea why this wont work? Is it because it needs to be live (online)?

    Hi,
    What is the link that you are trying to open.
    Please check if you have placed the protocol - like this http://www.xmy.com" format
    and used "_blank" as target in navigateToURL API.
    Warm Regards
    Deepanjan Das
    http://deepanjandas.wordpress.com/

  • PDF viewer into new browser window

    Hello,
    I use following code to open new browser window with PDF file. The URL passed to the method is link to SICF service which returns the PDF in the request with content-type = 'application/pdf'. New window is open with correct URL, but the content is not displayed - Refresh or Go button has to be pressed to display it. Don't you experience similar problem? Is this WD error or some IE security setting?
    Thank you and best regards,
    Ludek
      lr_window = lr_w_manager->create_external_window(
          url = ld_url
          title = ''
          modal = abap_false
          has_menubar = abap_true
          is_resizable = abap_true
          has_scrollbars = abap_true
          has_statusbar = abap_true
          has_toolbar = abap_true ).
      lr_window->open( ).

    Hi Ludek,
    Probably a compression problem. Have you turned off gzip compression for the pdf?
    Btw, an alternate solution without having a separate handler is to use the cl_wd_runtime_services=>attach_file_to_response() method.
    Best regards,
    Thomas

Maybe you are looking for

  • Photos aren't showing up...please help!!!

    I have downloaded photos onto my ipod but on the computer they don't show up. And when I go to my ipod under photos they don't show up...but when i go under about or whatever it says i have 266 photos...but they aren't to be found! Am I supposed to p

  • In a loop if the value is negative then we should not  add in the total

    Hi in this we r getting the negative value in Po also if we find the negative value we should add that value in total public BigDecimal getAvailableCreditAmount() throws EleseException { Money total = Money.ZERO(); Iterator poIter = getAllPurchaseOrd

  • Usage of function module Material_Read

    hi Can anybody explain me how to use function module Material_Read with various necessary parameters . You can also mail me on  [email protected] Thanx n Regards Jitesh

  • Change of list printing to ALV grid printing

    Hi everybody I have requirement to convert the following code to Grid display can any body help me out in this. NEW-PAGE PRINT ON       NO DIALOG       LINE-COUNT     58                                                  LINE-SIZE      170             

  • Boot camp won't recognize external speakers

    There have been old posts about this before, but since they're archived, it's no longer possible to update the status of this issue. When using Boot Camp on a Mac Pro, Windows refuses to recognize that external speakers are plugged into the Sound Out