Application Development 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: 

Link Between Produntion Orders and MRP

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

Please see this link

Cheers,

TM

Former Member
0 Kudos

I Need the Link Between to Production Orders.

0 Kudos

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