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

report

Former Member
0 Likes
539

pls help me to develop a report that gives a purchase order wise Goods Receipt document and invoice receipt details line item wise.

3 REPLIES 3
Read only

Former Member
0 Likes
459

Hi,

Use the following tables to get the details from Purchase order,

Purchase order : EKKO, EKPO

Goods receipt : Pass EKBE-BELNR to MKPF & MSEG to get the GR details,

Invoice receipt: Pass EKKO-EBELN to RKPF & RSEG respectively and get the corresponding Invoice receipt details for that Purchase order,

Hope this helps,

Rgds,

Read only

Former Member
0 Likes
459

You can get the purchase order information from EKKO and EKPO database table. As for GR and IR information you can check the table EKBE with VGABE as 1 or 2.

SELECT EKKOfields EKPOFields EKBE~fields

from EKPO inner join EKKO on ebeln

inner join EKBE on ebeln and ebelp.

Regards

Anurag

Read only

Former Member
0 Likes
459

This message was moderated.