March 31, 2003

Perl Integration with SAP

SAP::Rfc and Friends

Perl intergration with SAP

SAP::Rfc - Perl intergration with SAPs'
Native RFC library

The latest
version of SAP::Rfc is available on CPAN. This release uses the Inline::MakeMaker support for making installable modules, so now make, make test, and make install should work correctly ;-).
This is available for download at SAP::Rfc [1]
This package taps into the native RFC library supplied by SAP and
binds it into Perl creating a clean object oriented interface for
performing RFC calls to an SAP R/3 system ( version 3.1+ - may work
for earlier versions but hasn't been tested ).

This package contains examples ( check out the examples
directory ) ranging from extracting source
code from an SAP system to calling sales order IDOCS via RFC.

Periodically I get queries on how to do certain things with the SAP::Rfc library,
so I have started collecting the notes together:

SAP::BC::XMLRFC

The latest version of SAP::BC::XMLRFC [3] is available on CPAN. This package uses LWP to do HTTP calls ( and with a few simple
modifications could do HTTPS calls ) to the SAP Business Connector to
do XML based RFC calls. This is the SAP equivalent to SOAP, and
XML-RPC.
Similar to SAP::Rfc, this package provides a clean Object Oriented
interface to building RFC queries, and includes Inteface lookup
abilities to simplify interface definition.

SAP::WAS::SOAP

The latest version of SAP::WAS::SOAP [4] is available on CPAN. This package uses SOAP::Lite [5] to do SOAP calls to the SAP Web Application Server ( WAS ).
Similar to SAP::Rfc, this package provides a clean Object Oriented
interface to building RFC queries, and includes Inteface lookup
abilities to simplify interface definition.