0
User Exit for MRP Controller

How to run MRP Based on MRP Controller?

For e.g.:- If MRP Controller for Spare parts, Consumable & Raw Material are different

To run MRP at MRP controller level you need to activate user exit.

T-code

Goto SMOD and activate the user exit M61X0001 for MRP Controller.






Function Module : EXIT_SAPMM61X_001
*&---------------------------------------------------------------------*
*& Include ZXM61U01
*&---------------------------------------------------------------------*
CLEAR: no_planning, stop_planning.
CASE user_key.
WHEN 'STR'.
uxpar = user_par.
CONDENSE uxpar.
WRITE uxpar+0(3) TO dispo.
IF dispo IS INITIAL.
EXIT.
ENDIF.
IF mt61d-dispo <> dispo.
no_planning = 'X'.
ENDIF.
*----------------------------------------------------------------------*
* Reorder-point materials
* (any MRP type with MRP procedure 'reorder-point planning')
*----------------------------------------------------------------------*
WHEN 'STR'.
IF T438A-DISVF <> 'VB'.
NO_PLANNING = 'X'.
ENDIF.


Goto SPRO -> PP -> MRP -> Planning -> User Exit: Material Selection for Planning Run










To run MRP in SAP for specific MRP Controller.

Go to T-code : MD01



User exit Key = STR
and
User exit parameter = STR.

Post a Comment

 
Top