Maximum number & of lock parameters exceeded

Message type: E = Error

Message class: DI - Dictionary messages: Indexes

Message number: 824

Message text: Maximum number & of lock parameters exceeded



What causes this issue?

The lock object to be activated has a total of &V2&
<DS:TX.DDDOK_ENQU_PARAMETER>lock parameters</>. It therefore exceeds
the maximum number of &V1& lock parameters. The generated lock modules
therefore could be syntactically wrong.


System Response

The system issues an error message and will not allow you to continue with this transaction until the error is resolved.



How to fix this error?

After activation check whether the generated lock modules are
syntactically correct. If this is not so, delete the lock object
immediately, as otherwise an application error could occur. Then
proceed as follows:
Check if this large number of lock parameters is really necessary. Try
to remove lock parameters in the definition of the lock object if these
are generically locked.
If you cannot reduce the number of lock parameters enough with the
specified actions, you must distribute the tables to be locked on
several lock objects. You then have to call more lock modules for the
<DS:TX.DDDOK_ENQU_CALL>lock request</>. You can also
<DS:TX.DDDOK_ENQU_COLLECT>collect locks in a local lock container</>.

Error message extract from SAP system. Copyright SAP SE.