March 31, 2003
Perl Integration with SAP
SAP::Rfc and Friends
Author: Piers HardingCopyright ©
Perl integration with SAP via RFC, Business Connector, and Web Application Server
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  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:
The latest version of SAP::BC::XMLRFC  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.
The latest version of SAP::WAS::SOAP  is available on CPAN. This package uses SOAP::Lite  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.
List of Links
Posted by PiersHarding at March 31, 2003 7:36 PM