DELVRY07 IDOC with a variation to Order Unit of Measure
I've simulated an inbound delivery using DELVRY07 and DESADV (using inbound function module IDOC_INPUT_DESADV1). All is fine with a standard scenario where the supplier sends the despatch advice with a UoM that matches the orders UoM.
However, I have tried to replicate the scenario where the pack factor of UoM to single unit is different to the order (e.g. ordered 10 packs of 3 but supplier is sending 10 packs of 2). The inbound function module does not seem to take any notice of the single quantity (E1EDL24-LGMNG) in the IDOC nor of the coversion factors (in segment E1EDL26). Posting this scenario leads to an incorrect inbound delivery as the supplier's differing pack factor is ignored and the expected 10 packs of 3 recorded in the inbound delivery.
I've looked at the older IDOC (using FM IDOC_INPUT_DESADV) and that has some processing linked to the difference in UoM factors. I'm just wondering if we need to build some additional validation in to handle the scenario and ensure the incorrect posting is not made or we need to revert to the older IDOC (e.g. DESADV01)?