‎2007 Oct 16 11:04 AM
Hi everyone,
I want a to update field Name_co value in ADRC table through a program for a customer.
Please help me in regard.
Thanks and regards,
Deepthi.
‎2007 Oct 16 11:06 AM
UPDATE ADRC set NAME_CO = 'ABCD'
where ADDRNUMBER = '01234'.
COMMIT WORK.
‎2007 Oct 16 11:06 AM
update adrc set name_co = <value> [where <condn>].
example
update adrc set name_co = 'ABC Ltd' Where name1 = 'Test1'.
‎2007 Oct 16 11:06 AM
‎2007 Oct 16 11:09 AM
Hi,
Try like this..u can also do by use of BDC(which is better than updating directly).
data : i_adrc type table of adrc,
wa_adrc type adrc.
get the data in i_adrc.
loop at i_adrc into wa_adrc.
wa_adrc-Name_co = <gve the value>.
modify i_adrc from wa_adrc.
endloop.
modify adrc from table i_adrc..
reward if helpful.
Regards,
Nagaraj