Can any one Explain what is the difference between BAPI and RFC in functionality and in case of defintion also.