10-29-2007 10:51 AM
Hi buddies,
I want to privide the functionality that in case someone is accessing this transaction, then other user should not be able to run it.
How can I code for this functionality?
Thanks
10-29-2007 10:53 AM
Steven,
Locking a transaction is BASIS job.I don't think that can be done by an ABAPer.
K.Kiran.
10-29-2007 11:33 AM
10-29-2007 11:37 AM
Hello Steven,
Maybe you can create a validation to the transaction. If it's a Z transaction, you can use a EXPORT TO MEMORY command to set a flag when there's a user running it (you can assign a value to it on the start of the transaction), if this variable is filled with some data (maybe 'X'), you do not allow the user to access it.
However, if it's standard, it's better to verify with BASIS.
Best Regards,
-h
10-29-2007 11:39 AM
Do yuo want to lock the actual transaction itself so that only 1 person at a time can access it? Or do yuo want to apply locking against 1 record for example, i.e. the actual data the transaction is accessing?
Gareth.
10-30-2007 12:16 AM
Hi Gareth:
I want to lock the transaction so that only 1 person can use it.
10-30-2007 12:26 AM