Automatic Re-ATP through SD_BACKORDER_CHECK_AND_SAVE
We have scenario where the RE-ATP of sales orders has to be done based on CUSTOMER REQUEST DATE (EDATU) . so we have to sort the line items of all open sales orders as per the CRD date and then do RE-ATP.
I Have used SD_BACKORDER_CHECK_AND_SAVE this function module to do re-atp.
Everything is working fine, but when the stock in the inventory is less than the ordered quantity, then it is not conforming the partial quantity.
EXAMPLE : Stock in inventory = 5
ordered quantity = 10
when doing manual re-atp the confirmed quantity can be 5 and the remaining 5 of the ordered quantity would remain 5
but now this function module is not considering the stock of 5.
and it is not confirming anything in the case of partial stock.
please suggest something to fullfill this scenario either.
Thanks in Advance.