How to start a browser from an action within the WebUI?

Hello experts,
Within CRM 5.0 we have implemented an action (if_ex_exec_methodcall_ppf~execute) to start a web dynpro by directly calling its url. This is done by using the method call cl_gui_frontend_services=>execute and works fine. However, we've just upgraded to CRM 7.0 and within the WebUI environment this method raises an exception. Apparently it only works when started from the SAPgui. I have also tried calling function call_brower but with the same result.
I have thought about how to "get back" to the WebUI environment from the coding but the problem is that I have no handle or entry point to any view or window. In other words the PPF-method is totally unaware of the WebUI.  A static get_current_window method e.g. would come in handy.
Any ideas or suggestions?
Kind regards,
Olaf Pohlmann

Thanks BJ but Siva already provided exactly the same link.
In the meantime I've found the necessary classes to interact nicely with the WebUI and they all provide static methods to get an entry point. I am able to navigate based on a newly created generic outbound plug with the following coding:
lr_nav_descr = cl_crm_ui_descriptor_obj_srv=>create_ui_object_based(
  iv_ui_object_type   = 'Z_GESPREKSVERSLAG_OP'
  iv_ui_object_action = if_crm_ui_descriptor_object=>gc_action_display ).
The actual navigation can now be started with the navigation service:
lr_nav_service = cl_crm_ui_navigation_service=>get_instance( ).
lr_nav_service->navigate_dynamically( lr_nav_descr_col ).

Similar Messages

  • How to start a browser from within a java program?

    I want to make a help file for my java program and want to run the browser from the menu of my program.
    How can I start my browser from my program?
    A small code will be helpful.
    Thanks.
    Niteen

    This should work on Windows without having to know where the browser is located. See http://www.javaworld.com/javaworld/javatips/jw-javatip66.html for more details
      public static void viewHtml(URL url, boolean fixHtmlExtension){
          String cmd = "rundll32 url.dll,FileProtocolHandler " + url.toExternalForm();
          if (fixHtmlExtension){
            //There is a bug in rundll32. For http requests, it doesn't like .html or .htm extensions,
            //but replacing the 'm' with '%6D' works. 
            //This fix is not needed for file requests.
            if (cmd.endsWith(".htm")){
              cmd = cmd.substring(0,cmd.length()-1) + "%6D";
            else if (cmd.endsWith(".html")){
              cmd = cmd.substring(0,cmd.length()-2) + "%6Dl";
          Process process = Runtime.getRuntime().exec(cmd);
          try{
            process.waitFor();
          catch(InterruptedException e){

  • Can we remove Start Private Browsing from Tool list, but use Ctlr + Shift + P instead?

    Is it possible to move the word "Start Private Browsing" from the Tool List because it can create suspect or accuse to use it, I prefer to have it dissect like using the keyboard (use Ctlr + Shift + P) to start private browsing.

    You can modify the appearance of Firefox via two customization files.
    The customization files userChrome.css for the user interface and userContent.css for websites are located in the chrome folder in the user profile folder, but aren't there by default.<br />
    You may need to create the <b>chrome</b> folder and the <b>userChrome.css</b> (the names are case sensitive).<br />
    Make sure to use a plain text editor like Notepad.exe and make sure to have all files selected when you save the file as userChrome.css to avoid that the editor appends a .txt file extension (userChrome.css.txt).
    *http://kb.mozillazine.org/Editing_configuration
    *http://kb.mozillazine.org/Editing_configuration/Troubleshooting
    You can use this button to go to the Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder

  • Hello, sombody knows how to start MS Excel from LabView (version 8.2)? Thanks

    Hello, sombody knows how to start MS Excel from LabView (version 8.2)? Thank you in advance.
    Regards Robert

    In the example finder  ">Help>Find Examples >>search for Excel", you'll find a sample program called "ActiveX Event Callback for Excel".
    It opens the Excel Application..  You can build on this to open/create new worksheet(s), etc.
    RayR
    Message Edited by JoeLabView on 06-20-2007 08:21 AM
    Attachments:
    OpenExcel.PNG ‏34 KB

  • How can we handle browser settings while dealing with the security ?

    Hi ,
    how can we handle browser settings while dealing with the security ?When we configured security in web.xml , during the first request the container is asking for the authentication credentials once they are provided it go's on. but when the user gives a fresh request from the second window within the same browser that time it is not asking for authentication. How can we overcome this.Is there anything to do with server configurations?
    How can we make the container no to keep the things or act like session?

    Ya... I am taking a small example need not happen always but a kind of possibility i am thinking off.
    once the user sign out and just left without closing the browser and a friend (suppose not a good friend ... just kidding...) of that user may open the same jsp or file .This time the security is breached. If that feature or property exists....
    I know what you might say ... the user will log-out before leaving where a programer might invalidate the session at the time of log out.
    Consider the case of a bad Programing or just a programer might forget to invalidate,At that time as a application administrator how can he solve that issue.
    Thanks.......
    Edited by: user8483670 on Jun 6, 2011 1:08 AM
    Edited by: user8483670 on Jun 6, 2011 1:09 AM

  • How can I  delete pictures from my moments off the new IOS8

    How can I delete pictures from my moments off the new IOS8 when it doesnt give me the option to delete the photo itself? The icon of the trash doesnt appear what so ever. This is the only thing im dissapointed in the IOS8 update. Theres not even a camera roll where you can delete the photo like the IOS7

    Try this:
    1. Start from the homescreen of your Iphone/pod (for dummies: where all of your "apps" are).
    2. Look for an app on your homescreen titled "Photos", when you find it - Click it.
    3. When the app opens, go ahead and look towards the bottom of your phonescreen.
         You should see a navigation with three different options;
           "Photos", "Shared" & "Albums"; Why don't you just go ahead and click on "Albums", there we go - Very nice!
    4. On the next screen that appears, it should display your different albums.
         Look for "Recently Deleted", and when you find it - Click on it.
           It should be on that list somewhere (or there's a problem!).
    5. Now you should see a screen displaying all of the recent photos you've deleted.
         The term we know as "recent" to iOS is thirty days (that's 720 hours in people-time!).
           You will have to click to each individual photo, however at the bottom left-hand cornor of every photo take notice of the 'Delete' option.
    You're welcome.

  • I have several times tried to stop following a thread in the PDF's forum about security issues and i still keep getting flooded with emails from this thread. I used the action within the thread that says stop following but appears to have no effect I stil

    I have several times tried to stop following a thread in the PDF's forum about security issues and i still keep getting flooded with  emails from this thread. I used the action within the thread that says stop following but appears to have no effect I still keep  getting from 5 to 20 emails daily. Please help!!!!!!!

    This may be helpful: How do I disable email notifications?

  • How can I move apps from one computer to the other?

    How can I move apps from one computer to the other?
    (preferably without iCloud)

    Backup your iTunes library to an external drive and onto the other computer
    http://support.apple.com/kb/ht1751

  • How do i copy stickies from one mac to the other

    how do i copy stickies from one mac to the other?
    or are they stored in a file i can just copy them over ? if so what is the file name path?
    thanks in advance

    yes, they are stored in the file /users/username/library/StickiesDatabase. just copy it over to the corresponding location on the new computer.

  • I have a 120gb Classic that has no space left on it. i am going to buy a larger gb capacity ipod as soon as i get clearer instruction on how to get the old ipod content to the new ipod. How do you get content from one ipod to the other?

    how do you get content from one ipod to the new one? my content is on an external hard drive not on my pc and i have run out of space on my 120gb classic. can you get old ipod content to new? my itunes has only got short cuts, the real content is on an external drive? can this be done?? please help

    If the content is on an external drive, but your library knows where to find it, then it should all work. Connect your device, make some selections for what to put on it, and sync. If, on the other hand, your current iPod is the only place holding some of your media then see this user tip: Recover your iTunes library from your iPod or iOS device.
    tt2

  • When I use Home sharing, I can see the library I want to copy, but when I highlight the library, the import button does not show up. Also, it will not let me drop and drag. How do I get music from one computer to the other computer?

    When I use Home Sharing, I can see the library I want to copy under Shared, but I can't get it save on the computer under the regular library. I go to edit and "select all" but there is no import button that is in the right hand corner. Also, it will not let me click and drag the music. How do I get it from one computer to the other?

    Since both computers are connected via the network, you could simply copy the ENTIRE iTunes folder from one computer to another via the network.
    If both computers are running Windows, use the Easy File Transfer Utility built into Windows to move iTunes and all other user media/data.

  • I have a new iMac and i created two libraries on iTunes. how do i copy songs from one library to the other?

    I have a new imac. I created two libraries, one for me, one for my kids. how do I copy songs from one library to the other library?

    Not easy unless you're just content with adding some files to the other as new files but lose playlists for those files, and playcount, and ratings, etc.  If you're okay with that, you can drag the media folder from one library to the other. If you use default settings and want to duplicate the media, just drag it. If you want to add the media but leave it where it is currently located, hold down the option key while dragging to the library window.
    Otherwise:
    PowerTunes - http://www.fatcatsoftware.com/powertunes/ (commercial software)
    syncOtunes - http://homepage.mac.com/oligrob/syncOtunes/syncOtunes.html

  • How do I transfer music from one iPhone to the other without using a laptop and will I be billed?

    How do I transfer music from one iPhone to the other without using a laptop and will I be billed?

    Download Past Purchases
    http://support.apple.com/kb/HT2519
    Or do you mean this...
    Old Phone to New Phone
    http://support.apple.com/kb/HT2109
    Also...
    It should be Noted that anything Downloaded with a Particular Apple ID is tied to that Apple ID and Cannot be Merged or Transferred to a Different Apple ID

  • I want to hook up a mac mini and us my tv as a monitor. how can I use airplay from my phone on the mac mini like i can with an apple tv (without having to buy an apple tv!). the airplay capabilities i want to use are mirroring and streaming from my iphone

    i want to hook up a mac mini and us my tv as a monitor. how can I use airplay from my phone on the mac mini like i can with an apple tv (without having to buy an apple tv!). the airplay capabilities i want to use are mirroring and streaming from my iphone!

    Download AirPlayer for Mac - Transforms your Mac into an AirPlay-compatible display. MacUpdate.com

  • How do I keep itunes from putting things into the cloud after I've downloaded them?

    Hello - Not everyone lives in Silicon Valley or New York City.  I have a relatively slow internet connection so it takes about 2 hours to download a 45-minute tv episode.  Yesterday I did that, and today I went to watch it and it had been put back in the cloud!  "No problem," says Apple, "You can download it again."  It takes f**** 2 hours to download it again.  How can I keep Itunes from putting things I've already downloaded back into the cloud?

    How do I keep itunes from putting things into the cloud after I've downloaded them?
    You don't. They are in the cloud as soon as you make a purchase. As in immediately/right now. They don't get uploaded from yoru computer to the cloud.
    Did you delete it after you watched it?

Maybe you are looking for

  • How can I read out the IP of an client

    I want that an trusted applet can read out the IP of its user and can send ist to a server, but I can't find how I can do this (maybee I'll find it, but I need this soon) Please help!

  • EPM 11.1.1.3 Shared Services and Registration

    Hi all, I installed EPM 11.1.1..3 on a windows 2003 server Install is ok. I then used config tool to configure repositories (Oracle 10g) , deploy ( Websphere 6.1) and register with shared services : Here is my issue : I can log to shared services but

  • 5508 HA

    We hav ea 5508 pair running in HA mode. Initially the conrollers were running the 73..101.0 code.  We were having issues where the primary controller would software reset  (according to show sysinfo), the secondary (HA SKU) would take over and then a

  • Black or White

    This is kind of a trivial question, but if you had the choice of a black or white iPhone 4 right now, which color would you choose? I'm planning to order my phone in the next few weeks and I can't decide which color to get (I'm getting 32GB either wa

  • Handling table name changes

    Hi, Because of a change in naming convention, all our source table names are changing (only the prefix: The rest of the name and the table structures will remain the same). We already have developed a significant number of OWB mappings based on the o