‎2007 Aug 27 6:51 AM
Hi All,
I am trying to Update ADRC table with SORT2 field.
If i run the program in Debugging mode then it is updating the SORT2 field otherwise it is not updating.
Can anyone tell me why it is happening so?i.e why is the program not updating SORT2 field when Debugging is OFF?
‎2007 Aug 27 7:01 AM
plz send ur code...if u r using an internal table, are u using append statement to append data into interanl table....
‎2007 Aug 27 7:16 AM
update adrc set sort2 = LV_SORT2
str_suppl1 = 'street2' "gv_street2
str_suppl2 = 'street3' "gv_street3
where addrnumber = LV_ADRNR.
‎2007 Aug 27 7:28 AM
Hi,
after ur update statement try to do like this..
IF SY-SUBRC EQ 0.
COMMIT WORK.
ENDIF.
Regards,
Nagaraj
‎2007 Aug 27 7:37 AM
still it is the same. in debugging it is updating wheres when debuggin is off it is not updating SORT2 field