Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

How to avoid dead lock error while updating ADRC table.

$
0
0

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


Viewing all articles
Browse latest Browse all 8332

Trending Articles