Is it possible to exclude obsolete and disabled versions from appearing when executing Pan Scan.
No, there is not a way to exclude obsolete and disabled versions. If it is on the panlib library it will be scanned.