Give alert message

Hi all,
I have WD table with the list of records to update or create a new record. I have updated the record but I did not save that record, in this case I want to display an alert message if I select an another record to change or if I open another component or if I close the window. 
Regards

Hi,
   You can do something similar to WorkProtect Mode. Go through <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/88/585d420447e054e10000000a155106/frameset.htm">this</a>.
   You can set the <i>"setApplicationDirty"</i> property to true as soon as some record is in the modify mode and set the property to false as soon as it is saved. Now when switching to modify mode for a record, you can check this property and if it is true, throw a pop-up.
Regards,
Satyajit.

Similar Messages

  • Access Denied error message... I want to give alert message

    I have Manager service in my portal page. But I don't have the content access from the back end system.
    In the portal log viewer it is saying the Access Denied info. So i am getting the below error message in the portal page.
    Instead of giving this error message I want to give a alert message like "You are not authorised to view this page...so please contact your Administrator"...
    I want to know how to do this. can anyone help me on this
    An exception occurred while processing a request for :
    iView : pcd:portal_content/com.XYZ.roles.XYZ_Roles/com.XYZ.roles.Human_Resources/com.XYZ.roles.Manager/com.XYZ.hr.wks.se.
    Manager_Services/com.XYZ.hr.wks.cl.Overview_MSS/com.XYZ.hr.wks.cl.Compensation_Management/com.XYZ.hr.wks.up.Position_Change_Process/com.XYZ.hr.pag.ac.Select_Team_Member_
    and_Form_Pos_Chg/XYZTeamViewerTransfer
    Component Name : com.XYZ.hr.pcr.transfer.XYZTeamViewerTransfer.XYZTeamViewerTransfer
    The exception was logged. Inform your system administrator..
    Exception id: 08:46_17/07/07_0505_24366050
    See the details for the exception ID in the log file
    Portal log**********
    #1.5#000BCD4305DF0043000019C80000290400043574F8F3FA51#1184676416089#com.sap.security.core.util#sap.com/irj#com.sap.security.core.util.
    [cf=com.sap.security.core.util.SecurityAudit][md=log(...)][cl=12778]#Guest#192####cd0d7490346311dc931d000bcd4305df#SAPEngine_Application_Thread[impl:3]
    _24##0#0#Info##Plain###ObjectID handed over is 'null'!#
    #1.5#000BCD4305DF0043000019CA0000290400043574F8F3FC42#1184676416089#com.sap.security.core.util.SecurityAudit#sap.com/irj
    #com.sap.security.core.util.SecurityAudit#Guest#192####cd0d7490346311dc931d000bcd4305df#SAPEngine_Application_Thread[impl:3]
    _24##0#0#Warning#1#/System/Security/Audit#Plain###Guest | LOGIN.ERROR | NONE = null | | Login Method=[default], UserID=[null], IP Address=[168.133.7.3], Reason=[Access Denied.]#
    #1.5#000BCD4305DF0043000019CC0000290400043574F8F4A4CF#1184676416136#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#Guest#192
    ####cd0d7490346311dc931d000bcd4305df#SAPEngine_Application_Thread[impl:3]_24##0#0#Error#1#/System/Server#Java###Exception ID:08:46_17/07/07_0506_24366050
    [EXCEPTION]
    #1#com.sapportals.portal.prt.runtime.PortalRuntimeException: <b>Access is denied:
    com.sap.portal.heartbeats.PortalHeartbeat - user: Guest
    at
    com.sapportals.portal.prt.deployment.DeploymentManager.checkPermissions(DeploymentManager.java:2005)</b>at
    com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:247)
    at
    com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:312)
    at
    com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:385)
    at
    com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:435)
    at
    com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)
    at
    com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at
    com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
    at java.security.AccessController.doPrivileged(Native Method)
    at
    com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service
    (HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
    at
    com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
    Caused by: com.sapportals.portal.pcd.gl.PermissionControlException: <b>Access denied</b> (Object:
    com.sap.portal.system/security/sap.com/NetWeaver.Portal/high_safety/com.sap.portal.heartbeats/components/PortalHeartbeat)
    at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterContext.java:416)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1095)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1101)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1101)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1101)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1101)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1101)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1101)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1101)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookupLink(PcdProxyContext.java:1197)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookup(PcdProxyContext.java:1144)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.java:918)
    at com.sapportals.portal.pcd.gl.PcdGlContext.lookup(PcdGlContext.java:68)
    at com.sapportals.portal.pcd.gl.PcdURLContext.lookup(PcdURLContext.java:238)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at com.sapportals.portal.prt.deployment.DeploymentManager.checkPermissions(DeploymentManager.java:2000)

    Kindly post how u did it. It will be helpful for others.
    Thanks in advance.
    Pradeep.

  • Cash account with nagative balance shows an alert message

    Hi All,
    when user  create  any type of  Outgoing Payment , Incoming Payment, deposits , Journal Entry with the Cash account which is active accounts and the account balance is less than ZERO so system gives an alert message  on the screen I want this type any query or any store procedure.

    Hi ,
    As far as i  am understanding your query this may be for outgoing payment.
    Do you want to stop a outgoing payment from cash account? if balance in this account is zero.
    Clerify your question.
    Thanks
    Ashutosh

  • Query to populate an alert message to avoid the duplication of Reference no

    Hi Experts,
    SUB:Query to populate an alert message to avoid the duplication of BP reference no.
    In A/R invoice, BP reference (numAtcard) is used to enter sales Order no as the reference number. As human error, double A/R invoice is created to that particular Sales Order no.
    So,I want a formatted search query in that BP reference field, so that when i type the sales order number and give tab, it should populate the alert message if it already exists.
    Moreover i do not want to block it through store procedure method, only warning is required to my scenario.
    Kindly, help me on this ground.
    Regards,
    Dwarak

    Hi there, i think this could work, maybe you'll only need to configure the Formated search to work with the document total, each time it changes
    declare @numatcard varchar(15)
    declare @count int
    set @numatcard=(select $[oinv.numatcard])
    set @count= (select count(numatcard) from oinv where numatcard=@numatcard)
    if @count>1
    select 'There is a duplicated reference'
    select @numatcard
    hope it works

  • Need alert message when closing the file

    Hi friends,
    One of my friend has an forgetting habit, always forgets some important things to check before delivering the files. So thought of developing some scripts for him and did a couple. He was happy with that but still not upto the mark. The scripts I gave needs to click in the scripts panel. He still forgets to click the scripts in the rushing deadlines. This time I am thinking of something but I have no solution/answer. I'm planning to give an alert message box whenever he closes/exits the file. That is when he is done with the job and he says Ctrl+W or File-Close or Exit, he should see an alert message to check some things which are really imporatant. Writing scripts needs to click them, which he is missing in rush deadlines.
    So can we create anyscript which is attached to the system close command? or Edit the default system close command so that he will not miss anything? I know this is crazy but just want to help him.
    Your help is really appreciable!!

    in CS3 you can use Event Listener
    and example of AfterSave
    http://www.adobeforums.com/webx?128@@.59b4b8e6
    robin
    www.adobescripts.com

  • Alert message(Query) for a Production order?

    Hi Experts,
    I want to get an alert message for the production order doucument based on the due date of it. The user must get the alert a  one day before the duedate of the document. How to write the Query for it? Urgent ,waiting for earliest reply.
    Regards ,
    Magesh.

    Create a Formatted Seach with the following Query
    SELECT T0.DocNum AS 'Document Number', T0.CreateDate AS 'Creation Date', T0.DueDate AS 'Due Date'
    FROM  [dbo].[OWOR] T0  WHERE DATEDIFF(Day,GetDate(),T0.DueDate) = 1
    Then, Create an Alert from Adminis..> Alerts Management and Give a Name, Click Open Saved Query, Select the query you saved, Tick the Int. check box against the user who gets the Alert.  Check Active. Select Frequency.
    Good luck
    Suda

  • Re:  Reference field to change red alert message. How?

    Hi FICO Consultant,
    We are using T-Code:  FBL1N, using our com code and execute the report.  In this report, we have used the reference field for company purpose key in the same reference no.: (EX:  789100).  The same number appeared again on the screen (Reference No.).  That time red alert message appeared on the screen or an existing same reference in this field.  Any body gives the idea to me in FICO.
    We expect the reply from you. 
    Thank you,
    Regards,
    Krishnan.

    The icons are a function of the Alert style: that can only be changed in the property palette. I'don't believe there is any way of substituting your own icons for the Oracle ones short of overwriting the Oracle supplied files with graphics of your own. However, we can set the Alert Title and Message Text programmatically with the SET_ALERT_PROPERTY built-in.
    Cheers, APC

  • Regarding the alert Message when i try to close the window

    Hi All,
    I am trying to give the alert message when the user tries to close the window.
    For this i have coded a jsp in which i have written
    <html>
    <head>Test in the Page Ajay</head>
    <body onUnload="alert('Test UnLoad')">
    </body>
    </html>
    and in the portalapp.xml i have given as jspnative.
    then if i try to unload the page the alert message is not executing.
    Plz help me out in this.
    Thanks
    Ajay

    Delete the iPod photo cache, as described here:
    http://support.apple.com/kb/ts1314

  • Jabber server New alert message

    I have been using a jabber server to access my MSN account and it has worked pretty good for several months. only issues, is sometimes it shuts off with no warning or once a got an alert message in another language. when i replied in english, there was no return message, and then the server kicked me off and went off line for a while.
    This morning i logged in to my iChat and started getting a message from the server (msn.netlab.cz). the messages read: "Your MSN account has been logged in elsewhere. Please logout at the other location and then reactivate the MSN transport." This message keeps coming up every 3 or 5 minutes.
    no i know i am not logged in anywhere else, but i shut it off on iChat and logged into MSN messenger anyways. i could log in with no problems, so i assume i am not logged in.
    Has anyone heard of this message coming up as a false error or is it possible someone is logged in under my msn account? I do not give out passwords so i don't see how.

    Hi GIlbert,
    I haven't heard of that message before, but you're right, that would be annoying happening so often! It is possible that someone hacked into your MSN account by guessing the password (which it never hurts to change a password every so often just in case). I'm not saying that's exactly what happened though.
    The other situation could be that you logged on via another IP address somehow (through an open wireless connection?) and never properly closed out the connection. So the server would still see you online, even though you're really not.
    There are a few Google results on the subject though. Maybe this thread will help you out or shed some light on the issue?
    Good luck!
    -Ryan

  • Dynamic alert messages in BPM control step not getting created

    Hi All,
    in transaction ALRTCATDEF, i have specified dynamic text for my alert category...........
    in my BPM there are 3 control steps.....and i am using this alert category in all of my BPM 3 control steps..... but the alert messages in my 3 control steps are different.........But these alert messages(which i am giving in BPM) is not coming in the alert mail in alert inbox but it gives the common message in long text(which i gave in long text while defining the alert category)......
    <b>So can anybody suggest me why my BPM alert message is not coming in the alert generated by BPM control step in the alert inbox of runtime workbench.</b>
    Thanks,
    Rajeev Gupta

    Hi Rajeev,
    Please check if you have done the following steps:-
    check the dynamic text box available in alrtcatdef transaction, while creating the alert.
    In the bpm, create a variable of simple type in a container
    Included the container operation and the control step.
    For the container operation - give the right simple type variable container
    For the control step, specify the correct alert category (this should be the one for which the dynamic text is enabled)
    The alert message that you specify here should have text which will be seen when the alert raised
    *To capture the dynamic alert in the alert message, which is caught by the container step in the bpm....you will have to give the name of the simple type variable
    between two ampersands(&).
    "But these alert messages(which i am giving in BPM) is not coming in the alert mail in alert inbox but it gives the common message in long text(which i gave in long text while defining the alert category)......"
    On checking the dynamic text option in the alert category defined, you will not have the option of giving a message in the long text. So, there is no way that the long text can be seen - 'cuz you are not defining it in the first place! Hence, either you have given the wrong alert category in the bpm or have not cheked the dynamic text option.
    Regards,
    Sushumna

  • Regarding Forms6i Alert Messages..!

    Hi,
    When i am trying to go to Enter Query Mode in my form..i.e when i am pressing
    F7.. i am getting an Alert message
    Do you want to save the changes..?
    How can i suppress this message..!
    Thanks & regards
    ravi.

    that's an important message. This message is displayed, because the form want to clear the block and clear all the data of the actual block. In the case, that unsaved changes are in the block you get the message.
    You can use the KEY-ENTQRY for example. There you can force a commit or rollback before you start the "enter_query;". But I think, that the default-behaviour is quite the best way the form gives to you.

  • Owb process execution and alert message

    Hi,
    Do we have any provision to give an alert message in OWB during or before starting execution a process? If any please let me know.
    Thanks
    Ram

    HI,
    There is no such option as of now.
    You can maintain your own audit tables and you can register the messages of your processing. Whenever you start process or end process, you can log a record in ur defiend audit tables.
    If you want to implement in mappings, you can use premap and postmap operators to log the details.
    Regards,
    Gowtham.

  • Hello, i have one issue when i hit back button of F Fox than it will show me " Document Expired " alert message.. i need to avoid this alert.

    Hello, i have one issue when i hit back button of F Fox than it will show me " Document Expired " alert message.. i need to avoid this alert.
    because my site is based on ajax so i need same page with my all activity i perform before i go next page when i hit back button..
    Please give me solutions of this problem if possible.
    Thank you

    Are you sending HTTP response headers that instruct Firefox not to cache the pages?
    You can get a "document expired" message if you use the back button to return to a specific page and the web site has instructed Firefox not to cache the page.<br />
    Firefox tries to retrieve the page from the server, possibly by sending POST data.

  • HT1386 I have iphone 4, and couldn't update to ios7.1.1 even though its downloaded, gives error message as not connected to internet, even though am connected

    I have iphone 4, and couldn't update to ios7.1.1 even though its downloaded, gives error message
    Unable to verify update
    ios 7.1.1 failed verification because you are no longer connected to the internet
    Close          Try again
    Event though I am connected to the net
    Tried repeatedly but frustrating. Am able to do the same in another iphone 4 which my brother has....Do not know what setting to change. Even cant update via itunes

    Hi GajaPsy,
    If you are getting errors or alert messages when you try to update your iPhone, you may find the troubleshooting steps outlined in the following article helpful:
    Apple Support: Resolve iOS update and restore errors in iTunes
    http://support.apple.com/kb/ts1275
    Regards,
    - Brenden

  • Error Message 006 Failed to send Alert message

    Hi all,
    In IC web client (CRM5.0) , in the browser showing an error message
    'Failed to send alert message to browser (Message Class CRM_IC_ALERT - message number 006).
    Please give me a solution to rectify it.
    Thanks

    Hi, Andrei!
    Seems that it's help! I set security settings to default in both browser and Alerts began to work.
    Thanks!
    Best regards,
    Anton

Maybe you are looking for