07-17-2007 11:37 AM
hi all,
i have a table zprod of type zprod_line.
zprod_line has two elements
aufnr type aufnr.
kdauf type kdauf.
now i wrote the below code
data itab type zprod.
select aufnr kdauf from aufk into corresponding fields of table itab.
now itab shows entries, but when i access it , it comes as blank!!!!
ne suggestions??
thanks,
Gaurav
07-17-2007 11:39 AM
Hi,
Do this:
data: itab type standard table of zprod_line.
Hope it will be useful.
Thanks,
Sandeep.
07-17-2007 11:39 AM
Hi,
Do this:
data: itab type standard table of zprod_line.
Hope it will be useful.
Thanks,
Sandeep.
07-17-2007 11:42 AM
07-17-2007 11:40 AM
Hi,
Have you created itab as local internal table?
Can you post a code?
07-17-2007 11:41 AM
hi,
1. Chk ur itab is refreshing som where.
2. Put a brak-point after select query and chk itab[].
Rgds
Reshma
07-17-2007 11:42 AM
u hav 2 declare it like:
data itab type table of zprod with header line..
select aufnr kdauf from aufk into corresponding fields of itab.
append itab.
endselect.
07-17-2007 11:43 AM
Do Like this..........
aufnr type aufnr.
kdauf type kdauf.
now i wrote the below code
data itab like zprod occurs 0 with header line.
select aufnr kdauf from aufk into table itab.
07-17-2007 2:13 PM