I'm looking for Bapi (or other tools), which will receive document characteristics (like Name, Type Etc.) and will return list of PP orders that this document is attached to.