When user clicks on button the document linked to this path must be display

hi sap masters,
i am developing a screen prog in which i have a requirment which is i have pushbutton called WEB.
When user clicks on button the document linked to this path must be displayed
ex :  www.google.com
how can i display can i have some info please.
thank you,
pasala.

Hi,
Kindly go through the below programs....
RSHTML01                       Demo for HTML Control: Use as general WWW browser
SAPHTML_R3HTTP_DEMO            Demo for HTML Control: Use as general WWW browser
SAPHTML_UI_DEMO                Demo for HTML Control: Use as general WWW browser
UPWB_HTML_DEBUG                Demo for HTML Control: Use as general WWW browser
Hope it helps.
Regards
Arbind

Similar Messages

  • Showing universal work list when user clicks a button in webdynpro java

    Hi,
    I am developing webdynpro java application, when user clicks a button i want to display Universal worklist in the portal, if user is logged in then it directly shows in portal otherwise it should asks for username and password.
    Thanks,
    Madhu

    Hi Pithre,
    For this you have to use portal navigation classes, Same scenario occurred in previous forums, search thoroughly before you post the question.
    Go to the below link, May u r problem will be solved.
    Universal Work List & Web Dynpro
    Regards,
    Pradeep

  • Invalidate session when user clicks back button

    I want to invalidate the session when user clicks back button, so that user cannot refresh and reload a page.
    Any suggestions will be highly appreciated.
    Message was edited by:
    sam_amc

    * SessionInvalidator.java
    * Created on October 27, 2006, 9:18 AM
    package web;
    import java.io.*;
    import java.net.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    * @author javious
    * @version
    public class SessionInvalidator extends HttpServlet {
        /** Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
         * @param request servlet request
         * @param response servlet response
        protected void processRequest(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            response.setContentType("text/html;charset=UTF-8");
            PrintWriter out = response.getWriter();
            String reposted = request.getParameter("reposted");
            if("true".equals(reposted))
                HttpSession session = request.getSession(false);
                if(session == null)
                    // This is step 4 and beyond
                    out.println("<html>");
                    out.println("<head>");
                    out.println("<title>Servlet SessionInvalidator</title>");
                    out.println("</head>");
                    out.println("<body>");
                    out.println("<h1>Servlet SessionInvalidator at " + request.getContextPath () + "</h1>");
                    out.println("I said, your session is now invalid! Now where are those Duke Dollars at?");
                    out.println("</body>");
                    out.println("</html>");
                else
                    Integer hitCount = (Integer)session.getAttribute("hitCount");
                    if(hitCount == null)
                        // This is step 2 (the "good" - "stay" page.)
                        out.println("<html>");
                        out.println("<head>");
                        out.println("<title>Servlet SessionInvalidator</title>");
                        out.println("</head>");
                        out.println("<body>");
                        out.println("<h1>Servlet SessionInvalidator at " + request.getContextPath () + "</h1>");
                        out.println("Your session is good.<br>");
                        out.println("If you click the browser's back button, you will invalidate your session.");
                        out.println("</body>");
                        out.println("</html>");
                        hitCount = 1;
                        session.setAttribute("hitCount", hitCount);
                    else
                        //We've used up our good visit
                        session.invalidate();
                        // This is step 3
                        out.println("<html>");
                        out.println("<head>");
                        out.println("<title>Servlet SessionInvalidator</title>");
                        out.println("</head>");
                        out.println("<body>");
                        out.println("<h1>Servlet SessionInvalidator at " + request.getContextPath () + "</h1>");
                        out.println("Your session is now invalid");
                        out.println("</body>");
                        out.println("</html>");
            else
                // because the javascript in the following output will never allow a user
                // to continue clicking back any further than this, we can safely create the session.
                // (or perhaps the session can already be created here and this may not be necessary).
                // A problem lies where if the user chooses to "select" a page back in history they thereby
                // potentially skip back "over" this functionality, thus defeating the purpose of it.
                request.getSession(true);
                // This is step 1 (indirection)
                out.println("<html>");
                out.println("<head>");
                out.println("<title>Servlet SessionInvalidator</title>");
                out.println("</head>");
                out.println("<body onload=\"document.getElementById('invalidatorForm').submit()\">");
                out.println("<h1>Servlet SessionInvalidator at " + request.getContextPath () + "</h1>");
                out.println("<form id=\"invalidatorForm\" action=\"SessionInvalidator\" method=\"POST\">");
                out.println("<input type=\"hidden\" name=\"reposted\" value=\"true\">");
                out.println("</form>");
                out.println("</body>");
                out.println("</html>");
            out.close();
        // <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
        /** Handles the HTTP <code>GET</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doGet(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            processRequest(request, response);
        /** Handles the HTTP <code>POST</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doPost(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            processRequest(request, response);
        /** Returns a short description of the servlet.
        public String getServletInfo() {
            return "Short description";
        // </editor-fold>
    }The problem with even attempting to do this is that with today's browser capabilities, users can optionally choose to jump to a particular page in the browser history and this may not necessarily be the most recent page. In this case, you would also want to invalidate the user's session after already having been there (whatever page that may be). Then you have situations when the user may wish to jump back in history to external pages they were visiting before they reached your own site's pages. Then what happens when they start clicking forward, forward, etc... from there? This is why I prefer writing Swing Clients as alternatives to browser applications. There are soo many possible ways break web applications made for standard web browsers both maliciously and simply by accident or irregular user patterns. Regardless, this servlet would work based on the assumption that all the user(s) would "ever" do aside from moving logically forward is clicking on the browser's "back" button.
    cheers!
    Message was edited by:
    javious

  • Weird thing about when user click Update button

    Hi,
    I got a very weird thing when i want to add some my code in button "1" on click event. I use below code to capture the on click event when user click "Update" button, so i can do some tasks(assign some fix value to a specific field). I found i can capture the event only once. Once the document is updated and i open second recordl then my code is never exexuted then. No error, no exception. Is anyone know what happen?
    Thanks,
    Lan

    Hi All,
    Yes, you are right. After i use try block, i can see the error. I thought I should be expected an red exception alert in the B1 info bar.
    Thank you !
    Lan

  • I inserted a HTML5 video in page, when I test it in a Browser, I see the poster image and controls, But when I click play button the video goes white, slider moves like its playing, but just white picture. There was no audio included in video. Please help

    I inserted a HTML5 video in page, when I test it in a Browser, I see the poster image and controls, But when I click play button the video goes white, slider moves like its playing, but just white picture. There was no audio included in video. Please help

    Without a link, it's anybody's guess.
    It could be a problem the video rendering itself.  Which software did you use?
    Did you export to the 3 file types -- MP4, OGG and WEBM to support all browsers?
    Does your web server support those 3 MIME file types?
    Nancy O.

  • How can we enable tick icon when user click any button

    how can we enable tick icon when user click any button in captivate 6@

    hi first of all thanks for imitate action.
    actually i want to make a menu (TOC) with tick icons, on starting all ticks are disabled but when i click on any button from my menu i want to enable tick for that particular button so that user can know easily the visited button.

  • When i click save button the data get cleared

    Hi All,
    I am using oracle Apps r12 and forms 10g.
    I have a form when the user enters the data and click save option the data get cleared in the form and asked the user to enter to reenter the data again.Can any pls tell me the reason behind this.I have commited the clear_block and clear_form in the coding. Again its coming.
    Regards
    Srikkanth

    Hi,
    I have used template fmb. When i click after save after entering the data for the first time the data got cleared,but when again when i enter the data and click save the data got inserted. Can you please give me some clue how to find this.
    thanks & Regards
    Srikkanth

  • When i click a button the webpage doesn't load... and sometimes the whole pages goes white and just shows words on the far left...

    idk if it is java or what, but every time i go to certain websites, like youtube.com they go blank and just show words, no images or nothing.. however i updated something and youtube works fine.. but now a website called roblox.com every time i hit the play button on a game, (it should load the game into a new window) doesn't do nothing when i click the icon.. to load it... can anyone help me with this problem?
    i have a windows 7 quad-core latest version of Firefox, so i have no idea, i think when i updated something it messed up the java source code.. or my Firefox got messed up... plz help?

    Hello,
    To protect against potential Java vulnerabilities, Firefox now asks you to activate Java by default, for each website you visit that uses Java. When you see an "Activate Java" message box, simply click it to load the Java content normally.
    [[Image:Fx24-JavaActivate]]
    If there is no visible area to activate Java content in the page, click the plugin icon in the address bar. In the message panel that opens, choose "Allow Now" to enable Java content temporarily.
    [[Image:Fx24-JavaAllowNow]]
    The next time you visit the site or any other that uses Java you will see this message again. If you want to always activate Java for a particular site, you can use the "Allow and Remember" option shown above.
    For more information about using Java in Firefox, see the articles [[How to allow Java on trusted sites]] and [[Use the Java plugin to view interactive content on websites]].
    '''Important:''' After activating Java, you may see a security prompt, asking you to confirm that you want to run Java, or you may see an "Application Blocked" message, depending on the website and your security settings in the [http://www.java.com/en/download/help/jcp_security.xml#control%20panel Java Control Panel]. These messages come from Java itself, not from Firefox.
    For help with Java security prompts and "Application Blocked" messages, see the Java Help pages [http://www.java.com/en/download/help/appsecuritydialogs.xml What should I do when I see a security prompt from Java?] and [http://www.java.com/en/download/help/java_blocked.xml Why are Java applications blocked by your security settings with the latest Java?]
    Does this solve your problem? Let us know.

  • Adding a textfield when user click a button

    Hi,
    I have a scenior where i am trying to allow users to enter different types of contact details (phone number, office number etc)and wanted a user to click on a button (add more contact details) then a drop down box and textfeild would show up to allow them to enter those details.
    How can this be done?? are there any alternative way of doing it??
    Thanks
    Venus

    There are several way to do this:
    http://htmldb.oracle.com/pls/otn/f?p=11933:5
    This page is showing a lot of javascript functions you may use to do what you want. However, the most simple way is to make the items hidden by default and to show them conditionally after pressing a button - the button would set a value of an item to whatever you want, submit the page and the the items would show up, allowing your user to enter additional data.
    Denes Kubicek

  • Old topic: Refresh when user click back button

    Yes yes, i know, this is old topic, which already discussed thoroughly in the forum,
    But, pls read my question....
    i try this:
    res.setHeader("Cache-Control", "no-cache");
    res.setHeader("Pragma", "no-cache");
    res.setDateHeader("max-age",0);
    res.setDateHeader("Expires",0);
    res.addHeader("Cache-Control", "no-store");
    However, when i forward to a page, then click back button to the previous page, which have the code above, however, the page is still the old one, the page was not reloaded from server
    Any suggestion? 1:57 am, my local time.......

    I just use:
    response.setHeader("Pragma","no-cache");
    response.setHeader("Cache-Control","no-store");
    response.setDateHeader("Expires",0);I have tried this, still the same...what can i do? Any more workable solution?

  • This month I downloaded the newest version of PAGES.  Now when I try to open the documents made with this program it says "You need a newer version of PAGES to open this document."  I go to the App Store and says it has downloaded.  What to do?

    This month I downloaded the newest version of PAGES.  The documents I have typed using this App will now not open and the message says-"You need a newer version of PAGES to open this document.  Could anyone help me with this please.  Thanks.

    You have 2 versions of Pages on your Mac.
    Pages 5.2.2 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5.2 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Older versions of Pages 5 can not open files from later versions of Pages 5.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud and opened in a newer version of Pages is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed over 110 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    You can add the icon of the missing Pages on your Dock or open Pages from the Apple menu > Recent Items list.
    Or you can archive Pages 5 so that it doesn't automatically open.
    If you are unhappy about this review/rate Pages 5 in the App Store.
    Peter

  • Authenticate when user clicks back button after logging out

    Hi All,
    Is there a way that the user can be forced to authenticate, if he has just logged out, and then clicks the back button.
    I have a situation where a user who is working on relatively sensitive data logs out (yeees they should close the browser and all, but they never obey instructions... ) and someone else can come around and click the back button, and see what what he had been working on.
    Is there a way to disable this behaviour, or otherwise force a reload/re-authentication.
    Thanks.

    Hi there,
    You can accomplish this by writing this code in each page of your application
    Write this in your html header:
    <script type="text/javascript">
    javascript:history.go(1);
    </script>and write this in Page HTML Body Attribute:
    onunload="javascript:history.go(1)";It will not allow your users to go back.
    Thanks
    Tauceef

  • Okay so I bought a song called Harlem by New Politics today off ITunes but when I clicked to play the song it said 'This computer is not authorised to play "Harlem".' So, I authorise it and I still can't play it! And no, it won't play on my IPod.

    It comes up with this thing after authorisation, 'This computer is already authorised. Including this one, you have authorised 2 computers out of your available 5.' This is ******* me off. I want to play the music I freaking payed for.

    Actually don't ******* worry about it. I DOWNLOADED IT ILLEGALLY YOU *****.

  • Problem report only print out when i click back button

    hi all..i having problem with my report print program. the problem is my report did not immediately print out when i click print button. the program require me to click back button before print out execute. please help me to solve this problem. Thank you.
    Edited by: padile on Jan 7, 2010 3:51 AM

    Hi,
    In your program, mention the following:
    DATA: gs_out_opt TYPE ssfcompop.
    gs_out_opt-tdimmed = 'X'           "Print immediately
    CALL FUNCTION lv_fname         "Smartform FM
          EXPORTING
            output_options     = gs_out_opt  
    Regards,
    Dawood.

  • How to catch data from Purchase Order form, when user click CLOSE menu?

    Hi,
    I need do my own biz process when user click CLOSE in the Data menu to close a purchase order.
    But I don't know how to get data from PO form which opened by user.
    Can anybody give me some suggestions? thanks.

    Clicking "Close" is menuUID 1286. (Check this by going to View->System Information, and then hovering your mouse over "Close" in the menu. The menuUID is displayed in the bottom left of the screen)
    So catch the menu event, when menuUID and pVal.BeforeAction = True.
    The slightly tricky thing here is that pVal for a menu event doesn't give you the form, but it will be the active form, so you can do this:
    Private Sub SBO_Application_MenuEvent(pVal As SAPbouiCOM.IMenuEvent, BubbleEvent As Boolean)
         If(pVal.BeforeAction And pVal.menuUID = "1286")
             SAPbouiCOM.Form oForm = SBO_Applcation.Forms.ActiveForm
             //Now you have the form, when the user has clicked close, so process the data
             //from the form as normal
         End If
    End Sub
    Syntax might be wrong, I typed it up from memory and have no error checker!
    Edited by: njmog1 on Feb 28, 2011 10:35 AM

Maybe you are looking for

  • Stream content from iTunes to AppleTV and Airport Express

    I have an Apple TV in family room which is wirelessly connected to my home network. I also have a PC connected via Ethernet to my network. All my music is stored on an external drive connected to my PC (I don't store any media on the ATV, as my music

  • I can't email pdf's from Adobe professional 11.0.5 using default mail client Microsoft Outlook 2013 32 bit

    I am using Adobe Professional v 11.0.5 and have moved from Microsoft Outlook 2010 to 2013 now I am unable to e-mail pdfs directly to local configured mail client. As a work around I have to save file to desktop and place as an attachment in newly com

  • LOV for an unbound input field in ADF-JSP

    Hi i have a web app using ADF BC, struts , JSP. Jdev - 10.1.2 JHS - 10.1.2 I have a text field <input type="text" value="solution"> I need to populate this UNBOUND input field with a value from an LOV which pops up in a separate window. I need help r

  • Idoc errors

    Ever since the implementation of the release procedure, a non-reproducible error sporadically occurred in IDOCs from type ORDERS. However, we are not sure that this procedure is the reason for the error. Error: The WE is missing at the item level. (A

  • Zen micro media explo

    i got the new firmware for my zen micro 5 gb. since then zen micro media explorer wont work so i'v had to use the Creative MediaSource Organizer and i dont like it. Is there a way for me to update Zen Micro Media Explorer so i can organize my player