Warning message to users before auto-logoff
Our Basis folks have set up auto logout after a certain amount of user inactivity.
The users have requested a warning message 10, and then 5 minutes before they are logged off due to inactivity. Our Basis person says this would have to be done in ABAP. Is this true?. If it is, how would I do it in ABAP? Is there a table that shows active/inactive time by user? Thanks.
OK - so they get a popup ten minutes before logoff; if they respond to it, the clock is reset and they don't get logged off; otherwise, another popup at five minutes; if they don't respond they get logged off. Is that about correct?
Rob
Similar Messages
-
How can i display warning messages in user exit EXIT_SAPLMGMU_001 (MM02)
Hi all,
while modifying the material master using MM02, i have added new conditions to display messages in user exit EXIT_SPALMGMU_001.
But using this user exit i am not able to display warning messages.
Can you please help me with this?
Sample code which i have included in exit :
SELECT SINGLE mstav FROM mara
INTO w_mstav
WHERE matnr = wmara-matnr.
IF wmara-mstav NE w_mstav.
IF wmara-mstdv NE sy-datum.
wmara-mstdv = sy-datum.
MESSAGE w177(z03_mm) WITH text-s04 text-s21.
ENDIF.
ENDIF.
Thank you all in advance.As written in the SAP documentation of the Enhancement , you can only raise error message using a
MESSAGE .. RAISING APPLICATION_ERROR.
You could manage the "warning" yourself, sending an error first time and keeping a trace of the check in some STATICS variable, and not raising the error again if data input remains unchanged between two call of the include.
<i>----
EXIT_SAPLMGMU_001
Where Is the Customer Exit - EXIT_SAPLMGMU_001 called?
The customer exit is in function module MATERIAL_UPDATE_ALL. The
function module checks the data for errors (logical relationships,
foreign keys, fixed domain values, and so on) when the material master
is updated.
Use
o New fields
You can make checks possible for new fields of your own. These
checks must be identical to the checks that you carry out for your
new fields in online maintenance.
o Existing fields
For existing fields, you can extend and intensify the checks.
You can also change data for descriptions and general material data
(MARA). For example, the descriptions can be generated from attributes
of the material.
Limitations
You cannot bypass existing checks.
Interface to Application
The respective data of the current logical transaction is contained in
the structures, for example, in structure WMARA for MARA. Nonrelevant
structures are transferred with their initial values.
General material data that can be changed (CMARA) has the structure
MARU. This MARA view contains fewer internal fields than MARA itself. If
WMARA is filled, CMARA is also filled when accessed.
The customer exit contains the exception APPLICATION_ERROR for your
self-defined error situations.
Using the language element MESSAGE .. RAISING APPLICATION_ERROR, you can
terminate the current (logical) transaction and display your message in
the log. </i>
Regards -
Hi ,
We are not able to TRIGGER a WARNING MESSAGE but we are able to TRIGGER an ERROR MESSAGE for a particular Business Scenario in side a user Exit.
Any way we can produce the WARNING MESSAGE from the USER EXIT.
Regards,
Sap UserHi sapuser,
1. We can issue message of type 'I'
(messsage of type W
gets displayed on status bar,
and if the standard transaction,
again display some its own message,
then our message will be overwritten)
2. it will be displayed in a message box.
regards,
amit m. -
Warning message in 'Writeback Report'
Hi,
I have to enable writeback on a report and to prompt a warning message to user before submitting the changes.
I am fine with enabling the writeback on the report and update the changes through writeback XML.
But, I am not sure of this 'Warning Message' in a separate window as prompt to confirm the changes made by user before submitting.
Can somebody please help me if you have implemented this?
Thanks,
ViswanathDear Madhu,
You are not using LS_HEADER statically that you have defined in the program. You will get a warning message since you have defined a field that you have not referenced statically.
Are you using this field dynamically? You can delete/comment the code if you are not using it statically and dynamically.
Moved the thread ABAP forum. Post your queries in relevant forums to get efficient answers.
Regards,
Naveen -
Warning messages "You are not a receiver of the work item"...
Hi Experts,
We are facing an issue in which couple of users are getting warning messages "You are not a receiver of the work item" in there Portal Inbox. But they are not getting any warning message while accessing the same from R/3 inbox. We tried replicating the issue but it is working fine for us. Is it related to workitems which are of any particular type??? Kindly suggest.....
Just to add some more thing we have gone through the Forum : UWL workitem error: you are not a receiver of the work item and also the OSS notes: 1133821, but we do not get any appropriate solution.
Please suggest.
Appreciate your quick response.
Thanks,
Harish
Edited by: harish vyas on May 3, 2010 1:24 PMHi Enrique,
Yes users are using SSO.
As suggested I have checked in transaction SU53 and there is no error message for the user i.e. we are getting success message as "The last authorization check was successful".
Please suggest what can I try.
Also adding to this, Warning message which users are getting is not a show stopper i.e. they are able to process workitems successfully.
Thanks,
Harish -
Warning message of password expire
Hi All,
I have a requirement. When user password is going expire in 5 days, there should be warning message when user logs into portal which says "your password is going expire in 5 days, please change".
How achieve this functionality in portal, please advice.
Thanks,
Santosh.
Edited by: Santosh Gundelli on Dec 17, 2011 10:13 AMYou can call ABAP RFC to get expiration date. You can create portal application using Netweaver Developer Studio.
File->New->Other->Portal Application->Create a Portal Application Project
Then right click on the left side project name Create a New Application Object.
Here you can write code. -
To through custumize warning messages while creating PO
Hi All,
I want to through some warning message throgh user exit while creating PO is there any standar message id i can use to through warning message i know '00' with number 398 but that is working only for error message.
Regards
SagarIf you're doing these in an exit, you decide in your code whether A,E,I,W, message type. Beware though, how you present...you might want to do I messages with the "display like E" addition. I utilize message 016 from message class GR a lot...It's just placeholders and you can then issue messages with three or four values, like:
message e016(gr) with
<document> <item> 'text' 'more text'
etc.... mix and match up to four values, literals, constants, text-elements, etc. -
To get the warning messages raised in determination
Hi Expert,
I am validaing the Root node using determination(on modify) and raising warning messages , and these warning messages needs to caprured onclicking save button. when clicking save button twice the warning messages goes off and displays "Save not required" I need to display the warning messages untill user modifyies the data...
Cann anyone help me on this
thanks in advanceDear Sasi,
Are you able to display messages on application screen?
Why do you want to double click on the SAVE button?
Your issue is not clear.
You can have validation class created where in you can validate certain conditions and raise messages if required criteria is not satisfied.
May be some of the below related blogs helps you in this aspect.
WKS: How To Avoid Message Flooding
Message handling in BOPF
Quick and Dirty (QAD) - 02 Implementing custom TM Conditions (Part 1 of 3)
Thanks,
Bharath. -
Hi all,
Iam writing one exit for MIGO Transaction. Everything is fine but the only thing is,
If i generate error message in EXIT Using : Message e127(zmcd) with loc_per. It is working fine . But i need to display it as warning message. so i tried to change it to : Message w127(zmcd). But it is not working in this case.
Please help me out from this situation.
Thanks in advance.hi,
check the below threads
WARNING MESSAGE in USER EXIT
Error Message in User Exit
Hope this helps !
Reward with points for helpful answers
Cheers
Alfred -
Warning message for PO quantity
Hi Gurus,
When we load a sales order and user does not enter a quantity, system is not giving a warning message, i had checked incompletion procedure and made warning as ticked. but still system is not giving a warning message when user does not enter quantity field in sales order.
When trying to save system is displaying document incomplete, missing data quantity, but users are not getting a warning message.
Please advise us gurus,
Thanks in advance,
Nathan.Hi nathan,
Check your setting for incompletion log.
in the incompletion log setting, for incompletion group Sales-item, within this group select your incomletion procedure (Which you have assigned in item category setting VOV7).
check whether you have maintained following entries:
table :VBAP
field: KWMENG
screen no:PKAU
status: 04
warning is ticked
seq: 10
Regards,
Chetan -
Add warning message when save po
I would like to know which userexit can perform when i save a PO, i would display a warning message to user and then user need to click yes, or tick button to save po. otherwise, the save process will abort. I try to add popup windows in usereixt 'ZXM06U43', but no matter i click yes, no or cancel button, it also save the po. How can i add a warning message. Thanks!
Hi
Use any of these BADIs
ME_CHECK_ALL_ITEMS
ME_COMMTMNT_PO_RELEV
ME_COMMTMNT_PO_REL_C
ME_PURCHDOC_POSTED
I think tis one is very helpful try it out
ME_PURCHDOC_POSTED
Regards
Shiva -
Popup Message when user tries to click outside of a webpart - How To
Hi
I have a custom web part on a page. I would like to know how I can prompt a warning message to user if he/she clicks outside the webpart, say on a Quick Launch link.
There must a be way to do this right. Appreciate feedbacks and ideas.Hi,
Here you go. Pls check this
http://blog.mastykarz.nl/sharepoint-2010-application-pages-modal-dialogs/
Please remember to click 'Mark as Answer' on the answer if it helps you -
BADI/user exit for ME21N - Warning message for "our reference" field
Dear all,
I have a problem.
In ME21N, I need to show a warning message (message w... ) when user enter an already-used-before input in "Our reference' field (EKKO-UNSEZ).
I've tried in two methods.
1. Using fm EXIT_SAPMM06E_004. But it can only works for Error message. My warning message never shows up.
2. Tried to implement classic BADI ME_PROCESS_PO_CUST, using the PROCESS_HEADER method. Got the break-point spot on, but still didn't show the warning message.
Why is my warning message always got override?
Please advise.
Thanks in advance
AhmadHi Ahmad,
Check the below links:
Unable to put Warning messages in ME21N and ME22N in Exit / BAdI in ECC 6.0
Warning message in me22n check user-exit can't process?
Custome warning message in T. code me51n me52n & me21n , me22n
Regards,
Nisha Vengal. -
How to send a warning message before closing soft via X of the title bar
With labview 8.2:
I would like to send a warning message before closing my soft when the user press the "X" of the title bar. Is it possible to do that without a Windows dll?
Thanks a lot,
Daniel.Gerd,
I think a filter event for 'Panel close?' is more appropriate because you have the possibility to cancel the event or continue the event.
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be! -
IT105 warning message "user does not exist in this period"
Does anyone know if we can change the warning message on IT105 subtype 0001 to be an error message? This is causing an issue when HR are entering the User ID before it's been created in SU01, so sometimes there is a mismatch.
Hope you can help, thanks in advance!This message is hardcoded as a warning in the method CHECK_USERID_EXISTENCE. Like it was suggested above, you will need an access key to change it into a message type 'E'. Other option is to do this validation via the AFTER_INPUT Method of the BAdI HRPAD00INFTY.
~Suresh
Maybe you are looking for
-
Why BlackBerry 10 doesn't have an Email app?
I am surprised that BlackBerry 10 doesn't have a separate Email app. I know what is the first answer: There is the BlackBerry Hub. Use that! But then why is there an App for BBM when that is also in the Hub? The second strange thing is that there is
-
Warning (Anachronism)
Hi all, I'm getting the following compiler warning in certain cases: Warning (Anachronism): Formal argument 3 of type extern "C" void*(*)(void*) in call to pthread_create(unsigned*, const pthreadattr*, extern "C" void*(*)(void*), void*) is being pass
-
Validating Opportunity close date
I was requested to create a validation for Opt. Close Date - Something like: If changed from the previous value it should be in the same quarter. Other than that it would be invalid. I still trying but started using PRE(JulianQtr([<CloseDate>])) and
-
EclipseLink persistence provider issue with weblogic 10.3
Hi All, I have been trying to deploy and run an EAR in weblogic but when I run the application I get the following warning: WARNING: Found unrecognized persistence provider "org.eclipse.persistence.jpa.PersistenceProvider" in place of OpenJPA provide
-
My iPad, retina display, runs iOS 8. I use safari to browse the internet, and its loading. It may seem normal, but it has been like this for 3 hours. How do I fix the problem and make the iPad internet normal ?