02-21-2008 12:05 PM
hi all,
I m new to abap so can u help me for classical report
can u give me 1 solved example of two table joining classical report,
thanking you
Jignesh
02-21-2008 12:12 PM
Hi
data: begin of itab occurs 0,
vbeln type vbak-vbeln,
posnr type vbap-posnr,
matnr type vbap-matnr,
end of itab.
select-options: so_vbeln for vbap-vbeln.
selct avbeln aposnr bmatnr bwerks
from vbap as a
join mara as b
on amatnr = bmatnr
into table itab ( create a stru related to it)
where vbeln in so_vbeln.
02-21-2008 12:08 PM
02-21-2008 12:12 PM
Hi
data: begin of itab occurs 0,
vbeln type vbak-vbeln,
posnr type vbap-posnr,
matnr type vbap-matnr,
end of itab.
select-options: so_vbeln for vbap-vbeln.
selct avbeln aposnr bmatnr bwerks
from vbap as a
join mara as b
on amatnr = bmatnr
into table itab ( create a stru related to it)
where vbeln in so_vbeln.