‎2008 Jun 20 7:01 PM
I want to development a report, part of the report is to find out if some is modifing an IDOC (if it has been loocked by the user). How can I do it? Can i use FM "ENQUEUE_ES_EDIDOCE" to do it? Try to lock the idoc again using the FM. if SY_SUBRC = 0, it means it was unlocked before. I am not sure if I am in right direction.]? Please suggest.
Thanks,
AP
‎2008 Jun 20 8:32 PM
Yes you can use the FM ENQUEUE_ES_EDIDOCE (exclusive)
or FM ENQUEUE_ES_EDIDOCS(shared). For details see the include LEDI1FA1.
Regards,
Joy.
‎2008 Jun 20 7:52 PM
‎2008 Jun 20 8:32 PM
Yes you can use the FM ENQUEUE_ES_EDIDOCE (exclusive)
or FM ENQUEUE_ES_EDIDOCS(shared). For details see the include LEDI1FA1.
Regards,
Joy.
‎2008 Jun 24 8:14 PM
Joy,
The problem is, idoc processing function module is not locking the Idoc(no ENQUE statement). Is there any function module which can tell if someone is modifying idoc.
Thanks,
AP