Wrong batch numbers (already existing) is getting picked during the GR.
When we try to process the GR for a PO, system is fetching the wrong batch numbers which were already used for other materials in the plant. Normally, in our case, batch level is activated at the "Plant level". And, the batch number assignment is also an internal assignment. Earlier, there was no issue system used to fetch the batch number of the available sequence from the number range which is available in system.
But, now we found the issue, it is not fetching from the sequence from the number range which is available in system. It is automatically taking the existing batch numbers which were already used for the other materials in the plant. I have even checked with my ABAPer whether there is any User Exit used for it or not to take the existing batches only in the plant. But, unfortunately we are unable to find it.
So, just let me know we are still missing any standard configuration to check which are available for this specific case.
The issue has now been resolved. There is an IS-OIL specific set-up in the config which causes for this.