12-07-2007 7:52 PM
Hi ppl..
I have a req to pull and report with Pro order # and status
Purchase order # and status
for a given sales order .... item level...
need tables and relations between Production order, sales Order and Purchase Order and there status's.
12-07-2007 8:01 PM
<b>Sales Order Tables:</b>
VBAK Sales Document: Header Data
VBAP Sales Document: Item Data
<b>Production Order Tables:</b>
AFKO Production Order Header
AFPO Production Order Position (details)
MAST Material BOM
STKO BOM Header
STPO BOM Positions (detail)
<b>Purchase Order Tables:</b>
EKKO Purchasing Document Header
EKPO Purchasing Document Item
MKPF Header- Material Document
MSEG Document Segment- Material
Regards,
Maha
12-07-2007 8:22 PM
12-07-2007 8:24 PM
Hi,
Start with VBAK & VBAP table, get the Purchase order and Production order details from corresponding Master tables.
Regards,
Maha
12-07-2007 8:26 PM
Go to VBAP table
Give the SO Number in VBELN and ITEM in POSNR to get the Production Order Number in AUFNR.
To get the PO for a Sales rder, go to VBAK and give the Sales Order Number to VBELN and get the PO Number in BSTNK.
Regards,
Ravi Kanth Talagana
12-07-2007 8:54 PM
12-22-2007 12:56 AM