Projects / SAPRFC

SAPRFC

SAPRFC is the extension module for PHP that allows you to call ABAP functions in an SAP R/3 system from PHP scripts. It is also possible to write an RFC server program in PHP, and call PHP functions from ABAP. Other features include using the RFC (Remote Function Call) API to make a call, discovering the interface of a function module, and mapping all RFC types to PHP strings (delivered with a test script that has a similar function to the "Single Test" option in the SE37 transaction).

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  23 Dec 2005 08:28

    Release Notes: Support for the SSO2 (SAP Single Sign On) feature was added.

    •  23 Aug 2005 18:35

      Release Notes: This release adds support for target SAP Unicode system (including SAP Basis 6.40).

      •  27 Jul 2004 16:14

        Release Notes: The build support for PHP 5 was added. The test script saprfc_test.php was fixed, and support for "register_globals = off" was added. The new API function, saprfc_allow_start_program(), was added.

        •  31 Jan 2003 15:40

          Release Notes: The bug in handling optional import parameters has been fixed.

          •  09 Sep 2002 10:38

            Release Notes: A bug in the discovering of the interface of function modules if the target SAP release is 6.10 was fixed.

            Recent comments

            14 Nov 2002 16:29 adimacale

            Re: Great work !
            eXXos, I'm using the saprfc. I agree, it works great! I'm trying to use the BAPI_GOODSMVT_CREATE. I should return a document number; which it does; but when I look in SAP, there's none to be found. Have you had this problem?
            Thanks,

            Andy Dimacale

            > This library is really well done and
            > useful ! It opens lots of perspectives,
            > especially for people working with SAP
            > web based applications; it can also
            > extends backoffice processes
            > possibilities, as PHP can be used as a
            > shell script.
            >
            > I'm using the PHP/SAPRFC lib on a
            > Windows 2000 server and it works
            > perfectly. Just an installation tip, not
            > mentionned in the documentation : you
            > need to have
            > <b>msvcp60.dll</b> in your
            > WINDOWS directory in order that PHP can
            > load the php_saprfc.dll.
            >
            > Keep up the good work :-)
            >
            > eXXos.


            02 Apr 2002 06:36 polatalican

            Re: Saprfc and Suse 7.3
            Hello,

            SAPRFC does run with Suse 7.3...!
            It's behaving absolutely fine.

            I downgraded autoconf to version 2.13 and
            everything worked fine.


            > I used the sources.
            > I copied /saprfc to /php/ext and run
            > buildconf. After that configure
            > --with-saprfc didn't work. I get a few
            > "errors in line ...".
            > I checked this lines: they are
            > empty if-structures.
            >
            > I guess you would like to have the
            > exact error-messages...
            > I'll send them later...
            >
            >
            >
            >
            >
            > % What does mean that din't work ?
            > % Did you compile saprfc from sources
            > or
            > % use
            > % rpm binary ? The rpm binary is
            > only
            > % for RedHat 7.2.
            > %
            > %
            > % % this is a great project.
            > Currently
            > % I'm
            > % % using it in a win2000
            > environment.
            > % I
            > % % tried to run it with suse 7.3.
            > % Didn't
            > % % work, though.
            > % %
            > % %
            > %
            > %
            > %
            >
            >
            >


            26 Mar 2002 03:45 exxos

            Great work !
            This library is really well done and useful ! It opens lots of perspectives, especially for people working with SAP web based applications; it can also extends backoffice processes possibilities, as PHP can be used as a shell script.

            I'm using the PHP/SAPRFC lib on a Windows 2000 server and it works perfectly. Just an installation tip, not mentionned in the documentation : you need to have <b>msvcp60.dll</b> in your WINDOWS directory in order that PHP can load the php_saprfc.dll.

            Keep up the good work :-)

            eXXos.

            21 Mar 2002 10:59 polatalican

            Re: Saprfc and Suse 7.3
            I used the sources.
            I copied /saprfc to /php/ext and run
            buildconf. After that configure --with-saprfc didn't work. I get a few "errors in line ...".
            I checked this lines: they are
            empty if-structures.

            I guess you would like to have the exact error-messages...
            I'll send them later...

            > What does mean that din't work ?
            > Did you compile saprfc from sources or
            > use
            > rpm binary ? The rpm binary is only
            > for RedHat 7.2.
            >
            >
            > % this is a great project. Currently
            > I'm
            > % using it in a win2000 environment.
            > I
            > % tried to run it with suse 7.3.
            > Didn't
            > % work, though.
            > %
            > %
            >
            >
            >


            21 Mar 2002 10:17 koucky

            Re: Saprfc and Suse 7.3
            What does mean that din't work ?
            Did you compile saprfc from sources or use
            rpm binary ? The rpm binary is only for RedHat 7.2.


            > this is a great project. Currently I'm
            > using it in a win2000 environment. I
            > tried to run it with suse 7.3. Didn't
            > work, though.
            >
            >


            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.