cancel
Showing results for 
Search instead for 
Did you mean: 

CONSUMPTION BASED MRP RUN

Former Member
0 Kudos

HI

How to run the mrp run for various materials which belong diiferent stroage locations with the plant.Pl five me transaction.

Eg.

If i have 100items which kept in various storage locations with the plant.But i have to run for mrp for that 100items.

Regards

UMAPATHY.M

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Easy solution is define the same MRP controller for all those 100 items in material master.

Than activate the user exit M61X0001 using CMOD and SMOD (take help of developer if you need)

in this user exit enter the code in function module EXIT_SAPMM61X_001

----


  • select materials for one MRP controller (specified in user_par)

----


WHEN '005'.

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.

Than activate the user exit

now in the tcode OMIX enter the 005 in user exit field and description is MRP controller

now run the MD01 with plant and in the user exit key enter 005 and in parameter field enter your MRP controller now execute the transaciton adn it will only run for those material which has mrpp controller you defined here.

This is the best solution for this kind of requirements

Answers (2)

Answers (2)

dhaval_choksi3
Active Contributor
0 Kudos

Hi,

It is possible by using User Exit.This user Exit enables you to run MRP for only those Materials which are lying under one MRP Controller.

As explain by Mr. Charlie you have use user Exit M61X0001 - User exits PP-MRP materials planning.You have Write Code for that MRP controller in include ZXM61U01.

Then run MRP through T.code MD01 by using User Exit key.

Regards,

Dhaval

Former Member
0 Kudos

Hi,

In customizing you define what storage locations are to be included in the MRP calculation.

IMG>Materials Management>Consumption Based Planning>Planning>Define Storage Location MRP per Plant,.

Select the plant, then for each storage location select one of the following.

Storage location stock also planned at plant level

1 Storage location stock excluded from MRP

2 Storage location stock planned separately

Then in MRP run (MD01) it will look at plant level based on storage locations specified.

Thanks.