Mentor SAP

Lock Modules

If a lock is set when calling the respective lock module, the lock mode can be specified to determine the type and purpose of the lock. If no specification is made, the default in the definition of the respective lock object applies.

 

Lock modes used to set locks include the following:

 

 

Cumulate Locks – Additional Lock Request from Another Program Instance

If there are existing locks in the system, attempts to set additional locks may arise from the program instance (or from a method or function module called synchronously from this program instance) that has already set an existing lock. However, attempts to set additional locks may also arise from a different program instance. A different program instance may be a second instance of the same program started by the same or (more likely) any other user.

 

In case the program instance is a second instance of the same program, attempts to set locks are treated as follows: