Badi is just a coding. A smart abaper can do everything by using the badi.
Abaper has to write the coding as per your logic.
Whatever the logic, if the data for your logic is stored in table (any), then you can set a validation with compare any field with any other field (other table).
Use the badi ME_PROCESS_PO_CUST and write the code for you logic.