‎2008 Jul 03 8:45 AM
h,i
I have internal table lik this
Types :begin of ty_table,
aufnr type aufnr,
bwart type bwart,
chkbox type char1,
end of ty_table,
tt_table type standard table of ty_table.
data : it_table type tt_table.
now while populating the table it_table, though I am using select aufnr bwart from table custome table into corresponding fields of table it_table, as chkbox field is check box, its going to shortdump.
The short dump is 'selected data cannot be kept into target .
Please help.
rgds,
khadeer.
‎2008 Jul 03 8:47 AM
use
into corrsponding fields of table tt_table.
it_table is a work area...
if u want to use this
select ___ into it_table .
append it_table to tt_table.
endselect.
‎2008 Jul 03 8:47 AM
use
into corrsponding fields of table tt_table.
it_table is a work area...
if u want to use this
select ___ into it_table .
append it_table to tt_table.
endselect.
‎2008 Jul 03 8:49 AM
hi,
do this way ..
declare it in this way ...
data : it_table type standard table of ty_table.
‎2008 Jul 03 8:55 AM
Hi
tt_table is Body
it_table is a workara.
use this statement.
select aufnr bwart form table tablename into corresponding fields of table tt_table.
loop at tt_tabl into it_table.
write:/ it_table-aufnr.
endloop.
Regards,
Suresh
‎2008 Jul 03 9:01 AM
Types :begin of ty_table,
vbeln type aufnr,
posnr type bwart,
chkbox type char1,
end of ty_table,
tt_table type standard table of ty_table.
data : it_table type tt_table.
data: wa_table type ty_table.
select vbeln
posnr from vbap into corresponding fields of table it_table
.
loop at it_table into wa_table.
write:/ wa_table-chkbox, wa_table-vbeln, wa_table-posnr.
endloop.