05-09-2008 11:37 AM
Hi All,
When we use SE16 to modify a database table record, a lock entry would be created in the SAP system (can be seen from SM12).
From the Lock Entry List, we know that SE16 makes use of the enqueue function module ENQUEUE_E_TABLEE to lock the record. However, when I try to use the same function module (ENQUEUE_E_TABLEE) in my codes to lock a particular record in the database, I am still able to use SE16 to modify that record.
Why is that so? Thanks.
05-09-2008 11:41 AM
If you run the report with your login id i hoep you can able to modify the record.
at the same time with another login if you can't able to change the same record.
I hope that is the reason.
Please check it out.
REgards,
Madan.
05-09-2008 11:45 AM
I use the same user (but different SAP session) to (1) run the report program (containing the function module) and (2) run SE16.
Expected Result:
After I run my report program to ENQUEUE that particular record, I SHOULD NOT be able to edit that record using SE16.
Actual Result:
After I run my report program to ENQUEUE that particular record, I AM STILL able to edit that record using SE16.