on 05-27-2015 2:20 PM
Gurus,
I have a requirement to set automatic generation of PM notifications when the counter reading posted are out side the normal range. My client wants to be posting oil analysis results in SAP so that a notification is automatically created whenever the posting is outside the agreed range. Kindly assist on which configuration changes i need to do to achieve this
Thanks in anticipation
Dear,
When Measurement reading are captured in SAP, a Measurement document is posted.
Enhancement IMRC0001 - EXIT_SAPLIMR0_001 is triggered when we post a measurement document.
I used same thing inmy organization if measured value is greater than target value, system triggers notification.But here it will not trigger if any notification is pending.
The requirement is to create Notification in background based on the following conditions
Assumptions of this exit
Hope this may help you.
Regards,
Pardhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Assumptions of this exit
- This exit is not applicable if the measurement point is a Counter.
- This exit is not applicable if the target value does not exit
- System should not generate Notification if the there is one notification already exists for the same object without completed.
1. Wrong - I myself developed a code for this which works for Measuring point, Counter, Valuation code and in combination of Valuation code. You should have already seen the links posted by me.
2. When the target value does not exist this code misbehaves, which you should take into account while coding by arranging error messages etc.
3. This care you have to incorporate with few lines of code in the exit.
The header Assumptions of this Exit looks like your local assumptions which are being generalized here. This exit or any other user-exit do not assume things, but provide access to user for customizing needs as per the requirements.
Dear
The logic i built is
This program is applicable if IMPTT-INDCT is not ‘X’
Case 1.
Program should check if IMPTT-DESIRI is ‘X’, then if IMRG-RECDV is > IMPTT-DESIR for all POINT
Generate Notification
Case 2:
Program should check if IMPTT- CDSUF is ‘X’ and if last character of IMRG-VLCOD is ‘0’, then generate notification.
Thank you sir .
Regards,
Pardhu
Hello Mutale,
As already hinted, you need to use user-exit IMRC0001 to achieve this. See my reply here about how to?
You can have a Notification trigger on Measuring point Reading and also to the Total counter reading as the case may be, whenever they do not fall under the range specified in the Details section of IK01 / IK02 / IK03.
As said in the link above this is ABAPer centric job, who can also develop a code to trigger Mail (at the time of Notification trigger) to specified persons maintained in a Z-table.(Planner Group vs emailID an example). I refer to one more reply of mine here for more details.
Good luck
KJogeswaraRao
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Greetings Mutale,
Clarification - you use the word "counter" but in fact, the question is about Measuring Points that are not counters, rather, you want to have an event when the reading is above or below the set limits?
You will have to utilize User Exit IMRC0001
See the thread http://scn.sap.com/thread/1626328
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.