4.2 class iface

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()
	iface = conn.discover("RFC_READ_TABLE")

iface(name="Z_AN_RFC", callback=<registered RFC callback instance handler> )
creates a new RFC Interface object.