Launching URL clicking on a button of a view of BSP Component

Hi  Gurus,
I have a requirement of opening a webdynpro URL by clicking on a button in a view of a standard BSP component. I have created one transaction launcher and assigned it to a logical link " ZOPP_CRT". In the event handler of the button I have written the following code.
method EH_ONOPP_NEW.
Added by wizard: Handler for event 'OPP_NEW'
data: lv_nav Type ref to if_crm_ui_navigation_service.
lv_nav = cl_crm_ui_navigation_service=>get_instance( me ).
lv_nav->navigate( iv_link_id = 'ZOPP_CRT' ).
endmethod.
I have also checked the following links:
Event triggers transaction launch
Requirements using Transaction Launcher
Still it is not working. Please suggest.
Thanks

Hi Raghunadh,
You can find the details here:
[http://wiki.sdn.sap.com/wiki/display/CRM/SAPCRMTransactionLaunchertoSAPERPBORObjects-Debugging|http://wiki.sdn.sap.com/wiki/display/CRM/SAPCRMTransactionLaunchertoSAPERPBORObjects-Debugging]
[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3059fb20-987f-2e10-ef82-d147b9b5e8b4?QuickLink=index&overridelayout=true|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3059fb20-987f-2e10-ef82-d147b9b5e8b4?QuickLink=index&overridelayout=true]
Regards
Leon

Similar Messages

  • Controlling Triggering of "WDDOMODIFYVIEW" on click of a button in view

    Hi all,
    I have a Button in a view,
    on click of the button the "WDDOMODIFYVIEW" Executes before the action for the button executes.
    I've a requirement that the "WDDOMODIFYVIEW" shouldnt execute on click of the button in that view.
    Is it possible to control??
    Best Regards,
    Shravan.

    Hi,
    When you a click a button, method "WDDOBEFOREACTION" will trigger first. Then the method "WDDOMODIFYVIEW" will trigger.
    So you can try the below method:
    1. Create a local attribute lv_action_flag in the attribute tab of the view type as "WDY_BOOLEAN".
    2. Write logic in the method "WDDOBEFOREACTION" to find the button clicked and set a local flag over there.
        data lo_api_controller type ref to if_wd_view_controller.
      data lo_action         type ref to if_wd_action.
      lo_api_controller = wd_this->wd_get_api( ).
      lo_action = lo_api_controller->get_current_action( ).
      if lo_action is bound.
        case lo_action->name.
          when '...'. <<Check your action name eg:Show
           wd_this->lv_action_flag = abap_true.
          when others.
            clear wd_this->lv_action_flag.
        endcase.
      endif.
    3. In the beginning of the method  "WDDOMODIFYVIEW" Check the "lv_Action_flag" attribute .
    like
    check wd_this->lv_action_flag is initial.
    <<Your entire logic in this method>>
    Hope this will be helpful
    Regards,
    Meganadhan S

  • Can't see video on my web page, just click to play button...

    Hello!
    I just made my first video tutorial and created a Quicktime video. I also made it web ready, which created a folder with the "how to," a poster image, etc. I read the directions and viewed the code for adding it to my web site, but I am new to HTML, etc. and seem to be doing something wrong. All I get is the "Click to Play Button" when I view my page in the browser.
    I want to add a link on my blog that will open the page with the video on it in a browser window so it can be viewed. Like this one:
    http://cdn.libsyn.com/cspodcast/podcast-BR-flatview.mp4
    If anyone can help, here is the link to the page where I have the code:
    http://robenmariesmith.com/psactionstutorial.htm
    Much appreciated!!
    RM

    Here is what I did...
    1. I created the video in Snapz Pro. Then I saved it to my desktop.
    2. Next, I uploaded the image file, which is a .mov file to my web site. I put mine in a folder called img.
    3. Now this is the best part, go to this web site:
    http://cit.ucsf.edu/embedmedia/step2_qtv2.php?mediatype=QuickTime
    4. I selected Web Server and then went to the next screen. On the next screen, add the web server name and the file path. I am a newbie so I made the mistake of adding the entire file path. You only need to add the info. after the web name. Example:
    My web server is: http://www.robenmariesmith.com
    My file path is: img/tutorials/PSActionsTutorial.mov
    Select the pixel image size for your largest image for width and height.
    Make the other selections that it requests and click Submit.
    5. On the next screen you can actually test your media. If all is working, copy and paste the code into your web site.
    Let me know if you need any more help and I will help if I can!
    Cheers,
    RM

  • Refreshing First View on click of button in second view

    Dear All,
    I have a view in whcih I have a table to display the employee requests.On lead select of table I will display another view
    in which manager can approve or reject the employee request.
    After approving the request if manager clciks on back buton again I am displaying the first view using outbound plug.Here I need not to show the approved or rejected request in the table.
    But on click of back button the first view is not getting refreshed it is still showing the approved request in the table.
    If I refresh using F5 the approved request is disapearing.
    Please help in refresing the screen on clcik of back button in second screen.
    Thanks,
    Reddy.

    when you click on the back button , the first view still has the old values....
    when you press F5, the logic which you have used to display the data in view one, gets triggered and that is the reason the approved request disappears...
    on click of the back button, run the logic which you have used to display the data in view 1, place the logic in component controller so that you can use it globally. when pressed back, trigger the global method and it witll bind the data which doesnt have approved request

  • Launch a URL in new tab on click of a button

    Hi All,
    I am currently launching a URL from R3 on click of a button on a screen. When I click on the button the second time it lauches the URL again, but opens it in a new window. I am using IE8 to open the URL's. What i wanted to know, is there any way where I can launch the URL in the same IE8 window, but in a  different tab i.e. instead of opening two IE8 windows, launch one window with two tabs.
    Any help would be useful.
    Thanks.
    Sneha.

    Hello sneha!
    As far as I know there isn't an HTML TAG to do that. In CSS3 there is a property 'target-new' that can be used
    [target-new property|http://www.w3.org/TR/css3-hyperlinks/#the-target-new]
    but I'm not sure if IE8 implements this feauture.
    The only easy solution I see is to configure the IE8 to open all the links in a new TAB instead of a new window.
    Open IE8 then go to "Tools" menu -> "Internet options" then in the "Tabs" section click on "Settings" and Select
    "When links from other programs in:"  "A new tab in the current window".
    You can do the same with the :
    "When a pop-up is encountered" "Allways open pop-ups in a new tab".
    Best Regards.
    Claudio (Aparatey)

  • When a website launches a new window to enter information, Firefox no longer automatically closes the window when you click the submit button. Why?

    For example, when I create a message in my autoresponder service and want to attach an image a new window opens up so I can enter the details of the image (url, position, alt text). When I click the Save button, the information is captured but the window remains open and I have to manually close it.
    Firefox used to close the window automatically.

    YES!! Thank you jscher2000! You sir are a legend. Thanks for this, changed the newtaburl in about:config, totally worked. Nope, never saw it happening! Speedy machine this one :P Yep, that change completely sorted the issue, just opened about 741 new tabs through the shortcut on my mouse just to celebrate. Thanks guys who helped, no thanks those who didn't.

  • LinkButton click doesn't launch URL in the bin-release folder

    I have a project "xyz.mxml" in which I use a datagrid. The action script assigns a ItemRenderer of object LinkButtonRenderer
    gdColumn.itemRenderer = new ClassFactory(LinkButtonRenderer);
    This LinkButtonRenderer.mxml is another file in my project "xyz.mxml"
    When I run the application in the Flex builder, it runs fine and on the button click the url opens up. But when I copy all the files out from the "/bin-debug" folder to any  other folder, the button click does not work. If I do a "Export Release Build" all the files get created in the "bin-release" folder. But the link button does not work here.
    <?xml version="1.0"?>
    <!-- LinkButtonRenderer.mxml -->
    <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml"> 
    <mx:Script>
           <![CDATA[
               import mx.events.ListEvent;
               import mx.controls.LinkButton;
               import mx.controls.Button;
            import mx.controls.Alert;
            import flash.net.navigateToURL;
            private function handleClick(eventObj:Event):void
                var u:URLRequest;
                u = new URLRequest(data.url.toString());
                navigateToURL(u, "_self");
                  ]]>
         </mx:Script>
            <mx:LinkButton id="url" label="{data.label}" click="handleClick(event);" color="blue"/>
    </mx:VBox>

    For testing the URL im ausing is  http://google.com
    This buton click operation works when I run it from the Flex Builder Application, by clicking on the  "Run" Button, the swf file gets created in the /bin-debug folder.
    Once I export it "Export Release build" all the necessary files get created in the /bin-release folder. Here if i open the html file and click on the button nothing happens

  • An error occurred during translation of your HTML master page. For more information, please navigate to the master page by clicking the preview button in the Master Page Gallery or directly typing its URL

    I apply theme before singing all users into application ,now  visitor/member are not affected color text so we are reapplying themes 
    I am not able to reapplying SPColor /my site Host template "  An error occurred during translation of your HTML master page. For more information, please navigate to the master page by clicking the preview button in the Master Page Gallery
    or directly typing its URL" while applying theme i am getting error
     

    is it your public site/ community site or team site?
    what level of subscription you have?i would say try to delete the site and try to create a new.
    http://community.office365.com/en-us/forums/154/t/147705.aspx
    are you able to open the site in the sharepoint designer?
    or try to send them the private message to the support team.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Why do I have to click the go button after typing a URL? Before FF6 I could just hit enter.

    I just recently updated to Firefox 6. Before the update, I was able to type a address into the URL bar and hit return. Nice and easy. Now if I do this I get no response. To direct to a web page I have to move my cursor to click the go button. It's annoying and a waste of time. What happened here? Any way I can change things so I can just hit enter again?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    In Firefox 4+ you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Launching Splash Screen on the click of a button

    Situation: I have an application running, and when the user clicks a button on the main menu, a new dialog opens.
    Problem: This dialog takes awhile to load as it is retreiving information from the database etc ... hence I would like to launch a splash screen in one thread and the other dialog in a second thread.
    Following is the Splash Screen class:
    public class SplashScreen extends JWindow {
        public SplashScreen(int d) {
            duration = d;
            this.launchSplash();
        public void launchSplash() {
            JPanel content = (JPanel) getContentPane();
            content.setBackground(Color.white);
            // Set the window's bounds, centering the window
            int width = 350;
            int height = 255;
            Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();
            int x = (screen.width - width) / 2;
            int y = (screen.height - height) / 2;
            setBounds(x, y, width, height);
            // Build the splash screen
            JLabel label = new JLabel();
            label.setIcon(new ImageIcon(getClass().getResource("loading.gif")) );         
            label.setHorizontalAlignment(JLabel.CENTER);    
            content.add(label, BorderLayout.CENTER);          
            // Display it
            this.setVisible(true);
            // Wait a little while, maybe while loading resources
            try {
                Thread.sleep(duration);
            } catch (Exception e) {
            this.setVisible(false);
    //        System.exit(0);
    //    public static void main(String[] args) {
    //        // Throw a nice little title page up on the screen first
    //        SplashScreen splash = new SplashScreen(10000);
    //        // Normally, we'd call splash.launchSplash() and get on
    //        // with the program. But, since this is only a test...
    //        System.exit(0);
    //    }When I run this as a standalone, it works fine (i.e. uncomment the 'main' function). But when I try to call it from another function, it doesn't launch.
    Eg: I am calling it when a button has been clicked. Code is as follows:
        public void actionPerformed(ActionEvent e) {
         SplashScreen sd = new SplashScreen(10000);
         // Calling the dialog (that takes a long time to load) here
    }Would like to know whether
    [1] is it possible to launch a splash screen on the click of a button? As usually a splash screen is done at the beginning of an application before anything is loaded. In my case an application is already running, during which a splash screen needs to be launched.
    [2] Would using the new splashscreen class of Java 6.0 support this?
    [3] If not what is the best way to approach this problem
    Appreciate any input.
    Thanks,
    Edited by: mnr on Feb 20, 2008 9:47 AM

    Thanks Michael_Dunn, I see what you mean.
    I know this is not exactly as you suggested, but when I tried the following I got a partial solution. Just wanted to know whether I am on the right track.
    I wrote a small class for the thread
    public class cSplashScreenThread extends Thread {
        public volatile boolean finished = false;
        public cSplashScreenThread(){       
    // override run() method in interface
        public void run() {
           SplashScreen sd = new SplashScreen(10000);
        }This calls the SplashScreen(code encl in earlier post).
    In the main application I added the following
    public void actionPerformed(ActionEvent e) {
    // SPLASH SCREEN
    //                    SwingUtilities.invokeLater(new Runnable() {
    //                        public void run() {
                                cSplashScreenThread sd = new cSplashScreenThread();
                                sd.start();
                                sd.finished = true;
    // DIALOG
                        SwingUtilities.invokeLater(new Runnable() {
                            public void run() {
                          DialogToCall tempDialolog = new DialogToCall(.......);
                                tempDialolog .setVisible(true);
    :When I run this in the application, the SplashScreen does indeed appear(earlier I wasn't able to see the splashScreen), and I notice (when I put a breakpoint at the pt where it calls the dialog), that it is going and creating the dialog etc, but the dialog never appears ...... after the splash screen closes, nothing else happens!
    Could you please guide me on what best to do?
    Thanks,
    Edited by: mnr on Feb 21, 2008 11:19 AM

  • When i launch Bridge CC and make first click on any button, the program freezes.

    When i launch Bridge CC and make first click on any button, the program freezes. How to solve this problem?

    This error can be caused by the My Web Tattoo extension (application?) that shows as FBSMTWB in your user agent.<br />
    See http://help.fastbrowsersearch.com/
    You may need to reset the user agent after you have removed that program.
    See [[Web sites or add-ons incorrectly report incompatible browser]]

  • Hi everyone. I am trying to download ML on my iMac and when I click the download button, I am asked for my PW which I provide and then the ML icon launches in launchpad but nothing takes place. Have been trying for 2 days and this is driving me nuts. Help

    Hi everyone. I am trying to download ML on my iMac and when I click the download button, I am asked for my PW which I provide and then the ML icon launches in launchpad but nothing takes place. Have been trying for 2 days and this is driving me nuts. Help

    Yes it does and there is an indication that the software is downloading but after a few hours, it just stops without any error message. Everything simply disappears and I need to start over again. I have a superfast connection so it should no be this slow. Everything worked fine on my MBP and I am in the same place. Any ideas

  • Received sync verification email at my aol account, but when I click the verify button, nothing happens. I can't copy the url: aol won't let me. Now what?

    Just downloaded firefox for the first time. I'm stuck on the verify step of the sync process.
    I'm using aol desktop software on Windows 7. AOL won't let me copy the url behind the verify button to another browser, and it won't open the firefox accounts window when I click on verify (the tab opens, but the window stays blank....refresh does not help). I'm stuck.
    I do not use outlook on this computer.

    This is happening to me too. Every time I try to resend the verification email it does not work either. I am filing a bug.
    Bug 1004839 - AOL will not send verification email

  • Firefox 14 - How to have my start page launched when clicking on the 'new tab'-button?

    I want to my startpage (Google) launched with clicking on the + Tab at the top. However,I donot want another plug-in added.
    Can this be configured one way or the other?
    TIA
    =

    Hi tkpeters,
    Please see [https://support.mozilla.org/en-US/kb/removing-babylon-searchqu-or-mystart this]. Mystart & incredibar could also come bundled with another add-on, or another entirely different Windows application and the exact names may not be always obvious in Firefox '''Tools''' ('''Alt''' + '''T''') > '''Add-ons''', or the Windows OS '''Control Panel''' > '''Programs and features'''.
    You can also [https://support.mozilla.org/en-US/questions/new/desktop start a new thread] which would help to provide specific details relevant to your configuration/issue.

  • How to run a plan (once and only once) by clicking on a button ?

    Hi all,
    I've been using Oracle BAM 10.1.3.3 on a project and my customer is now asking for the following feature:
    He would like to manually launch a plan (once and only once) by clicking on a button of a web page.
    In my opinion a possible way of implementing this scenario is:
    create a new alert which "Event" set to "When this rule is launched" and Action set to "Run a Plan". In addition I should copy the alert URL and paste it on the page, anytime the final user clicks on that link the alert will be launched and the plan will be run.
    Is that correct? Otherwise could you please give an advice?
    Thanks a lot in advance for your help.
    BR Fabio

    Hello there!
    There are lots of online resources available at www.ni.com that will be able to help you, as well as the available resources in LabVIEW such as the LabVIEW Help and the Find Examples options under the Help tab.
    Obviously, none of these will do the whole project, but will be relevent for different parts of it.
    The link to the online LabVIEW manual is here and the part most relevant to yourslf when starting a block diagram is here.
    As a guideline, the examples are a very very useful guide on good-practice programming as well as problem solving and introducing you to the different functions available.
    Another very useful link is the NI Developer Zone, from where you will be able to access Tutorials on thousands of features.
    I hope this helps!
    Liam A.
    National Instruments
    Applications Engineer

Maybe you are looking for