Hi Experts,
We have implemented a BADI BADI_SD_BILLING Method INVOICE_DOCUMENT_CHECK to check some custom validation. Now if there is an error we are setting fbad_data flag to stop billing.
In case of foregroung procressing throgh VF04 , it work fine. because we process a delivery at a time.
Now, I am facing a issue when user is scheduling a background job for VF04. Fbad_data flag stops processing of all billing so eventually for a complete job there will not be any invoice created.
I want your suggestion one how can I just stop processing my errored delivery and continue creation of invoices for other delivery.
Please let me know in case you need more information.
thanks & regards,
Nikhil Gupta