on 09-14-2021 7:27 AM
By standard in SAP S/4HANA Cloud system, MRP does not take into account the expiration date of products during the MRP run. That means certain batches of stocks will be treated as available during MRP even though they will be expired at the actual delivery date, which will cause a backorder situation.
In On Premise system, it is possible to use function module MD_STOCK_REQUIREMENTS_LIST_API or MRP BADI as workaround which however is not available on S/4HANA cloud system.
Is there any resolution in the cloud system to make the MRP take into account the expiration date of a material?
MRP doesn't consider batches -- it only considers stocks on material level, which means there is no standard solution for the scenario in respect of MRP.
However, please have a try of using multiple APIs to meet your requirements as a workaround:
e.g. First, using API_MATERIAL_STOCK_SRV/A_MaterialStock, you can get batch and stock information of the material.
Then, using API_BATCH_SRV /Batch, you can get the expiration date of the certain batch.
Finally, per the data above, using API_RESERVATION_DOCUMENT_SRV to create a reservation for a transfer posting on the expiration date. Then the available stock will be consumed by the reservation on the expiration date to avoid backorder.
This is an example, please test the feasibility per your business scenario.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.