Hi Venkat,
I have gone through your code, everything seems fine except this.
please try this once.
types: begin of mar_typ,
material type /bic/azmnp00-material,
plant type /bic/azmnp00-plant,
end of mar_typ.
data: int_tab type standard table of mar_typ,
wa type mar_typ.
select a~material a~plant b~material b~plant
from /bic/azmnp00 as a
join /bic/azmsnp00 as b
on a~material eq b~material
a~plant eq b~plant
into table int_tab
where material = SOURCE_PACKAGE-matnr and
and plant = SOURCE_PACKAGE-werks.
Regards,
Upender