Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Help in locking

Former Member
0 Likes
294

can any body help me...I want some locking process.when I entered with some order no(AUFNR)..at the same time no one can enter at the same AUFNR.For this I have taken one ztable and first when we entered then that AUFNR I saved in ztable and at last I delete that AUFNR in ztable. But when I enterd in our report then AUFNR save in ztable and when I close that report with close button 'right top corner '(not back or exit) or in bottom tab rt click and close then our ztable entry is not deleted. pls give me any solution.

Thanks

Rakesh.

1 REPLY 1
Read only

Former Member
0 Likes
252

hi,

If you are updating the entries on to your ztable and wants to lock the table while updating the entries create a lock object for that table Via SE11->Lock Objects and use that FM's before and after updating the table i,.e, ENQUEUE_EZ_<ZTABLE> before updating and DEQUEUE_EZ_<ZTABLE> after updating the table ...

Regards,

Santosh