Application Development and Automation 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: 
Read only

Re : EKKO

Former Member
0 Likes
384

Hi all,

I want to fetch the purchase order from EKKO table on PO typewise.

For example, If I want to fetch only third - party PO (which is item category BANC / BANS).

how can I achieve that ?

thnks in advance,

raghul

Hi all,

I want to fetch the purchase order from EKKO table on PO typewise.

For example, If I want to fetch only third - party PO (which is item category BANC / BANS).

how can I achieve that ?

thnks in advance,

raghul

2 REPLIES 2
Read only

Former Member
0 Likes
363

you can use EKPO-PSTYP in where conditon.

and JOIN EKKO and EKPO

REPORT  ZTEST_PO.

data: begin of it_po occurs 0,
          eblen type ebeln,
       end of it_po.

select ekko~ebeln
from ekko
join ekpo
on ekko~ebeln = ekpo~ebeln
into table it_po
where ekpo~pstyp = 5.

break-point.

Read only

Former Member
0 Likes
363

thanks a lot...........