cancel
Showing results for 
Search instead for 
Did you mean: 

Sale order stock should be considered as available stock during MRP run

0 Kudos

Hi Gurus,

Please help in fulfilling the below mentioned requirement.

I have below mentioned stock scenario for a particular material

Unrestricted Stock = 50 Nos

Sale order stock (reserved to sale order using 412 E movement type) = 30 Nos

Sale Order (Customer) requirement = 100 Nos

Now when I run MRP for the above situation MRP should consider Unrestricted stock and Sale order stock and raise a procurement proposal for 20 Nos only.

Please suggest the required settings for this.

Accepted Solutions (0)

Answers (2)

Answers (2)

rupesh_brahmankar3
Active Contributor
0 Kudos

Hello,

Also you can try the BAdi MD_CHANGE_MRP_DATA method CHANGE_MDPSX_MARD Change data when importing storage location/ plant stock with your own custom logic.

Best Regards,

R.Brahmankar

0 Kudos

Thanks for your response...appreciate your prompt response..

Caetano
Product and Topic Expert
Product and Topic Expert

Hi Rupesh

BAdI MD_CHANGE_MRP_DATA is no longer supported in S/4HANA, because the ABAP code where this BAdI was called was pushed down into the HANA database. Therefore, we are always recommending BAdI MD_ADD_ELEMENTS, since this BAdI is called after the HANA stored procedure and it is still supported in S/4HANA, while running classic MRP or MD04.


Regards,

Caetano

rupesh_brahmankar3
Active Contributor
0 Kudos

Hello Caetano,

Thanks a lot for useful information.

Best Regards,

R.Brahmankar

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

This is not possible in standard and you need to implement a BAdI to change the system behavior. The following blog provides a list of the BAdIs available in MRP:

https://blogs.sap.com/2013/08/12/badis-for-mrp/

Maybe MD_ADD_ELEMENTS can do the trick, but be very careful with your implementation, since you can change completely the MRP results.

Regards,
Caetano

0 Kudos

Thanks for your response...appreciate your prompt response..