07-20-2006 7:47 PM
Dear All
I have the following scenario:
1 - I have created Sales Order to material XPTO
2 - Then executed the MRP to created the Production Order
3 - The MRP have created 2 Productions Orders (One for Material XPTO and other to material XTPO1, that is need to product the Material XPTO). Whe are not using Collective Orders).
But a need the relations between the to Orders.
At the transaction MD4C can see the connection off the 2 Orders. Can some one tell me the tables where this info is??? And the link Between this tables.
Best Regards
Thanks in advanced
PMR
07-20-2006 7:54 PM
07-20-2006 8:03 PM
07-21-2006 6:07 AM
Hi Pedro ,
check these steps in that program
SELECT SINGLE * FROM MDFA
WHERE AUFNR = AUFNR
AND POSNR = AUFPS.
MESSAGE E015 WITH AUFNR AUFPS. "Fertigungsauftrag nicht vorhanden
PERFORM PEGGING
USING MDFA-MATNR MDFA-PLWRK LS_MDLV-BERID
DELKZ MDFA-AUFNR MDFA-POSNR NULL.
PERFORM CHECK_PRODUCTION_ORDER USING RM61O-AUFNR RM61O-AUFPS.
CALL FUNCTION 'MD_NETWORK_REPORT'
EXPORTING AUFNR = RM61O-NETPL
AVAILABILITY_CHECK = AVL_CHECK
NO_SAVETY_STOCK = RM61O-SSTNO
EXCEPTIONS ERROR = 1.
Regards
Prabhu