08-02-2005 10:21 PM
Hi,
I am trying to update a field in Material Master.
Now if some user has locked the field I want to send him a email automatically that unlock the material master.
Now my question can we know like who has locked the material master ?
Second question is how do I send an automatic email to him regarding this ?
Relevant points will be given surely.
Tushar.
08-02-2005 10:53 PM
hi tushar,
For your 2nd question,we can implement a workflow which automatically triggers an email when the field attributes are changed.
anand.
08-02-2005 10:58 PM
hi
execute FM ENQUE_READ
Read table ENQ Which returns all the object locked.
Read the table with field GNAME as 'MARA'.
you get complete history of the Lock record..
you will alsoget the the user who is locking it.
get the user name and can send a mail using a FM..
for you to try testing:
goto SE37 and enter ENQUE_READ FM
and execute...try locking MM02 transaction.
check the values.
Thanks
Balu
08-03-2005 6:45 AM
Hi,
1) mm03 - environment - display changes
2) read changes/locks with fm CHANGEDOCUMENT_READ
regards Andreas
08-03-2005 7:40 AM
use the following FM to see who has locked it
ENQUEUE_E_PDTC_MARA
and then, may be instead of a mail, you can send a pop up to the user telling him to unlock it using FM
TH_POPUP
Regards
Raja
08-03-2005 8:35 AM
Hello,
Check FM ENQUEUE_READ. this gives the list of all the objects locked for a user. If you do not give the user ID, then you get all the objects locked in the system.
Regards, Murugesh AS
01-06-2012 1:47 PM
Can anybody give information about WAIT Concept in this 'ENQUEUE_E_PDTC_MARA' function moudle?