We are using SPED output to trigger inbound delivery creation when outbound delivery for an STO is PGId. This is working fine when the goods are going from BATCH managed to BATCH managed or non-Batch managed to non-Batch managed or non-Batch managed to Batch managed (Batch information populated via User exit).
But if there are multiple batches in outbound delivery in a non-batch managed warehouse i.e. Outbound delivery line item containing multiple TOs with different batches the batch split items are not appearing in the inbound delivery. The user exit implemented will not work since the 90001 90002.... items are not appearing in the LIPS table to populate the batch numbers.
I have debugged the SPED output all the way to inbound delivery creation successfully unable to find location where the batch split should have happened.
Please let me know where could I start looking. Is there any config or BADI implementation or user exit required or any approach I should think off.