KAUF_ORDER_CHANGE_BAPIFIELDS: Lock on COBRA
[BP_MODIFY_ORDER] [BP_MODIFY_ORDER_LAST] [COBRA] [COBRB] [EKCOBR] [ENQUEUE_EKCOBR] [entry] [ESORDER] [K_SRULE_PRE_READ] [Lock] [lock cobra] [lock on] [lock on1.12] [ORIND] [SAPLKAUF] [SAPLKOBS]
Symptom
You repeatedly call the KAUF_ORDER_CHANGE_BAPIFIELDS function module to change the master data of the CO internal orders. Since for each additional object the system sets a new lock with the object number on the tables of the settlement rule, but does not reset the lock until the update, your program becomes increasingly slow.
For [...]