2010 Jun 17 1:49 AM
HI,
Can we create lock objects with partial primary key?
Suppose if we have MBLNR, MATNR, DATE as primary keys for a Z table, Then can we create a lock object with only MATNR as the lock parameter?
I want to create in the above way because i want to update the Z table only MATNR in where condition.So i want to lock before updating.
Will there be any drawback if we use like that
Regards,
Robin
2010 Jun 17 2:12 AM
Hi Robin
Actually when you create a lock object it will contemplate all key-field involved for the table in question, however when you
call the ENQUEUE_ and DEQUEUE_ FM you can inform only fields that you want.
Kind regards
Carlos Machado
HI,
Can we create lock objects with partial primary key?
Suppose if we have MBLNR, MATNR, DATE as primary keys for a Z table, Then can we create a lock object with only MATNR as the lock parameter?
I want to create in the above way because i want to update the Z table only MATNR in where condition.So i want to lock before updating.
Will there be any drawback if we use like that
Regards,
Robin
2010 Jun 17 2:12 AM
Hi Robin
Actually when you create a lock object it will contemplate all key-field involved for the table in question, however when you
call the ENQUEUE_ and DEQUEUE_ FM you can inform only fields that you want.
Kind regards
Carlos Machado
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |