12-20-2006 4:22 PM
What's the best way to store data into a z table from an internal table.
12-20-2006 4:32 PM
Hi ,
The best way is to use the MODIFY command , because it can work in two ways , if data is not there a new record is inserted else the existing record is modified.
Regards
Arun
12-20-2006 4:25 PM
Hi,
Use From table addition..
INSERT ZTABLE FROM TABLE ITAB.
The internal ITAB should be of structure ZTABLE..
Thanks,
Naren
12-20-2006 4:26 PM
use modify command.
modify ztab from table itab. "itab should be of the same structure as ztable.
Regards,
ravi
12-20-2006 4:30 PM
Hello,
U have to use MODIF ZTAB FROM ITAB.
Since this will overcome the error duplicates entries also.
Vasanth
12-20-2006 4:32 PM
Hi ,
The best way is to use the MODIFY command , because it can work in two ways , if data is not there a new record is inserted else the existing record is modified.
Regards
Arun