on 03-27-2017 7:25 AM
Hi Gurus,
I am functional guy, My Abaper is saying that he,While implementing the below thread is getting notification locked status , hence cannot close the notification:
https://archive.sap.com/discussions/thread/3816724
I am unable to understand why this situation has arised, can any one guide me so that i can make him implement this logic provided successfully..
Regards:
Manu
Manu,
When a user opens an object (e.g. a PM/CS Order), then the system "locks" that order to stop anyone else changing the order at the same time. This ensures that the data in the database is kept consistent.
If a Notification is linked to that PM/CS Order, then this is also locked.
So the problem you are finding is that you are trying to update the order and notification in the same session without ever going into the notification.
One option is to update the notification after the order update is complete (and locks are therefore removed). THis could be done in a number of ways, for example:
.
PeteA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could try it.. It depends on when IWO10026 is triggered.
You can also look at BADI WORKORDER_UPDATE via SE18.
PeteA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sir,
Thank you for the response,
i will try to implement that, i have a small query, as u said in the old thread which i mentioned, we can use user exit IWO10026, so after the order is saved we can implement this user exit to validate NCMP, and if "yes" then close the notification using FM.
Is my understanding correct?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
97 | |
8 | |
8 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.