Program RM06BB30 is scheduled as background job. This is AUTO PO creation job.
The issue is,
Whenever there is more than one Purchase Requisition for a Vendor, the Auto PO Batch Job creates a PO Line Item for the Material on Purchase Requisition as well as additional PO Line Items for Material (Ex: A00007851) on other Purchase Requisitions for the same vendor.
However, SAP determined that u201CMaterial A00007851 not maintained by accounting departmentu201D and deletes the PO Line Item for Material A00007851. If Purchase Requisition was the only Purchase Requisition processed by the Auto PO Batch Job for Vendor that day, it would fail for the reason u201CMaterial A00007851 not maintained by accounting departmentu201D.
Now I want to change the program RM06BB30 to avoid attempting to create a PO from a Purchase Requisition whenever the Material has not been extended to the Accounting Views.
Is it possible? If yes, what kind of check i need to put?