Locking in update task
I have a weird issue with locking during update task.
I have a report, which enqueue a specific lock object in exclusive cumulative mode (mode E) with scope 2.
Afterwards, I call FM in update task, which also enqueue exactly the same object in exclusive cumulative mode with scope 2. The FM is triggered after commit work has been executed.
For some reason, the enqueue during the update task process fails (because object is locked by other owner).
As I know, there shouldn't be any locking problem because the update task inherits the lock owner (as described in http://help.sap.com/saphelp_erp60_sp/helpdata/EN/7b/f9813712f7434be10000009b38f8cf/frameset.htm).
Does anyone why does it occur? How can I solve this issue?
Thanks in advance,