‎2006 Oct 03 8:30 AM
pls help me to develop a report that gives a purchase order wise Goods Receipt document and invoice receipt details line item wise.
‎2006 Oct 03 8:43 AM
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,
‎2006 Oct 03 8:55 AM
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
‎2010 Dec 07 5:23 AM