04-05-2006 6:06 PM
hi,
Is there any table where we can find by giving the vendor name as input and get the materials supplied by that vendor.
regards,
swamy
04-05-2006 6:07 PM
04-05-2006 6:07 PM
04-05-2006 6:31 PM
hi Heilman,
i didn't get the exact answer from the tables which you provided. My question is by giving the vendor number we have to get all the materials supplied by that vendor.
Regards,
Swamy
04-05-2006 6:38 PM
EINA has the fields matnr and lifnr. All you need to do is do a select against this table for LIFNR.
data: ieina type table of eina with header line.
parameters: p_lifnr type eina-lifnr.
select * into table ieina from eina
where lifnr = p_lifnr.
loop at ieina.
write:/ ieina-lifnr, ieina-matnr.
endloop.
Regards,
Rich Heilman
04-05-2006 6:13 PM
Hi,
You can also use this FM <b>ME_EINA_READ_WITH_LIFNR</b> to retrieve correspondence material.
Hope this will help.
Regards,
Ferry Lianto