cancel
Showing results for 
Search instead for 
Did you mean: 

exclude selected sales orders from MRP

former_member232086
Participant
0 Kudos
2,041

Dears,

how to exclude selected sales orders from MRP? is there any user exist for the same?

thanks to help..

Accepted Solutions (1)

Accepted Solutions (1)

RahulHanda
Active Contributor

HI Vijesh

If you double click on line item in sales order and goto schedule line tab you will see schedule line category as CP which is MRP specific. Change this to CN and this line item will not be considered in MRP. Do this change for your specific sales orders and when required you can change them back.

I hope this resolves your issue.

regards

Rahul

former_member232086
Participant
0 Kudos

Hi Rahul,

it is item by item, is there any way to do the same in sales order level?

Regards,

Vijesh

Former Member
0 Kudos

Hi Vijesh


You can use reason of rejection to avoid the line items in the sales order from MRP calculation. IF you want to make it a  sales order level then you may need to go for user exists


regards

virender

Former Member
0 Kudos

Hi vijesh

Go for below link

Hope this will help you

Regards

Virender

Former Member
0 Kudos

Vijesh,

Best option would be through standard MRP BADI MD_CHANGE_MRP_DATA you can block sales order at header level from MRP.

See below link for reference

BR
KK

RahulHanda
Active Contributor
0 Kudos

Hi Vijesh,

Since it is controlled by schedule line, yes you need to change the same. On the other hand these are the options available:

  • If these sales order are for some other reason and in future also you will have such scenario where user already know that these are not MRP relevant, then create a custom sales order type along, schedule line only CN.
  • If above is not the case but you want to do any time then option is to change CP to CN as mentioned above.
  • You can use BADI MD_CHANGE_MRP_DATA but you need to segregate these sales order on the basis of some filter criteria so that they are not relevant for MRP.
  • Fourth option could be to develop a logic in header example a check box which when user selects automatically puts CN and if revoked changed back to CP (though I would prefer 1st or 2nd option but you need to check as per business requirement).

Regards

Rahul

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

Another option is to define a storage location excluded from MRP to the sales order item. You can define if a storage location is excluded from MRP on tab MRP 4 of the material master.

If you want to do that using a BAdI, the following blog provides an example of how to use BAdI MD_CHANGE_MRP_DATA to make an MRP element not relevant to MRP:

BR
Caetano

Answers (0)