‎2008 Aug 05 1:28 PM
hi
after i do
move wa-objid to ztable
do i need to do append ?
ami
‎2008 Aug 05 1:30 PM
Hi,
Append is only used for internal table not for data base table..
Use either update or modify......
Regards,
Nagaraj
‎2008 Aug 05 1:30 PM
No, you need not. APPEND is used in internal table only. It is not used in DATABASE TABLE.
‎2008 Aug 05 1:30 PM
Hi,
Append is only used for internal table not for data base table..
Use either update or modify......
Regards,
Nagaraj
‎2008 Aug 05 1:32 PM
sorry but there is no answer possible since your requirement is very unclear.
does your ztable have header line?
do you want to append entries or do you update?
plz clarify some thing or post a bit of your code.
‎2008 Aug 05 1:33 PM
what is ztable?
if its a internal table than
wa-field = 'abc'.
Append wa to ztable.
append the work area not the field.
With luck,
Pritam.
‎2008 Aug 05 1:33 PM
hiii
you can not use move with ztable .it will only work with internal table ...and with internal table while using MOVE you dont need to use append statement..it will automatically append data to destination table.
regards
twinkal
‎2008 Aug 05 1:33 PM
hi ami.
if there are more than one records which u need to move into final internal table than u need to append inside the loop.
loop at itab into wa_itab.
wa_itab_final-f1 = wa_itab-f1.
append wa_itab-final to itab-final.
clear wa_itab-final.
endloop.
here itab-final is final internal table where u actually want data.
for single record no need to append.
‎2008 Aug 05 1:34 PM
hi
if ztable is a work area then you should use APPEND to add
the record from ztable to the internal table.YOu need to do this even if ztable is an internal table with header line.
Cheers,
Hakim
‎2008 Aug 05 1:39 PM
If Z-table means a database table then you need to use INSERT command to add a record in that table.
If its an internal table you need to use APPEND command to add a record in it
‎2008 Aug 05 1:41 PM
Hi Ami,
You cannot use Append for Database tables. It is only used fot internal tables.
Regards,
Chandra Sekhar