if you want to replace some standard table value then better option is to change it through Standard SAP Tcode so that it will automatically change the values in all corresponding tables...
if you want to change values in the custom table then design a report that will change these values
Hi
this code may help u out try it
loop at itabline.
zg8_ekpo-ebeln = zg8_ekko-ebeln.
zg8_ekpo-ebelp = itabline-ebelp.
zg8_ekpo-matnr = itabline-matnr.
zg8_ekpo-menge = itabline-menge.
zg8_ekpo-meins = itabline-meins.
zg8_ekpo-netpr = itabline-netpr.
zg8_ekpo-waers = itabline-waers.
*Update the entries into item table
modify zg8_ekpo.
endloop.
here itabline is an internal table and zg8_ekpo is the custom table so first get the the values u want to modify into an internal table and then move them into the custom table the modify statement will do the rest
reward points if found helpful.
Add a comment