We are using GN_DELIVERY_CREATE FM to create IBDs in a custom program taking PO as reference. We noticed that at times the deliveries are being split. On debugging, I found that this is happening because the FM is comparing the LIKP header fields (incoterms, etc.) and if it's not same for items, new IBD is created.
However, the same is not happening using VL31N. Only one IBD is created.
We want to create a single IBD and bypass any such header comparison using the FM. How to go about that?
PS - We have set KZAZU = 'X' while passing xkomdlgn table to the FM.