How to popup message window after logon?

Is it possible to popup a message window after ERP user log on?

Jerry,
This is very extensive, but you can always use WHEN-NEW-FORM-INSTANCE event with out any form to inform users. But it can get annoying without this lenghy explanation. It depends on how long you wait before you take down the server after you announce.
It is not the perfect way of doing it, but will work (in forms only when a
new form is opened, not in JSPs).
1. Create a table with some columns like instance_id, maintenance date and
contact details just in case they want to call you, and a flag that
represents the status (in process, completed so on)
2. Create a simple workflow process with three nodes in that.
3. Whenever you want bring the server down, just create a process for this
workflow process (WF_ENGINE.create_process). This will insert row into this
table first time.
4. Next step in the process can update the status to Completed after say, 1
min (assuming users take at least a min to finish any transaction in one
form)
5. Have a timeout in the same workflow that will wait for 5 mins and inserts
one more row similar to the first third step.
6. Write a small piece of code in custom.pll in WHEN-NEW-FORM-INSTANCE which
is not form specific. Which means whenever a new form is opened up this
message will appear. This code reads this table and looks at the status
(till it is completed) to pop up a message whenever they open a new form.
Inactive users, I assume you do not care.
7. You can check in the workflow how many times you want to insert a row
into the table and send a pop up message (select instance_Id,count(*) from
dummy where count(*)=5 if you want five tries).After five tries you can
complete the workflow.
Thanks
Nagamohan

Similar Messages

  • Hyperlink on Crystal Report: how to popup a window without menubar?

    Hyperlink on Crystal Report: how to popup a window without menubar?
    Hello Experts!
    I'm using VS2003 with Crystal Reports for VS2003.
    I need to show a popup window clicking a hyperlink text object on my crystal report.
    On the CrystalReportViewer I have set up HyperlinkTarget=_blank, and it's working fine.
    But when I click on the hyperlink and shows the popup window, how can I show the popup window without menubar, toolbar, directories, etc.
    Something like:
    window.open('../MyPage.html?id=id001" + Cad + "',null,'menubar=no,scrollbars=yes,toolbar=no,location=no,directories=no,resizable=yes,status=yes')

    Adam is correct. The closest you can get is setting the CrystalReportViewers HyperlinkTarget to _blank. It was seen as a potential security vulnerability to allow you to run scripts from a Crystal Reports. In our Enterprise product you can use a reg key called EncodeHTMLForSingleLineFieldObjects to control whether this can be turned on or off.
    Unfortunately this was never ported over to our .NET CrystalReportViewer.
    This is referenced in notes 1202803, 1219298, and 1219301.
    https://www.sdn.sap.com/irj/sdn/businessobjects-notes
    Edited by: David Hilton on Jul 16, 2008 4:17 PM

  • A popup message in between logon screen and easyaccess

    hai
    i want to show a popup message displaying
    a message which must be again in the logon language
    choosen and that popup message should appear immediately
    in between the logon screen and the sap easy access screen
    i tried, as suggested by sridhar,Alejandro López,Rich Heilman,
    by writing simple message for the logon language 'EN' but the ehancement SUSR0001 is not triggering  and in the include i added some message type.
    can u please check and send me how to execute it
    please give me reply as early as possible.
    regards
    kiran

    Hi Kiran,
    Go to enhancement SUSR0001 ... then go to Components...
    Double Click on EXIT_SAPLSUSF_001 ....Double Click on ZXUSRU01....
    Be Careful. sy-langu will be E, so add this code in the end.
    IF SY-LANGU = 'E'.
        MESSAGE ' YOU HAVE LOGGED IN ENGLISH' TYPE 'I'.
    ENDIF.

  • Forms10g+JRE: minimize IE window after logon

    Dear professionals,
    is there anyway to programmatically minimize internet explorer (or firefox) window after user logon to application (except manually, of course :) )? We use JRE instead Jinitiator and property separate_window=true. Since users sometimes accidentally close opened IE windows, so they close application - i would like to minimize such possibility.
    Thanks in advance,
    Adnan

    Basically there are the
    htmlBeforeFormand
    htmlAfterFormParameters in the formsweb.cfg where you can add additional html and also JavaScript. Just search on google how to minimize a window via JavaScript and put it in the htmlAfterForm
    This will minimize the Browser window when loading your forms appliction. If you want to perform javascript on certain events (e.g. in a WHEN-BUTTON-PRESSED Trigger) you can do this with
    web.show_documentjust search the forum here on JavaScript and take a look. I'm sure you'll find a starting point. Of course if you are having troubles or something is not clear to you do not hesitate to ask :)
    cheers
    P.S.: As JavaScript implementations differ between browsers I can guarantee you headaches; what workes in IExplorer won't work in Firefox and vice versa; if you are having troubles with this please add full browser versions as well as this definitely matters in this case.

  • How to close browser window after flushing a file to the browser?

    I have this simple JSP, which flushes a String to the browser as a file (message.txt). The JSP gets opened in a new window when the user clicks a link.
    The problem is that after the JSP has run, the browser window won't close automatically. I've tried adding a small javascript to achieve this, but i doesn't seem to even get run.
    How can I close the browser window after the JSP has run?
    <%
         String someText = "bla bla bla";
         // Flush to browser
         response.setContentType("text/plain");
         response.setHeader("Content-Disposition", "attachment;filename=message.txt");
         try {
              ServletOutputStream os = response.getOutputStream();
              os.write(someText.getBytes());
              os.flush();
              os.close();
         } catch (IOException e) {
              return;
         } catch (Exception e) {
              return;
    %>
    <script type="text/javascript">
         window.close();
    </script>After the JSP has run, an empty html page with the following source can be seen:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
    <BODY></BODY></HTML>

    Try run this and you'll see that it runs fine with no exceptions:
    <%
         String someText = "bla bla bla";
         response.setContentType("text/plain");
         response.setHeader("Content-Disposition", "attachment;filename=message.txt");
         try {
              ServletOutputStream os = response.getOutputStream();
              os.write(someText.getBytes());
              os.flush();
              os.close();
         } catch (Exception e) {
              out.println("ERROR: " + e);
    %>It looks like that after I've closed the outputStream I can't do any more processing in the JSP. Even if I remove the setContentType and setHeader methods it still behaves this way.
    I'm starting to think that there's no way around this...??

  • Simple PopUp Close Window after Saving

    Greetings,
    (I did some seaching on the forum and didn't find a solution.)
    I have a PopUp window (called with the popUp2() function) which I would like to have close when a person clicks the save button in the PopUp, therefore only showing the main page.
    (I have an application that the user can enter general comments in. They want a window to pop up for the entry of their comment(s) and close after they enter and save them. Automatically 'returning' to the main page they were on. When they click the Save button it simply saves their comments into a comment table that is associated with the main tables of the application.)
    How is it best to close the PopUp window in the scenario I described? A DML process is saving the changes. I assume that's a server process, so javascript to close the window won't work there. I was gonna add a branch to close the window, but branches are server side too.
    Not sure how to best go about closing the window after table changes are saved. I bet it's something simple, but I'm not seeing it. :-)
    Thanks, Tony

    Hi Monica,
    Since the form is not submitting to the database try the other option I gave you.
    Remove the javascript from the SAVE button, set the Target to -No Target -.
    I assume you're using an Automatic Row Processing (DML) that saves the data to the database?
    If so, after that process, create a PL/SQL process using the following:
    BEGIN
    -- Redirects the calling (parent page) then closes this popup window.
    htp.p('<body>');
    htp.p('<script type="text/javascript">');
    htp.p('window.close(this);');
    htp.p('window.opener.location.href="f?p=&APP_ID.:24:&SESSION.";');
    htp.p('</script>');
    htp.p('</body>');
    END;
    Under the Conditional Processing for this process, select the 'SAVE' button (When Button Pressed).
    Remove any branches you have on the pop up page (assuming you have a branch that takes you to page 24).
    When you click the SAVE button, the DML process will run, saving the data to the database. Then the second process you just created will run which will close the pop up window, then reload the 'parent' page.
    T

  • How to close browser window after user log out

    Hi,
    Does anyone know how I can close browser window after user logs out. The scenario is when user clicks a log out button I will invalidate user session and close the browser right away in the backing bean.
    Your help would be appreciated.

    Try run this and you'll see that it runs fine with no exceptions:
    <%
         String someText = "bla bla bla";
         response.setContentType("text/plain");
         response.setHeader("Content-Disposition", "attachment;filename=message.txt");
         try {
              ServletOutputStream os = response.getOutputStream();
              os.write(someText.getBytes());
              os.flush();
              os.close();
         } catch (Exception e) {
              out.println("ERROR: " + e);
    %>It looks like that after I've closed the outputStream I can't do any more processing in the JSP. Even if I remove the setContentType and setHeader methods it still behaves this way.
    I'm starting to think that there's no way around this...??

  • Multi Mapping : How to get Message count after splitting

    Hi all,
    I am following below blog.
    /people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
    Can any body please tell me how to get the count of messages generated after splitting in the message mapping.. I have created the message data type but not aware what is needed to be done.
    Thanks and best regards,
    Kulwant Singh

    Multi mappings r done in order to split the messages to the number of messages required by the user. So for 1:N mapping, the details about "N" is based on ur requirement. So its not like - when u split, any number of message could get created. The count would be dependent on u.
    Regards,
    Prateek

  • How do I expand Windows after already installing Boot Camp

    How do I expand my Windows after already installing Boot Camp?  I'm almost out of space.

    Buy a copy of CampTune and use it.

  • Throw a popup message just after pressing SAVE button?

    Hello
    I want to throw a message IMMEDIATELY after clicking the SAVE button by user, so, i put JS as below in the Pre-Save event of the form, but its not working, directly am getting the file-download manager dialog box, pls. let me know how to achieve my requirement?
    app.alert ("Pls. dont forward this file after saving on your local machine, its against norms")
    Thank you

    Try
    below script on  javaScript and PreSave event of the form
    xfa.event.cancelAction = 1;
    xfa.host.messageBox("Pls. dont forward......");
    Regards,
    Jay

  • Popup message - Windows Installer tries to Install SolutionCenter.msi, but unable to find it.

    The message is from Windows Installer and says Please wait while the windows installer tries to install SolutionCenter.msi.
    But then it says it cannot find the file.  I cannot get rid of the message and don't know what to do.  It is hard to even get out of the popup message.

    HI MarcyS,
    What kind of printer do you have ?
    What operating system are you using ? 
    If I helped you at all it would be great if you clicked the blue kudos star!
    If I solved your post please mark it as solved to help others.
    I'm a printer tech with HP.

  • Need to Open a popup window after logon to EP 6.0

    Hi All,
    I need to do an enhancement in the portal logon for a particular role.
    I want to open a popup showing his/her profile details after login into the system.
    How it can be done?
    Thanks in anticipation
    Prashil

    Hi Robin,
    Thanks for the immediate reply!!!!
    I am confused with the loggin process.
    I read many blogs from SDN. Somewhere it is said that i should customize the com.sap.portal.runtime.logon.par. While in some it mention that it should be configured it from the portal. Somewhere it is mentioned in both(par and portal).
    Which is the correct way. i am good at programming but not very clear with the portal customization.
    Can you help me in this!!!
    Regards,
    Prashil

  • URL links provided in emails (Windows Mail) stopped working. I get a popup message: "Windows cannot find...." asking me to make the URL is correct. I connect to Internet Explorer, but not Firefox, my default browser.

    I have already updated Firefox to latest version and reset the default mail program to Windows Mail. But Windows Mail now doesn't want to recognize Firefox. If I shift to Internet Explorer, I have no problem. I have no problem receiving or sending emails, just using links contained in them.
    This happened suddenly, two days ago, at the end of a day when linking had been possible, per usual.

    nothing that I could find would solve my problem, so I just gave up trying...
    then I had a group of Microsoft Updates badly interact with each other, causing me all kinds of stability problems involving SQL and printer drivers.
    To fix those issues, I backed out all updates within the prior two months, then [slowly and painfully!] reinstalled them -- when done in groups, you can tell how Microsoft corrects bad updates by noting which ones are not reinstalled.
    I also had to download and install every single MS SQL update available before everything that was broken worked again. Note that none of the updates had titles that suggested anything at all to do with web browsing (other than Internet Explorer) or Firefox.
    There was also at least one Firefox update shortly after my re-installation of Windows Updates.
    Funny thing happened along that path: as of today (version 32.0.1) has none of the problems I reported, but I cannot say for certain which change fixed them: I was far more concerned fixing SQL and printer issues to even test Firefox for default file association settings.
    Sorry that I cannot be more useful, other than the general suggestions to:
    (1) keep your system fully updated with all patches
    (2) keep your anti-virus, anti-malware, and anti-spybot software current as well
    (3) keep any program that uses HTML and other browser protocols also up to date
    (4) take regular snapshots of your registry, and create a system restore point before every system and software update, so you can more easily back out problems
    (5) keep the installation package(s) for prior version(s) of software (and Windows Update files) at least until you verify an update hasn't broken anything.
    Hope that helps.
    --Richard

  • How to restore Firefox windows after the restore has already been done?

    System:
    Firefox 3.6.16
    Windows Vista Business 64-bit
    Service Pack 2
    Core2 Extreme Q9300 4 x 2.53 GHz
    8 GB RAM
    I had 187 Firefox windows open when Firefox crashed. I had restore on. When the window that asks which windows I want to restore appeared, I deselected a few pages that I thought might be causing problems. I've never done this before (choose not restore all the windows that were open) and Firefox has always managed to restore all my windows. But having chosen 3 out of 187 not to open, Firefox only opened 30. The rest seem to be lost. In principle I should be able to find them in my history, but I visit hundreds of pages per day and only keep open a couple until the next day. My open Firefox windows to some extent constitute my to-do list, and some have been open for months. Stupidly, I had not backed up this to-do list (with for example screen captures) and I would really like to get it back. I am not afraid of a little hacking. Is there anything I can do?
    [And by the way, this is not really related to the above problem: after a while it often becomes impossible to actually open some of the Firefox windows that I have open. I probably average around 80, but range from 15 or so 150 usually. [I try to close them as I work through them with some success, so that the numbers don't just keep on increasing.] But this is not so much a problem because when click on Firefox in the task bar, I still get to see the titles of the webpages I am on and I can easily relocate them if I can't open a particular page. Yes, I do realise that the real solution to my problems would be to have less windows open, but that ill suits the way I work.]

    Hi Tejasav,
    For assistance with this issue please see the following link which should help you out;
    https://service.sap.com/sap/support/notes/1292374
    Best of luck,
    Derrick Hurley
    ABAP Development Workbench
    SAP

  • How do you close windows after loading ios7

    How do you close apps/windows in ios7?

    Try closing all apps in Multitask Window
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe up on the screenshot of the app you want to exit.
    3. The app will fly off the screen

Maybe you are looking for