2007 May 18 8:53 AM
I need to insert single record into a custom table by looping std internal table.i used the code below,but it's not working...
loop at internaltable.
wa_internltable-field = internaltable-field.
endloop.
insert ztable from wa_internal table.
2007 May 18 9:02 AM
Hi,
use modify instead of insert.
e.g.
modify ztable from wa_internaltable.
commit work.
Kostas
Hi,
use modify instead of insert.
e.g.
modify ztable from wa_internaltable.
commit work.
Kostas
2007 May 18 8:56 AM
HI,
Instead of insert statement, use append statement.
Hope this helps.
Reward if helpful.
Regards,
Sipra
2007 May 18 8:57 AM
hi,
loop at itab_final into wa_final.
wa_final-matnr = wa_mara-matnr.
append wa_final to itab_final.
clear wa_final.
Reward with points if helpful.
2007 May 18 9:02 AM
Hi,
use modify instead of insert.
e.g.
modify ztable from wa_internaltable.
commit work.
Kostas
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |