10-25-2007 4:25 PM
Could somebody pls tell me how to update a db table ie a zdb table
with fields from an internal table which is declared similar to the zdb table?
thanks!!
10-25-2007 4:28 PM
Hi,
You can use INSERT, UPDATE or MODIFY statement.
INSERT ZTABLE FROM TABLE ITAB.
UPDATE ZTABLE FROM TABLE ITAB.
MODIFY ZTABLE FROM TABLE ITAB.
Regards,
Ferry Lianto
10-25-2007 4:28 PM
use the sap help for the commands
INSERT
MODIFY
UPDATE
or search on here....or wait for VASU G to reply with some random links.
10-25-2007 4:33 PM
Martin,
you comments are the only ones worth to read...
"or wait for VASU G to reply with some random links"
10-25-2007 4:36 PM
Sad thing is, its only funny cos its mostly true.
Its a shame we see so many posts these days (the number seems to be increasing daily) where people just cut and paste their answers from a local database or something.
I personally don't see this as helping anyone, especially not the original poster.
Gareth.
10-25-2007 4:43 PM
10-25-2007 4:28 PM
Hi,
You can use INSERT, UPDATE or MODIFY statement.
INSERT ZTABLE FROM TABLE ITAB.
UPDATE ZTABLE FROM TABLE ITAB.
MODIFY ZTABLE FROM TABLE ITAB.
Regards,
Ferry Lianto
10-25-2007 4:31 PM
hi ,
good
u can use like this
UPDATE ZTABLE FROM TABLE ITAB.
reward if usefull