Possible entry values include "S" for aĮxclusive lock that can be requested only once unlike a regular exclusive lock within a program, and Type of lock for the dbtab database table of the lock object. The most important entry parameters of an enqueue function module are: If you cannot set a lock because corresponding lock entries already exist in the lock table, the function module terminates with the FOREIGN_LOCK exception. An enqueue function module sets an SAP lock by writing a correspondingĮntry in the lock table. Table (administered by transaction SM12). The function locks access a central lock table in the memory of a special application server work process. Lock function modules set or release SAP locks when called. The creation of a lock object generates two lock function modules, whose names consist of the prefixes ENQUEUE_ and DEQUEUE_ and the name of the lock object. The ABAP Dictionary defines these objects they permit locks of single or several lines in one database table or locks of lines in several database tables linked by For this reason, various work processes and, if applicable, changingĪpplication servers must be able to handle these locks. SAP locks must be maintained for the duration of SAP LUWs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |