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: 

Finding FM/RFC/BAPI For PO list In Perticular Vendor

Former Member
0 Kudos

Hi,

Can u help for Finding PO list For a perpicular vendor.

i.s i want to pass Vendor No as In put it will give list of PO as out put

Regards,

Sunil sahoo

2 REPLIES 2

former_member181995
Active Contributor
0 Kudos

Use report ME2L

Former Member
0 Kudos

Hi

Try the below code

types : begin of ty_ekko,

ebeln type ekko-ebeln,

lifnr type ekko-ebeln,

end of ty_ekko.

data : it_ekko type table of ty_ekko,

wa_ekko type ty_ekko.

parameters : lifnr like ekko-lifnr.

select ebeln lifnr into table it_ekko from ekko where lifnr = lifnr.

loop at it_ekko into wa_ekko.

write : / wa_ekko-lifnr,

wa_ekko-ebeln.

endloop.

Regards

Madhan

Edited by: Madhan Doraikannan on Oct 8, 2008 12:23 PM