Things have been hotting up lately with my three RFC connectors for SAP using Perl, Python and Ruby.

In brief:

Perl and SAP::Rfc 1.42

  • Support for SSO2 login has been added
The new version can be found on CPAN

Ruby and SAP::Rfc 0.16

  • Support for SSO2 login has been added
  • Caching of interface, and structure discovery - whenever a call to SAP::Rfc#discover is made, a series of RFC calls are performed to look up what the definition of the interface is (same applies for SAP::Rfc#structure). This can be a performance hit for a complex RFC interface, or situations where an RFC enabled script is fired frequently. invoke SAP::Rfc.useCache = true to activate caching - see documentation for further details.
  • Inorder to tidy up accessors for parameters, and structure components, some changes have been made. The new syntax for setting parameter values is iface.PARM_NAME = value instead of iface.PARM_NAME.value = new_value. The same applies to structure components where: str.FIELD_NAME = new_value as opposed to str.FIELD_NAME.value = new_value.
The new version can be found at: saprfc or via RAA

Python and saprfc 0.08

  • Support for SSO2 login has been added
  • Improved connection parameter handling
saprfc for Python is on PyPi ("the Cheese Shop").

Posted by PiersHarding at April 21, 2006 12:23 PM