Hello Shaveen,
Both BAPI and RFC can be used to connect non-SAP to SAP. In fact a BAPI is an RFC module that is dressed up to be more developer-friendly to outsiders.
We have recently given RFC_READ_TABLE module to a team needing to get values from a custom table.