Skip to Content
0
Jul 19, 2016 at 06:56 PM

Locking an ENTRY in MARA table

317 Views

Hello all,

Can someone please help me understand why I am unable to lock an entry in MARA table,

I wrote a test Z program to update an entry in mara table and used ENQUEUE_E_PDTC_MARA to lock before updating.

However, when i was in debugging mode, after the FM ENQUEUE_E_PDTC_MARA was called, I was still able to edit the same material in MM02.

Why was that?

Only when i pressed the save button in MM02 ( another session was running my program in debugging mode) SAP really locked that material from being edited further.


Can someone help me understand why i am able to update both ways in program and in tcode side by side.