[4969] in sapr3-soft
Re: Semaphores with ABAP language
daemon@ATHENA.MIT.EDU (Ulrich Windl)
Fri May 19 03:43:53 2006
To: sapr3-soft@mit.edu
Date: 19 May 2006 09:43:46 +0200
From: Ulrich Windl <Ulrich.Windl@RZ.Uni-Regensburg.DE>
Message-ID: <864pzmsbm5.fsf@pc8032.rz.uni-regensburg.de>
anagram <abuse@wanadoo.fr> writes:
> Hello,
>
> I'm very new with ABAP language. Could somenone tell me how I can use
> semaphores with ABAP (SAP R/3).
>
> The translation into ABAP of this :
>
> P(Mutex)
> Code
> V(Mutex)
Semaphores are from today, the sap locking machanism is from stone age.
Basically they write "locking tables" into the database using predefined
locking functions. That way, the locks are visible from every application
server, and they'll survive "transaction steps". Actually they also survive a
reboot of the database server ;-)
Regards,
Ulrich