Call browser function

Hi All,
I am using CALL_BROWSER function to call a jsp application within SAP CRM system. This works fine from my PC. However one of our users is getting an error as follows:
"Windows cannot find "C:\PROGRA~1\Yahoo!\browser\ybrowser.exe%1'. Make sure you typed the name correctly and then try again"
Do any one know if this is due to some file missing on the user's PC? If so, could you please let me know what we need to install.
Thanks for your help!
Chandrika

Hi Chandrika,
The Browser on the user's machine might be defaulted to the ybrowser from Yahoo.
You may troubleshoot the user's machine by calling the CALL_BROWSER function module in Test mode in SE37 and give some URL like www.sdn.dap.com. If it works, then check how this function is called in your program.
Regards,
Bhanu

Similar Messages

  • Calling multiple URL in call browser

    hi
    i am having internal table having a multiple Url . each row consists of different URl.
    i am calling the call browser functional  module in Inside the Loop .
    what i am geting is , when the first record ( URL)  gets generated . it will call the Browser . sms sent and its not calling the second record even though its in loop.
    what has to do. any parallel processing / asynchronous processing posible

    I was browsing forums and your problem seem to be stuck in my brain. It keeps coming back again and again :-).
    Anyways, I find out that instead of using CALL_BROWSER, if you can use the execute method of cl_gui_frontend_services, it will work. Just pass internet explorer exe file path in 'APPLICATION' parameter and you url in 'PARAMETER' parameter.
    However there is one problem and that is how to get the filepath for internet explorer exe file. On most PCs it will be like C:\Program files\Internet Explorer\iexplore.exe' , so you can hare code this. OR you can read it from registry as per the following
    DATA: kstr TYPE string, vstr TYPE string,
          convstr TYPE string.
    kstr = 'SOFTWARE\Classes\Applications\iexplore.exe\shell\open\command'.
    CALL METHOD cl_gui_frontend_services=>registry_get_value
      EXPORTING
        root                 = cl_gui_frontend_services=>hkey_local_machine
        key                  = kstr
      IMPORTING
        reg_value            = vstr
      EXCEPTIONS
        get_regvalue_failed  = 1
        cntl_error           = 2
        error_no_gui         = 3
        not_supported_by_gui = 4
        OTHERS               = 5 .
    IF sy-subrc <> 0.
      WRITE:/ 'registry read error subrc=', sy-subrc.
      EXIT.
    ELSE.
      TRANSLATE vstr USING '% 1 '.
      CONDENSE vstr.
    ENDIF.
    Once you have explorer file path in VSTR, can can call the execute method as following.
    Assumption: ITAB-STR is of type string and contains url like 'http://www'google.com' etc.
    LOOP AT itab.
      CALL METHOD cl_gui_frontend_services=>execute
        EXPORTING
           application            = vstr
           parameter              = itab-str
        EXCEPTIONS
          cntl_error             = 1
          error_no_gui           = 2
          bad_parameter          = 3
          file_not_found         = 4
          path_not_found         = 5
          file_extension_unknown = 6
          error_execute_failed   = 7
          synchronous_failed     = 8
          not_supported_by_gui   = 9
          OTHERS                 = 10 .
      IF sy-subrc <> 0.
        WRITE:/ 'Error in EXECUTE, subrc =', sy-subrc.
      ENDIF.
    ENDLOOP.

  • Getting a error when Muse Website is viewed in browser:MuseJSAssert: Error calling selector function

    Every time I open any  .html  file in a browser I recieve this error message; MuseJSAssert: Error calling selector function: TypeError: Object does'nt support property or method 'museMenu'

    I have a similar problem that seems to have come up since the latest upgrade. My error is:
    "JavaScript Alert
    MuseJSAssert: Error calling selector function:SecurityError:Blocked a frame with origin "null" from accessing a cross-origin frame."
    The strange part for me is that there's no error at all when using File>Preview Page in Browser. I only get the error when I File>Export Page as HTML and then try to view the output.
    I can post a zip file of the HTML output to Adobe, but not publicly. Also, where is the Preview Page stored? If I don't get error on that, why can't I just use that as my HTML output?
    Thanks!

  • ERROR: -Type conflict when calling a function module

    hi to all,
    when iam executing the program in browser   Type conflict when calling a function module  error is showing, i have bind all the attribute correctly still iam getting error, WHEN I  CLICK ON THE SEARCH BUTTON DATA IS NOT COMING  TO MY TABLE ITAB1 plz help me....
      DATA:
          NODE_IP_SELECTION                   TYPE REF TO IF_WD_CONTEXT_NODE,
          ELEM_IP_SELECTION                   TYPE REF TO IF_WD_CONTEXT_ELEMENT,
          STRU_IP_SELECTION                   TYPE IF_PLANNING_HISTORY=>ELEMENT_IP_SELECTION ,
          ITAB TYPE TABLE OF ZSL_PL_UPDATE1,
          WA TYPE ZSL_PL_UPDATE1.
      navigate from <CONTEXT> to <IP_SELECTION> via lead selection
        NODE_IP_SELECTION = WD_CONTEXT->GET_CHILD_NODE( NAME = `IP_SELECTION` ).
      get element via lead selection
        ELEM_IP_SELECTION = NODE_IP_SELECTION->GET_ELEMENT(  ).
      get all declared attributes
        ELEM_IP_SELECTION->GET_STATIC_ATTRIBUTES(
          IMPORTING
            STATIC_ATTRIBUTES = STRU_IP_SELECTION ).
    CALL FUNCTION 'ZBAPI_PL_UPDATE'
            EXPORTING
              GV_LIFNR           =  STRU_IP_SELECTION-LIFNR
              GV_MATNR           = STRU_IP_SELECTION-LIFNR
              GV_GJAHR           = ' '
            GV_WEEK_LOW        =   STRU_IP_SELECTION-FROM_WEEK
             GV_WEEK_HIGH       =  STRU_IP_SELECTION-TO_WEEK
          IMPORTING
            RETURN             =
            TABLES
              GT_PL_UPDATE       = ITAB
             DATA:
               NODE_PLANN_NODE                     TYPE REF TO IF_WD_CONTEXT_NODE,
               ELEM_PLANN_NODE                     TYPE REF TO IF_WD_CONTEXT_ELEMENT,
               STRU_PLANN_NODE                     TYPE IF_PLANNING_HISTORY=>ELEMENT_PLANN_NODE,
               WA1 TYPE IF_PLANNING_HISTORY=>ELEMENT_PLANN_NODE,
               ITAB1 TYPE TABLE OF IF_PLANNING_HISTORY=>ELEMENT_PLANN_NODE.
              LOOP AT ITAB INTO WA.
               MOVE-CORRESPONDING WA TO WA1.
               APPEND WA1 TO ITAB1.
              ENDLOOP.
           navigate from <CONTEXT> to <PLANN_NODE> via lead selection
             NODE_PLANN_NODE = WD_CONTEXT->GET_CHILD_NODE( NAME = `PLANN_NODE` ).
             CALL METHOD NODE_PLANN_NODE->BIND_TABLE
               EXPORTING
                 NEW_ITEMS            = ITAB1
                SET_INITIAL_ELEMENTS = ABAP_TRUE
                INDEX                =
    ENDMETHOD.

    CALL FUNCTION 'ZBAPI_PL_UPDATE'
    EXPORTING
    GV_LIFNR = STRU_IP_SELECTION-LIFNR
    GV_MATNR = STRU_IP_SELECTION-LIFNR
    GV_GJAHR = ' '
    GV_WEEK_LOW = STRU_IP_SELECTION-FROM_WEEK
    GV_WEEK_HIGH = STRU_IP_SELECTION-TO_WEEK
    IMPORTING
    RETURN =
    TABLES
    GT_PL_UPDATE = ITAB
    Problem is here
    check out the type GV_GJAHR whether it accepts string type.
    thanks
    sarbjeet singh

  • MuseJSAssert: Error calling selector function:ReferenceError: Spry is not defined.

    I launched Muse today and it said there was an updated available. I installed it and then made a few small changes to my 5 page website. Then i exported the HTML and uploaded it to my server.
    But now when i try browsing the site in Chrome, I get the following error message:
    MuseJSAssert: Error calling selector function:ReferenceError: Spry is not defined.
    The only changes I made were adding some text to a few pages and adding metadata info to each page and when viewing the exported HTML locally (prior to uploading) it all behaves as it should...no error messages.
    Any ideas why its doing this? or more importantly, any suggestions on how to stop it from doing this? It wasn't doing this yesterday prior to me making these small changes.
    Here's the URL: www.gardensbytheseaursery.com
    Thanks in advance.
    Jake

    This error would occur if not all the files for the site we're uploaded.
    The 2.0 update includes numerous improvements in the generated HTML, CSS and JavaScript, so while you may have directly changed only certain pages, if you're using an external FTP client all the exported files and folders need to be uploaded. (The new built-in FTP support automatically only generates and uploads files that have changed since the previous upload.)

  • ABAP Calling JAVA Function or Method

    Hi Friend,
    I need help in how to proceed using  ABAP  and Call JAVA Function . I know that  we need to use RFC enabled Function modules. I was able to connect  using JAVA Connector which was provided by SAP For communicating with JAVA Apps. The approach for connecting the JAVA to SAP is working fine.  But I  have browsed through various website but failed to find any information.Now i am looking forward to help from you friends to solve my problems .
    The Requirement is mentioned below:-
      1. Prerequiste for SAP ABAP calling a third Party software which is working in JAVA Platform (like any middle ware which might be hardware or software).
      2. Sample Code  like calling a Text  ' Hello  to the world  calling JAVA from ABAP'.
      3. Steps and process so that it would be helpful.
    Timely help would be appreciated.
    Rajiv Christopher.

    1.Middleware is JCO RFC provider it comes with SAP so no need any third party Adapter.
    2.
    " The ECHOTXT parameter should contain the text of REQUTXT.Information on
    " calling the function module should be returned in RESPTXT, indicating, for
    " example, in which system and when the function module call was processed.
    data:ECHOTEXT type SY-LISEL,
         RESPTEXT type SY-LISEL.
    CALL FUNCTION 'STFC_CONNECTION' DESTINATION '<Your JCO destination name>' " which one you have developed in SM59 as TCP/IP
      EXPORTING
        requtext       = 'ABAP Calls JAVA'
    IMPORTING
       ECHOTEXT       = ECHOTEXT
       RESPTEXT       = RESPTEXT.
    if sy-subrc = 0.
      WRITE:/'---------------------------------------------------------------------'.
      WRITE: / 'establish a link to the ABAP application server with logon data'.
      WRITE:/'---------------------------------------------------------------------'.
      write:/ ECHOTEXT .
      else.
          WRITE:/'---------------------------------------------------------------------'.
      WRITE: / 'Not establish a link to the ABAP application server with logon data'.
      WRITE:/'---------------------------------------------------------------------'.
      endif.
    Check the sample code and Let me know will you get ECHOTEXT ?
    Kanagaraja L
    Edited by: Kanagaraja  Lokanathan on Jan 6, 2010 1:27 PM

  • Calling javascript function to open SWF

    When the Captivate presentation ends, I'm trying to open
    another SWF in the same browser window.
    I have put the following code in the HTML document:
    <script type="text/javascript">
    <!--
    function changeMovie(filename)
    document.getElementById('Captivate1').movie=filename;
    alert(document.getElementById('Captivate1').movie);
    //-->
    </script>
    I am able to call the function from the Captivate file
    successfully because the alert window pops up with the name of the
    movie. I just can't get it to play. Can anyone help me on this?
    Not to be rude or anything, but I should note that:
    1) this is not my idea--it is my boss' idea, and any attempts
    to tell me that this is something not worth doing will
    unfortunately fall, not on deaf ears, but on ears connected to
    hands that have no freedom to choose how this project is completed.
    This is my master's bidding, and I must do what he says.
    2) I know very little JavaScript. This code was given to me
    by another guy on the project. So if you have advice for changing
    the code, please be as specific as possible.
    I would be very grateful for any help that you can
    offer.

    Two non javascript methods:
    Movie End Options -> Action ->> Open URL or file
    Button -> On Success ->> Open URL or file
    A method to load a new movie without completly reloading the
    page.
    1. Create two 200x200 movies - m1 and m2 - add some content.
    2. Create a button in m1 set Exectue Javascript ->>
    loadMovie('m2.htm');
    3. Publish html and swfs to the same folder.
    4. Open m1.htm and replace all the code with the following
    (up to and including </html>):
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8">
    <title>m1</title>
    <script type="text/javascript">
    var xmlHttp
    function loadMovie(url)
    xmlHttp=GetXmlHttpObject();
    if (xmlHttp==null)
    alert ("Browser does not support HTTP Request")
    return
    xmlHttp.onreadystatechange=stateChanged
    xmlHttp.open("GET",url,true)
    xmlHttp.send(null)
    function stateChanged()
    if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
    document.getElementById("movieContainer").innerHTML=xmlHttp.responseText
    function GetXmlHttpObject()
    var objXMLHttp=null
    if (window.XMLHttpRequest)
    objXMLHttp=new XMLHttpRequest()
    else if (window.ActiveXObject)
    objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")
    return objXMLHttp
    </script>
    </head>
    <body>
    <div id="movieContainer">
    <!-- captivate generated code -->
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    width="200" height="200" id="Captivate1" align="middle">
    <param name="allowScriptAccess" value="sameDomain">
    <param name="movie" value="m1.swf">
    <param name="quality" value="high">
    <param name="menu" value="false">
    <param name="loop" value="0">
    <param name="bgcolor" value="#f3f3f3">
    <embed src="m1.swf" name="Captivate1" quality="high"
    bgcolor="#f3f3f3" width="200" height="200" name="menu"
    align="middle" allowScriptAccess="sameDomain" loop="0"
    type="application/x-shockwave-flash" menu="false" pluginspage="
    http://www.macromedia.com/go/getflashplayer">
    </object>
    <!-- end Captivate code -->
    </div>
    </body>
    </html>
    5. Open m2.htm and replace the code with the following:
    <!-- Captivate generated code -->
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    width="200" height="200" id="Captivate1" align="middle">
    <param name="allowScriptAccess" value="sameDomain">
    <param name="movie" value="m2.swf">
    <param name="quality" value="high">
    <param name="menu" value="false">
    <param name="loop" value="0">
    <param name="bgcolor" value="#f3f3f3">
    <embed src="m2.swf" name="Captivate1" quality="high"
    bgcolor="#f3f3f3" width="200" height="200" name="menu"
    align="middle" allowScriptAccess="sameDomain" loop="0"
    type="application/x-shockwave-flash" menu="false" pluginspage="
    http://www.macromedia.com/go/getflashplayer">
    </object>
    <!-- end Captivate generated code -->
    6. Open m1.htm in you browser, click the button to load m2
    How it works:
    Simply put AJAX lets you load parts of an html file in the
    current window. The code to be replaced is within the div
    id="movieContainer". The code in the file you want to load should
    be only the code you need, not an entire HTML file.
    Call it from Captivate with loadMovie('URL') where URL is the
    name of the html file.

  • How to call java function in javascript

    Hello Everyone,
    Can anyone tell me solution that:
    How to call java function in javascript?
    Thanks,
    VIDs

    You can't since Java is running on the server and javascript is running in the browser long after the Java side of things has finished executing. Assuming you're not talking about an applet here.
    But you can make calls back to the server through Ajax. All you need is something like a servlet on the receiving end which you can invoke through Ajax; from that point you can execute any Java code you want.

  • What is this: " MuseJSAssert: Error calling selector function:TypeError: $(...).museMenu is not a fu

    Everything works fine in preview. Get this error when uploaded to site and trying to switch between some pages:
    : " MuseJSAssert: Error calling selector function:TypeError: $(...).museMenu is not a function"
    site is  www.authorizedagents.com

    Chrome still reports the http://www.campusone.net/scripts/1_1/jquery.musemenu.js is missing (though note it is now looking in a "1_1" folder rather than a "1.1" folder).
    To do exactly what I'm doing to detect this:
    1) Go to a page that reports a JavaScript error or that otherwise shows a missing link for an image using Chrome.
    2) Right click and choose "Inspect Element". It doesn't matter what you click on.
    This should bring up the developer tools UI within your browser window.
    3) From the button at the top of the Developer Tools UI click on "Console".
    This should display a list of any errors that occurred during the load of the page. In this case it shows the jquery.musemenu.js file was not found.

  • Disable browser functionality through Portal

    Hello, I was curious to know if it is possible to disable Browser functionality (such as toolbars, navigation buttons, address bar) through a Portal setting? I know this is possible to do through Javascript's window.open() function; however I'd like to remove the functionality on the initial client call without having to pop another window to do so.
    Any suggestions?

    At this time it does not appear that this is possible to do. The best solution I can find is stated below. If a better solution can be found, please feel free to post it to the community!
    vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
    A browser makes a request to a url. That url points to an html file with javascript. The javascript opens a new browser window, disables the browser functionality and has it load the actual portal.
    <!-- redirect.html -->
    <html>
    <script language="JavaScript">
         window.open('http://localhost:7001/myportal.portal','myWindow','toolbar=no','width=100%','height=100%');
         resizeTo(0,0);
         moveTo(-1000,-1000);
    </script>
    <body>
    </body>
    </html>

  • Need a File Parameter with Browse Functionality in ABAP

    Hi
    I Need a File Parameter with Browse Functionality in ABAP.
    Can anyone help me with logic.
    Regards,
    Sree

    Check below code:
    PARAMETERS: p_file TYPE localfile.
    DATA: l_path TYPE string,
          l_fpath TYPE string,
          l_fname TYPE string.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL METHOD cl_gui_frontend_services=>file_save_dialog
        EXPORTING
          window_title         = 'Save to...'
          default_extension    = '.txt'
          initial_directory    = 'C:\'
        CHANGING
          filename             = l_fname
          path                 = l_path
          fullpath             = l_fpath
        EXCEPTIONS
          cntl_error           = 1
          error_no_gui         = 2
          not_supported_by_gui = 3
          OTHERS               = 4.
      IF sy-subrc EQ 0.
        MOVE l_fpath TO p_file.
      ENDIF.

  • Re: AJAX-Calling JavaScript function

    Hello!
    So i've been reading abt AJAX and i'm trying it out now. I have a problem or two.
    Take a look @ this scenario plz.
    I have a Page HTML header with the the following script
    <script language="JavaScript1.1" type="text/javascript">
    function setFocus(PageItem) {
    document.getElementById(PageItem).focus();
    function validateLogin(User,Pwd) {
    alert("Here Now.");
    if (document.getElementById(User).value == "") {
    alert("Login ID must have a value provided.");
    document.getElementById(User).focus();
    else if (document.getElementById(Pwd).value == "") {
    alert("Password must have a value provided.");
    document.getElementById(Pwd).focus();
    document.getElementById(Pwd).select();
    else {
    doSubmit('SUBMIT');
    </script>
    I have a button which is supposed to call the validateLogin function . In its' Optional URL Redirect, ive set Target=URL
    and URL Target as
    javascript:validateLogin('P4_USERNAME','P4_PASSWORD);
    however when i run the page and try to press the button, i get "Error on page" at the bottom left hand corner of my browser.
    Also, u notice i put an alert
    alert("Here Now.");
    just @ the beginning of the function to see if the function is actually called but the alert didn't even get displayed.
    Am i calling my function wrongly. Hope i've explained the scenario ok. Any ideas on this plz.
    big thnx

    Hello,
    You're missing a quote at the end of 'P4_PASSWORD.... So try
    javascript:validateLogin('P4_USERNAME','P4_PASSWORD');
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • MuseJSAssert: Error calling selector function:TypeError: 'undefined' is not an object

    My Safari browser on my iPhone4s reads the following error when I visit my site www.premiercreativegroup.com:                   MuseJSAssert: Error calling selector function:TypeError: 'undefined' is not an object (evaluating 'this.elem.get(0).currentStyle').
    Not sure where to start on fixing this. Any ideas?

    You might to start by going to the Muse forum
    If you start at the Forums Index http://forums.adobe.com/index.jspa
    You will be able to select a forum for the specific Adobe product(s) you use

  • What does this Adobe Muse error message mean: MuseJSAssert: Error calling slector function:SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with orign "null" from accessing a cross-origin frame.

    So what is up with this error message in Muse?
    MuseJSAssert: Error calling slector function:SecurityError: Failed to read the ‘contentDocument’ property from ‘HTMLIFrameElement’: Blocked a frame with orign “null” from accessing a cross-origin frame.

    This is a genuine security error generated by the browser when viewing a page with iFrame content locally.
    Please refer to Zak's reply in the following thread: https://forums.adobe.com/message/6496180#6496180
    Cheers,
    Vikas

  • How can i call javascript function with out internet connection?

    I have trying to call javascript function through ExternalInterface. But flash player recomonding to have internet connectivity. i have allredy used allowscript="always" .

    first, allow the folder that contains your flash files to connect to the internet by adjusting your security settings:
    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04a.ht ml
    then try the following in a swf and open the published html in your browser to test:
    import flash.external.ExternalInterface
    ExternalInterface.call("function(){alert('test');}")

Maybe you are looking for