Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

classical report

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

2 REPLIES 2

Former Member
0 Kudos

Goto ABAPDOCU and u can find lot of examples in the system...

Former Member
0 Kudos

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.