There is a RFC Lookup functionality on PI, but the conversion FM above is not an RFC-enabled function module so PI can't call it directly. Another alternative is to wrap the FM in an RFC-enabled FM to be called by PI.
There is a functionality in PI to store key-value mappings, but IMHO that feels redundant as the actual data is already in ECC. But, the choice is up to Johnson.