Hi,
I think u cannot assign FCT code for I/O Field. But u can assign FCT code for ENTER in Set PF-STATUS of your current screen in PBO. Once u give input in I/O field and then press enter u will get the data in text filed with corresponding SQL Statement in the PAI Module. I think you may also know this concept.......