iface - Python extension for parsing and creating an Interface Object. The interface object would then be passed to the conn object to carry out the actual call, and return of values.
Generally you would not create one of these manually as it is far easier to use the "discovery" functionality of the
conn.discover(name="RFCNAME") method. This returns a fully formed interface object. This is achieved by using standard RFCs supplied by SAP to look up the definition of an RFC interface and any associated structures.
Note: as per the examples above, this IS generally created manually for registered RFC applications.
import saprfc iface = iface("RFCNAME")
or more commonly:
import saprfc conn = saprfc.conn() conn.connect() iface = conn.discover("RFC_READ_TABLE")