Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

Locking an ENTRY in MARA table

$
0
0

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.


Viewing all articles
Browse latest Browse all 9091

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>