Calling browser/URL from the link on webpage

Dear Experts,
My requirement is, I have a webdynpro component, I need to add a link on particular view which calls another webpage(either in a new window or in same window) if I click on that.
To fulfill my requirement I used CALL_BROWSER FM.
The problem here is am getting dump from the FM.
Dump text:
Error in the ABAP Application Program
The current ABAP program "CL_GUI_FRONTEND_SERVICES======CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
Am getting this error from cl_gui_frontend_services=>execute (inside CALL_BROWSER)
Please guide me how to proceed here (I guess I should not use CALL_BROWSER since already am in browser).

To open a URL in a separate window you can use the following code,
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 METHOD lo_window_manager->CREATE_EXTERNAL_WINDOW
  EXPORTING
    URL            = 'http://www.google.co.in/'
    MODAL          = ABAP_FALSE
    HAS_MENUBAR    = ABAP_TRUE
    IS_RESIZABLE   = ABAP_TRUE
    HAS_SCROLLBARS = ABAP_TRUE
    HAS_STATUSBAR  = ABAP_TRUE
    HAS_TOOLBAR    = ABAP_TRUE
    HAS_LOCATION   = ABAP_TRUE
  RECEIVING
    WINDOW         = lo_window.lo_window->open( ).
Hope it helps!
Regards,
Radhika.

Similar Messages

  • Calling a url from a pl/sql proc

    HI!
    I was wondering if anybody has code that they can share calling a url from a pl/sql proc.
    Thanks!!

    Thanks - tell me if I am wrong but it does not seem to be what I need. does this package have the capabilities of doing the following... I want to call a pl/sql procedure - I am not in any browser window and by calling this proc it will bring up a browser window with the given url.

  • Error while executing the call list maintenance from the UI ???

    Hello All
    I am using CRM 6.0
    I am want to open the call list maintenance  from the IC manager screen the system sues transaction launcher to open it, the URL link defined in the back end is :
    sap/bc/gui/sap/its/webgui/!?~transaction=CRMD_TM_CLDIST
    but when the system calls the transaction, I got the error:
    Transaction CRMD_TM_CLDIST?SAP-C is unknown
    Then I have the SAP menu
    Regards
    Jacopo Françoise

    Hi
    i think this transaction can be called only in SAP GUI.
    SAP has left some transactions (especially those for managers) in SAP GUI.
    Regards
    Radek

  • Calling a url from forms

    Hi!
    i have created a website using ARCIMS - (if you are not familiar with ARCIMS it is software that is used to create maps) I now want to call URL (website) from a button on my form. I have tried to use web.show_docuement and I am getting errors such as 'register failk'.
    I was able to run this same URL succesfuly from my browser. any ideas please?!?

    Kayla.
    web.show_document() is the right buit-in to do this and it works the same as calling a URL from a Browser. if it says "register failed" (not sure if I am correctimng your error message the right way) then this does not look like a Forms error message but one coming from teh program you call. Please check teh URL that is composed before calling web.show_document(). Check for invisible characters added to it.
    Frank

  • Urgetn - Can you call a url from a workflow?

    Hey,
    Does anyone know if you can call a url from a workflow?
    Your urgent attention would be grateful.

    I have done this in a form. You could put a manual action to call the form then display the url (Technical Reference 3-14)
    <Field>
    <Display class='Link'>
    <Property name='name' value='Request
    Group Access'/>
    <Property name='URL'
    value='user/processLaunch.jsp?newView=true'>
    <Property name='id' value='Group Request
    Process'/>
    </Display>
    </Field>
    Hope this helps
    BigBenny

  • Can not copy a URL from the address bar/line

    Why is it proving so difficult for me to copy a URL from the address bar using Safari?  When I click on the link I want to copy, it does not highlight.  I have used Command L and Command C, and that works but there has to be a simpler way.  I also read that if I click the address bar once, then press the control key and click on it again that a menu would appear with cut, paste, copy.  That does happen, but all options are greyed out, and not selectable.  Another google search resulted in someone saying there was a button or arrow to click on and that this tool would copy the URL.
    The URL I am copying is very long, longer that the address bar window
    What Gives Here?

    Click the icon (favicon) to the left of the URL.
    That will select the entire URL.
    Command C will copy the URL.

  • Problem while calling a report from the report

    Hi
    i want call a report from the report, i have written URL in the Hyperlink and its working
    but
    1) i want open it in the diffrent window.
    2) suppose if u have a report called emp it should call antoher 2 report at a time.
    ( how to put 2 URL in the hyperlink?).
    i,e if i press a hyperlink it should open emp1 and emp2
    Please help me.
    thanks and regards

    Thanx,
    I have solved this problem.
    Regards,
    Hafeez

  • HT1677 In safari browser cookies is working fine. But when I add the browser url to the screen then the cookies concept is not working. In safari setting cookies is always open only. Can you please provide any information regarding to this?

    In safari browser cookies is working fine. But when I add the browser url to the screen then the cookies concept is not working. In safari setting cookies is always open only. Can you please provide any information regarding to this?

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings and disables most add-ons (extensions and themes).
    ''(If you're using an added theme, switch to the Default theme.)''
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu by clicking on the '''Restart with Add-ons Disabled...''' menu item:<br>
    [[Image:FirefoxSafeMode|width=520]]<br><br>
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.
    Thank you.

  • Using firefox 37.0.1 windows 7. open a tab (right click) it's blank. copy and paste and go the url from the tab into a new private window and it works.

    Opening a tab (right click on a url) and I get an empty/blank window.
    If I copy the url from the emty/blank tab and then open a new private browsing window and do a paste and go, everything works.

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • Why can't i download the right version of adobe flash player from the link it shows?

    since i always can not install adobe flash player from the webpage because of server error,i try to download the installer from the link it shows(http://fpdownload.adobe.com/get/flashplayer/current/install_flash_player_ax.exe).however,after i downloaded the file from this link,i found it's the old version(10.0.45.2).what's wroung with it,and this problem has exsisted for a few days,anybody has found this problem?why still not solve it?

    Download it from the link on this page http://www.adobe.com/products/flashplayer/fp_distribution3.html

  • How to call a URL from forms ?

    Dear All,
    I would like to invoke / call a URL from forms. I know we can make a call Using Web.show_document. But this will execute in a browser.
    What i need to do is, i have to send a request to by calling an URL, that should not visible to any body.
    This is my requirement, please help if you know.
    Thanks
    Balaji

    hi,
    here is a quick example : (data from url returns as a clob. you need to write it at db. and call from forms.)
    FUNCTION Get_DataFromUrl(pUrl IN VARCHAR2,pProxy IN VARCHAR2,pData IN OUT CLOB) RETURN NUMBER IS
    vRcv UTL_HTTP.HTML_PIECES;
    vData CLOB;
    eNoDataReceived EXCEPTION;
    BEGIN
    UTL_HTTP.SET_DETAILED_EXCP_SUPPORT(TRUE);
    -- Get data pieces from Url
    vRcv := UTL_HTTP.REQUEST_PIECES(pUrl,Proxy => pProxy);
    IF vRcv.COUNT < 1 THEN
    RAISE eNoDataReceived;
    ELSE
    -- Append varchar2 table data into clob variable
    DBMS_LOB.CreateTemporary(vData,FALSE,DBMS_LOB.CALL);
    FOR i IN 1..vRcv.COUNT LOOP
    DBMS_LOB.WriteAppend(vData,LENGTH(vRcv(i)),vRcv(i));
    END LOOP;
    -- Copy local data into return variable
    DBMS_LOB.Copy(pData,vData,DBMS_LOB.GetLength(vData));
    DBMS_LOB.FreeTemporary(vData);
    END IF;
    RETURN SUCCESS;
    EXCEPTION
    WHEN eNoDataReceived THEN
    RETURN FAILURE;
    WHEN UTL_HTTP.INIT_FAILED THEN
    RETURN FAILURE;
    WHEN UTL_HTTP.Request_Failed THEN
    RETURN FAILURE;
    WHEN OTHERS THEN
    RETURN FAILURE;
    END Get_DataFromUrl;
    hope this helps.
    Engin.

  • Can i copy an podcast URL from the podcast view in iTunes?

    Hi, is there any way to copy an podcast URL from the Podcast view in Itunes?
    I have about 20 podcasts right now and when i try to hookup someone else with these, its a long way guiding them tru the podcast directory or finding the website where the podcast URL is posted....
    i just want to copy the podcast URL!
    You can view the podcast url by requesting the podcast description, but i can't be copied!!
    Apple: Please make it selectable and/or make it easy to share podcasts...
    Best Regards,
    Rick Beemsterboer
    Dell Latitude c640   Windows XP Pro  

    i would be nice if it could be done in less steps..
    and also with podcasts that arent listed in the directory
    i've disabled the store link anyways..

  • 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.

  • How get browser URL from portlet JSR-168?

    I use Oracle Portal. And I have problem.
    How get browser URL from portlet JSR-168?

    Normaly it is
    http://server:port/portletContextRoot
    Did you create the portlet with JDeveloper? When you dpeloy the portlet to your application server, JDeveloper should output the URL of the portlet test page in the deployment output feedback.

  • Calling a URL from a Java Stored Procedure

    Hi,
    I'm trying to call a URL from a Java Stored Procedure in Oracle 8.1.7(Windows 2000). The ultimate goal is to call this stored procedure from a database trigger. The status of the object remains invalid in the database even after compilation and publishing without any errors. The code follows. Any suggestions/alternatives to accomplish this would be appreciated.
    Java Stored Procedure:
    CREATE OR REPLACE JAVA SOURCE NAMED "UPDATEATTR" AS
    import java.net.*;
    import java.util.*;
    import java.io.*;
    public class UpdateAttr {
    public static String testmain() {
    ObjectInputStream is;
    URL url;
    String uri =
    "http://www.yahoo.com";
    try {
    //calling the URL
    url = new URL(uri);
    URLConnection yahooConnection = yahoo.openConnection();
    } catch (Exception e) {
         e.printStackTrace(System.err);
    return "TEST_SUCCESSFUL";
    Code to Publish it:
    CREATE OR REPLACE FUNCTION setNewAttributes return VARCHAR2
    AS LANGUAGE JAVA NAME
    'UpdateAttr.testmain() return String';
    Thanks in advance.
    Ris

    Small mistake in the previous post. The object still has a status of "INVALID" though. The Java stored procedure should actually read:
    Java Stored Procedure:
    CREATE OR REPLACE JAVA SOURCE NAMED "UPDATEATTR" AS
    import java.net.*;
    import java.util.*;
    import java.io.*;
    public class UpdateAttr {
    public static String testmain() {
    ObjectInputStream is;
    URL url;
    String uri =
    "http://www.yahoo.com";
    try {
    //calling the URL
    URL yahoo = new URL(uri);
    URLConnection yahooConnection = yahoo.openConnection();
    } catch (Exception e) {
    e.printStackTrace(System.err);
    return "TEST_SUCCESSFUL";
    Code to Publish it:
    CREATE OR REPLACE FUNCTION setNewAttributes return
    VARCHAR2
    AS LANGUAGE JAVA NAME
    'UpdateAttr.testmain() return String';
    /

Maybe you are looking for

  • HT4437 airport/airplay/iTunes no longer works

    Howdy, Say, since installing an upgrade to 10.6.8 on the mac, and the latest iTunes, my airport no longer connects to my stereo speakers...... I have looked online, and apparently this is a common problem. The airport express is only a couple years o

  • Ctrl-v key combo not working in keydown event in Adobe Air

    I am needing to capture the ctrl-c/ctrl-x/ctrl-v keys in the keydown Javascript event from within Adobe Air. I have managed to get the events to fire correctly. When I press ctrl, c, x, v, ctrl-c and ctrl-x, I get the correct corresponding keycodes.

  • Seem to be in mirror and pacman hell

    Hi,     reinstalled arch, with 5/1/12 core 32 bit disk with KDE4 but despite enabling an Australian mirror could only get  [core remote  extra remote community remote] at first for the install. However now this has all disappeared since upgrading and

  • Schema validation error when validating dom tree in memory

    Hello folks, I have the following problem: I construct a xml-file via the DOM API and before writing to file, I want to validate the DOM tree against a existing schema file. But I always receive following error: In line 0 of buffer: LSX-00006: No def

  • Wireless LED/Touchpad

    Is there a way to re-enable my wireless card after it has been disabled using a touch pad without rebooting? I have an HP laptop and the wireless card has this light/touch button which turns orange when the card is down and blue when it's up. Under t