‎2009 Jul 09 4:31 AM
Hi All,
I am working on module pool,i have taken the itab with header line and structures also.
inorder to update fields to different tbales what is the logic i need to right.
i have taken move command i have written move scree-fields to structure
then have modify dbtable from structure.but no result only current record is updating
please help me.
‎2009 Jul 09 4:58 AM
Hi Saroja,
INSERT INTO scarr values scarr_wa.
If you use above statement, it updates only one record.
INSERT INTO scarr FROM TABLE itab.If you use above statement, it updates all records available in itab.
Choose which one u want to use and update the table.
Thanks
Venkat.O
‎2009 Jul 09 4:59 AM
Hi,
Use INSERT statement to populate the database table from itab.
Thanks,
Sri.
Edited by: Sri on Jul 9, 2009 9:47 AM
‎2009 Jul 09 5:04 AM
Hi,
" Statement to be used when you use a work area
MODIFY ZEMPL FROM WA_EMPLDETAILS.
" Statement to be used when you use an internal table
MODIFY ZSKIL FROM TABLE T_SKILLDETAILS.
You can also use INSERT statement like how Venkat has mentioned.