Hi,
There is one enhancement while changing vendor address which will update tables LFA1, ADR6 and ADRC.
While updating table ADRC, i'm receiving deadlock error.
DBIF_RSQL_SQL_ERROR - ORA-00060: deadlock detected while waiting for resource
>>>>> UPDATE adrc SET name1 = lv_name_first
name2 = lv_name_second
name3 = lv_name_third
mc_name1 = lv_fullname
flagcomm6 = lv_email_flg
WHERE addrnumber = lv_adrnr.
IF sy-subrc = 0.
COMMIT WORK.
ENDIF.
Any suggestion, how can I avoid this error?
Thanks
Deepthi