SAP::Rfc

SAP::Rfc is a Perl module that contains RFC Function calls against an SAP R/3 System.
Download

SAP::Rfc Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Piers Harding
  • Publisher web site:
  • http://search.cpan.org/~piers/sapnwrfc-0.17/sapnwrfc.pm

SAP::Rfc Tags


SAP::Rfc Description

SAP::Rfc is a Perl module that contains RFC Function calls against an SAP R/3 System. SAP::Rfc is a Perl module that contains RFC Function calls against an SAP R/3 System.SYNOPSIS # WARNING - as of SAP::Rfc 1.40 USER and PASSWD are case sensitive ready for # R3 7.x use SAP::Rfc; $rfc = new SAP::Rfc( ASHOST => 'myhost', USER => 'ME', PASSWD => 'secret', LANG => 'EN', CLIENT => '200', SYSNR => '00', TRACE => '1' ); my $it = $rfc->discover("RFC_READ_TABLE"); $it->QUERY_TABLE('TRDIR'); $it->ROWCOUNT( 2000 ); $it->OPTIONS( ); # or pass a list of hash refs like so: $it->OPTIONS( ); $rfc->callrfc( $it ); print "NO. PROGS: ".$it->tab('DATA')->rowCount()." n"; print join("n",( $it->DATA )); $rfc->close();SAP::Rfc - is a Perl extension for performing RFC Function calls against an SAP R/3 System. Please refer to the README file found with this distribution. This Distribution also allows the creation of registered RFCs so that an SAP system can call arbitrary Perl code created in assigned callbacks.The best way to describe this package is to give a brief over view, and then launch into several examples. The SAP::Rfc package works in concert with several other packages that also come with same distribution, these are SAP::Iface, SAP::Parm, SAP::Tab, and SAP::Struc. These come together to give you an object oriented programming interface to performing RFC function calls to SAP from a UNIX based platform with your favourite programming language - Perl. A SAP::Rfc object holds together one ( and only one ) connection to an SAP system at a time. The SAP::Rfc object can hold one or many SAP::Iface objects, each of which equate to the definition of an RFC Function in SAP ( trans SE37 ). Each SAP::Iface object holds one or many SAP::Parm, and/or SAP::Tab objects, corresponding to the RFC Interface definition in SAP ( SE37 ).For all SAP::Tab objects, and for complex SAP::Parm objects, a SAP::Struc object can be defined. This equates to a structure definition in the data dictionary ( SE11 ). Because the manual definition of interfaces and structures is a boring and tiresome exercise, there are specific methods provided to automatically discover, and add the appropriate interface definitions for an RFC Function module to the SAP::Rfc object ( see methods discover, and structure of SAP::Rfc ).Please note that USER and PASSWD are now case sensitive - this change has the potential to break backward compatibility. Requirements: · Perl


SAP::Rfc Related Software