Short dump - CX_SY_OPEN_SQL_DB during MODIFY statement
I am getting a short dump with exception CX_SY_OPEN_SQL_DB on MODIFY statement on database.
On further analysis I noticed that the (Z )transparent table on which MODIFY statement is executed is having 2 primary keys.
1. Delivery Number
2. Position Number.
The MODIFY statement gets executed successfully for FIRST RUN and updates record in Z-table.
During second run where Delivery number is SAME and position number is DIFFERENT(primary key is different than first run), system throws a short dump with exception CX_SY_OPEN_SQL_DB
My question is how can I avoid this short dump which is coming on second execution of MODIFY statement with different primary key?
Thanks a lot for your help.