Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Update ADRC Table

Former Member
0 Likes
781

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?

4 REPLIES 4
Read only

former_member188827
Active Contributor
0 Likes
610

plz send ur code...if u r using an internal table, are u using append statement to append data into interanl table....

Read only

0 Likes
610

update adrc set sort2 = LV_SORT2

str_suppl1 = 'street2' "gv_street2

str_suppl2 = 'street3' "gv_street3

where addrnumber = LV_ADRNR.

Read only

former_member404244
Active Contributor
0 Likes
610

Hi,

after ur update statement try to do like this..

IF SY-SUBRC EQ 0.

COMMIT WORK.

ENDIF.

Regards,

Nagaraj

Read only

0 Likes
610

still it is the same. in debugging it is updating wheres when debuggin is off it is not updating SORT2 field