Enhancement to Invoicr creation in Background mode throught t cod VF06
we have an issue when outbound delivery has zero quantities, those zero quantities get copied to invoices. we put a code in enhancement points available between delivery and invoice that if any delivery qty is zero in internal table,we deleted that line in internal table and the system passes only the non zero qty to the invoice creation program.
so when creating invoices through VF01 t code, this works and only non zero qty is copied in invoices.
but the issue is hwn we create invoices through batch job in background mode, this does not work and zero qty is aslo copied from delivery. this is happening because during invoice creation thriugh batch job, the system creates invoices through another program .
we are not able to find where to put our code (user exit etc) for invoices created through background job so that zero qty in deliveries are not copied to invoices.
any answers ??