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

Link Between Produntion Orders and MRP

Former Member
0 Likes
628

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

I Need the Link Between to Production Orders.

3 REPLIES 3
Read only

Former Member
0 Likes
566

Please see this link

Cheers,

TM

Read only

Former Member
0 Likes
566

I Need the Link Between to Production Orders.

Read only

0 Likes
566

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