XAMPP and SAPRFC

Hi,
I've installed XAMPP (From Apache friends). The following are the versions of different packages:
+ Apache 2.2.6
  + MySQL 5.0.51
  + PHP 5.2.5
I've unzipped the file saprfc-1.4.1-4.4.1.Win32 and copied the php_saprfc.dll to the ext and extension directories of php.
When i run saprfc_test.php test script i get the error
,,SAPRFC extension not loaded'' What could be the reason ? Is it that the saprfc.dll and PHP are incompatible and I need to build PHP on windows ?
Thanks and regards,
Srini.

There are lots of threads on this so I would search for them first but one thing you must do is make sure you have a version of SAPRFC which matches the version of PHP you are using.
Download the right file from [here|http://sourceforge.net/project/showfiles.php?group_id=29190&package_id=21073]
Since there is no version for PHP 5.2.5 try the 5.2.6 version.
saprfc-1.4.1-5.2.6.Win32.zip Note the section of the file name after the 1.4.1- refers to the php version.
Note if you are trying to do this on a NW 7 system you are stuffed. The SDK has been upgraded and the SAPRFC wont work with it. Feel free to use your C-fu to rewrite it
Hope this helps,
Nigel

Similar Messages

  • PHP 5.2 and saprfc 1.4.1

    Hey all,
    Has anyone tried hooking-up PHP 5.2 and saprfc 1.4.1?
    I tried but getting this error message when I restarted my apache 2.0.54 :
    <i>"<b>PHP Startup: saprfc: Unable to initialize module
    Module compiled with module API=20050922, debug=0, thread-safety=1
    PHP compiled with module API=20060613, debug=0, thread-safety=1
    These options need to match" </b></i>
    I thought it's probably caused by the fact the the DLL, php_saprfc.dll binaries provided from the sourceforge download of SAPRFC was compiled with PHP 5.1.1, and not PHP 5.2.  Is that right?
    So, I tried recompiling the binaries itself by following the instruction provided by the INSTALL instruction of saprfc. However the compilation fails with the following message:
    <i><b>"Error     1     fatal error C1083: Cannot open include file: 'zend_config.h': No such file or directory     c:\php-5.2.0\Zend\zend.h     (line)53"</b></i>
    Although looking at zend.h there's an if statement there that if it's WIN32 then look for zend_config.win32.h.  Check out the codes below:
    #ifdef ZEND_WIN32
    # include "zend_config.w32.h"
    # define ZEND_PATHS_SEPARATOR          ';'
    #elif defined(NETWARE)
    # include <zend_config.h>
    # define ZEND_PATHS_SEPARATOR          ';'
    #elif defined(__riscos__)
    # include <zend_config.h>
    # define ZEND_PATHS_SEPARATOR          ';'
    #else
    # include <zend_config.h>
    # define ZEND_PATHS_SEPARATOR          ':'
    #endif
    Anyone has any luck?  I've been wanted to check this out with my SAP 4.6B but hope you guys can help me out here.
    Thanks!!
    -Ed

    hello all,
    I'm very new to this.
    I'm using apache2.0 and php 5.3
    i followed http://downloads.sourceforge.net/saprfc/saprfc-1.4-5.2.0.Win32.zip
    to download saprfc extension, but the page is redirected to saparefc1.41.all.
    On that zip files i couldn't get the extension for me.
    If you have the extension saprfc for php 5 can you send it to me or tell me from where I can download.
    when i downloaded the saprfc.tar.zip  and used its dll file for php extension,
    but my Apache won't work and says that it needs php4ts.dll files.
    i think that that extension is for php 4. when i reverted its working.
    So please give me the location to download the saprfc extension for php5.3 or more. please feel free to contact me.
    Thanks in advance
    Xavier Emerson
    [email protected]

  • Settings for PHP5 With Apache 2  and SAPRFC in WIndows

    Hi,
    Can anyone give me the exact version of software that needed for the settings for PHP5 with Apache 2 and SAPRFC in Windows.Thank you

    If it's just a test/dev environment you need you can try "<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn?rid=/library/uuid/e50bd86e-0a01-0010-53bd-857585234a6a">scripting in a Box</a>" it also lists the versions and pieces needed for the setup you are looking for.

  • PHP 5.2.2 AND SAPRFC 1.4.1 5.2.2

    Hello,
    i know, the same question i can find often in that Forum,
    but no answer will work on my system.
    <b><u>My Problem:</u></b>
    The "<i>php_saprfc.dll</i>" will not load.
    If i check with <i>extension_loaded ("saprfc")</i>, nothing will return. Also phpinfo shows me, that the DLL isnt loaded.
    Since three days i read in Forums and tried so many suggestions, but nothing will work.
    <b><u>System:</u></b>
    Webserver: IIS 6.0
    Operation System: Win 2003
    PHP Version: 5.2.2
    SAPRFC Version: 1.4.1-5.2.2
    SAPgui <b>not</b> installed, but <i>librfc32.dll</i> in "<i>/system32</i>" and registered by using <i>regsvr32 librfc32.dll</i>
    Version 6206.6.1761 (file info)
    Note: I got the DLL from our SAP-Team
    Dependency proofed with <i>Dependency Walker</i> one file missing: "<i>drvadodb.dll</i>
    Extension-Root located under "{<i>php-root</i>}/ext" (proofed with phpinfo)
    <i>php_saprfc.dll</i> file exists in Extension Folder
    in php.ini "<i>extension=php_saprfc.dll</i>" entered
    Note: all (exept one) defined extensions were loaded (proofed with phpinfo)
    IIS reset and also reboot of the System
    Note: Even the connection to the MS SQL database works proper
    I hope on your help and thanks for your efforts in advance!
    Matthias
    P.S.:
    Please, if it is possible do not send me link, because i have read all the links posted in this Forum. (and tried the suggestions)
    Message was edited by:
            Matthias Knopf

    Hello Matthias,
    I run into the same problem, my system:
    Web server: IIS 6.0
    Operation System: Win 2003
    PHP Version: 4.4.2
    SAPRFC Version: saprfc-1.4.1-4.4.1.Win32
    I located the librfc32.dll under c:\windows (and also tried c:\windows\system32)
    On a Windows XP, it works for me fine. However, on the Win 2003 the php_saprfc.dll is not loaded.
    Did you manage to solve this issue?
    Thanks in advance,
    Roy

  • [INSTALLATION] Connect Xampp and MySQL?

    Hi,
    I want to install MySQL-PHP-Apache.
    The first thing I did was to download and install MySQL.
    Then, I installed Xampp.
    The main reason why I installed MySQL separatly was to be able to use MySQL from a command-line. With the Xampp install, we can't.
    How can I connect the MySQL install and the Xampp install? I mean that if I, for example, create a database in a command-line, involving only MySQL, the changes are not applied to the Xampp (phpMyAdmin).
    I don't know if you understand...
    Maybe should I install PHP and Apache separatly also (without Xampp)?
    Thanks!:)

    http://wiki.archlinux.org/index.php/MySQL <- did you follow this ?

  • Java XAMPP and Tomcat plugin

    Hello
    I want to add a Tomcat to my XAMPP. therefore I have to install a JDK. So I installed the j2eesdk-1_4-windows.exe. It's running and I included the C:\Sun\AppServer\bin to the Classpath. my java Version is 1.5.0 and javac is also running from everywhere.
    If I try to start the "xampp-tomcat-addon-1.4.9-installer.exe" I get the following error message: "SUN Java 2 SDK win32 not found. Unable to get install Path"
    System is Win XP Prof.
    thanks for help

    Hi:
    You must to install this (j2sdk-1_4_2_07-windows-i586-p.exe) for run tomcat plugin.
    this is the link for access to that file
    http://java.sun.com/j2se/1.4.2/download.html
    suft that page and look for this name: J2SE v 1.4.2_07 SDK next download it.
    Please any problem, let me know
    bye bye
    NIKO

  • Xampp and forbidden 403 / browsing files lighttpd

    Hello,
    i have a problem with xampp, but is the same if i use apache or lighttpd.. xampp uses /opt/lampp/htdocs/ for the DocumentRoot, but all my work is in /home/kcr/working and i want leave that there.. if i change the DocumentRoot with
    DocumentRoot="/home/kcr/working"
    my browser give me the 403 error..what i want is the possibilty of browsing my own work directory...
    what can i do?
    thanks
    Last edited by kcr (2008-10-23 19:22:13)

    Users' home directories are assigned 700 (drwx------) permissions by default. Therefore, the web server, which is running under "http", is unable to access your ~. You can either run the web server under your user account, or alter your home folder's permissions to allow access to the web server (755 maybe).
    Last edited by foutrelis (2008-10-22 18:12:46)

  • How to get SAPRFC working on XAMPP 1.6.2? Try this.

    Hi
    I have just managed to get SAPRFC working with XAMPP 1.6.2 (released on  29/05/2007). I noticed there was not much information on XAMPP in the PHP Development forum, so thought this might be useful for anyone who may wish to use it.
    I originally started with Craig Cmehil's post <a href="/people/sap.user72/blog/2005/05/15/getting-started-with-php started with PHP</a>. I already had XAMPP installed, so just needed to update it and add SAPRFC support.
    I am using the following:
    Windows XP SP2
    XAMPP 1.6.2 - <a href="http://www.apachefriends.org/en/xampp-windows.html">http://www.apachefriends.org/en/xampp-windows.html</a>
    This includes:
    1. Apache 2.2.4
    2. MySQL 5.0.41
    3. PHP 5.2.2 + 4.4.7 + PEAR + Switch
    4. And other modules included. See XAMPP website for more information on the extra modules included.
    SAPRFC  1.4-5.20 - Re: PHP 5.2 and saprfc 1.4.1. This provided me with a link to SAPRFC 1.4-5.2.0. Using the php_saprfc.dll file included in this ZIP file solved the problem.
    <u>Instructions</u>
    1. Install XAMPP and follow setup taking defaults (I installed to C:\DEV\XAMPP)
    2. Extract SAPRFC to a suitable location (e.g. C:\DEV\SAPRFC)
    3. Copy the php_saprfc.dll file to the XAMPP\PHP\EXT folder (as defined in the extensions_dir in PHP.INI).
    4. Copy the remainder of the SAPRFC ZIP file to the XAMPP\HTDOCS folder. Create subdirectory if required.
    4. Edit PHP.INI and add the line <i>extensions=php_saprfc.dll</i> You will need to add this after the last <i>extensions=<some_extension>.dll</i> line.
    5. Shutdown and restart Apache using the XAMPP Control.
    6. Launch Internet Explorer and go to page <i>http://localhost/saprfc_test.php</i> or if you have put the SAPRFC PHP files in a subdirectory go to <i>http://localhost/yoursubdirectory/saprfc_test.php</i>.
    7. By running the saprfc_test.php file you should see a logon page.
    It should now be working on the PHP 5.2.2. I have not tested with the 4.4.7 version.
    That's all you need to do, so you should now be able to test some of the examples that are in the Blogs.
    Best of luck
    Nick

    Hello everybody,
    I've found simple solution for all problems with "Generate Activation Context failed for  ... php_saprfc.dll". This has something to do with missing libraries at your system.
    The next trace in Event viewer -> System was:
    "Dependent Assembly Microsoft.VC80.CRT could not be found and Last Error was The referenced assembly is not installed on your system.
    The solution is install: Microsoft Visual C++ 2005 Redistributable Package (x86)
    "vcredist_x86.exe" available at Microsoft downloads page.
    Good luck
    Michal.

  • SAPRFC Installation

    Hi there.
    I've installed:
    PHP 5  in C:/Programme/XAMPP
    APACHE in C:/Programme/XAMPP and
    unzipped SAPRFC in C:/Programme/XAMPP/PHP/ext/rfcsdk.
    I've copied php_saprfc.dll into C:/Programme/XAMPP/PHP/ext and modified php.ini as below:
    extension_dir = "C:\Programme\xampp\php\ext\"
    extension=php_saprfc.dll
    I've no problem with SAPGUI and PHP itself.
    But I got following error:
    Message: This script use SAPRFC extension module for PHP and the extension isn't loaded. If you have already the extension compiled and installed, check your php.ini configuration.
    I've tried to follow the install instructions from SAPRFC. Is it possible that SAPRFC hat some problem with PHP-Location under XAMPP?
    Thanks in adv.
    sumiya

    Hi,
    I have checked the user authorizations. My user has SAP_ALL and is authorized to call/perform BSP-Applications and RFC-Functions.
    I have tested on sap-system the function SO_USER_LIST_READ and it shows me more than 200 users.
    Then I switched on tracing (ST01) and called my PHP-application, but there is no entries in the tracelist.
    I modified example_userlist.php a little bit and inserted echo-commands giving out messages after every function. It seems, it doesn't even reach the SAP-System. I got only the first message "create saprfc", that I put after creating saprfc.
    I would be very appriciated if you could have a look at the following codes:
    <html>
    <h1>SAPRFC-Class: Get List of Users in SAP-System</h1>
    <?php
         require_once("saprfc/saprfc.php");
         $sap = new saprfc(array(
                                  "logindata"=>array(
                                       "ASHOST"=>"myhost"     // application server
                                       ,"SYSNR"=>"00"          // system number
                                       ,"CLIENT"=>"420"     // client
                                       ,"USER"=>"AGOMBOJAV"     // user
                                       ,"PASSWD"=>"mypasswd"     // password )
                                  ,"show_errors"=>false                         ,"debug"=>false)) ;
        echo '<p>create saprfc</p>';
         $result=$sap->callFunction("SO_USER_LIST_READ",
                                            array(     array("IMPORT","USER_GENERIC_NAME","*"),
                                                      array("TABLE","USER_DISPLAY_TAB",array())
         echo '<p>call function</p>';               
         if ($sap->getStatus() == SAPRFC_OK) {
              echo '<p>Yes, print Userlist</p>';
              ?><table>
                   <tr><td>SAP-Name</td><td>User-Nummer</td></tr><?
              foreach ($result["USER_DISPLAY_TAB"] as $user) {
                   echo "<tr><td>", $user["SAPNAM"],"</td><td>",$user["USRNO"],"</td></tr>";
              ?></table><?
         } else {
             echo '<p>No, print Error</p>';
              $sap->printStatus();
         echo '<p>Logoff/Close </p>';
         $sap->logoff();
    ?>
    Is there anyway of debugging of php-applications in SAP-System?
    thanks and regards,
    sumiya

  • Problems with flex and php.

    Hello, my name is Gamaliel Arredondo, i have to develope a project in flash builder 4 using the data service to connect with php, the application has installed the zend framework automatically just like the tutorials said, I use xampp and i have the files in the htdoc location, all the path are correct but when i want to connect to my php classes i receive this message:
    Make sure that Zend Framework is installed correctly and  the parameter "amf.production" is not set to true in the amf_config.ini file  located in the project output folder.     /0/onResultÿÿÿÿ � Uflex.messaging.messages.AcknowledgeMessage correlationId clientId destination messageId timestamp timeToLive headers  body I797BFBCC-250A-A100-9954-68CD2AC82DF5 I2570DA6E-2F76-55E9-2249-000075B2C293  I590AA123-C3CE-5F48-6A94-00002F9B370A  126571301000      ‡G
    I have searched on internet in order to find a solution but i haven't found anything that can help me, so i would like to receive some of help, my email is [email protected], if you can help me i will thank you so much, have a nice day.

    Hello, I am Gamaliel Arredondo, i have solved this problem, the error is in the code, you have a mistake in your code, check it out.
    The way to run the flex applications, in my case, i installed xampp, in the htdoc directory i put the folder with the files of the application and all is working very well, only when the apache is running because if it is stoped the application show error, please review your code and if you have problems you can contact me by e-mail ([email protected]) i also fought with that problem but i could find the solution, i hope to help you.

  • Php 5.12 / Apache 2.054 / Saprfc 1.4.1 for php 5.1.1

    Hi Everybody,
    I am trying to install this sap connector.
    It's easy but no simple to find the good version running together.
    My configuration below :
    Windows XP Pro SP2
    IIS 5.1 on port 80
    Apache 2.054 on port 8080
    Php 5.12
    Saprfc 1.4.1 for php 5.1.1
    I use the binaries distributions for each product.
    I have no issue, i hope, to load php_saprfc.dll module: i have no error message when Apache is starting.
    The test file index.php is running nice and display the environment to screen, BUT I DON'T FIND SAPRFC MODULE.
    If some of you have a idea, thanks for your help.
    If its usefull i have no issue to send us my files httpd.conf and php.ini.
    Best Regards
    Georges FREROT

    Hi Everybody,
    I want test the connector saprfc with php on two technical environments bellow:
    - Windows XP SP2 Professional, IIS 5.1, php 5.11 or 512
    - Windows XP SP2 Professional, Apache 2.054, php 5.11 or 512
    Windows XP is running on C: .
    IIS 5.1 is running on port 80, and Apache 2.054 on port 8080.
    I have build a development workspace on H: .
    The directory tree has this structure:
    H
    Apache2054
    Apache2
    Php511
    ext
    sessions
    includes
    Php512
    ext
    sessions
    includes
    saprfc141-511
    WebDev
    Sessions
    I have downloaded binaries of Apache 2.054, Php 5.11 and 512 and his Pecl 5.11 and 512 and Saprfc 141 511.
    I have uncompressed :
    Php 5.11 under H:\php511, 
    Pecl 5.11 under H:\php511\ext,
    Php 5.12 under H:\php512, 
    Pecl 5.12 under H:\php512\ext,
    Apache 2.054 under H:\Apache2054,
    SapRfc 1.4.1 5.1.1 under H:\saprfc141-511
    My first step is run php on IIS in isapi mode. It’s successful.
    The command localhost:80//Index.php display correctly echo phpinfo().
    My second step is install saprfc requirements:
    Copy:
    php_saprfc.dll in H:\Php511\ext
    php_saprfc.dll in H:\Php512\ext
    librfc32.dll up to date in C:\Windows\System32
    Verify msvcp60.dll up to date is in C:\Windows\System32.
    Modify php.ini:
    Include_path = “.;H:\Php511\includes;H:\Php511\pear”
    Extension_dir =”H:\Php511\ext”
    Include_path = “.;H:\Php512\includes;H:\Php512\pear”
    Extension_dir =”H:\Php512\ext”
    Extension=php_mbstring.dll
    Extension=php_gd2.dll
    Extension= php_saprfc.dll
    Extension=php_soap.dll
    Extension=php_mysql.dll
    To run php 5.11 or php 5.12 I modify the system path and configuration in WebServer 
    The results with php 5.11 are :
    With IIS 5.1 no loading error message, echo phpinfo() running nice, but no display the saprfc module.
    With APACHe 2.054 loading error message the same twice for php_saprfc.dll
    The results with php 5.12 are :
    With IIS 5.1 no loading error message, echo phpinfo() running nice, but no display the saprfc module.
    With APACHe 2.054 no loading error message, echo phpinfo() running nice, but no display the saprfc module
    If some of you have an idea what is wrong or forget at this point, thanks to help me.
    Bests Regards
    Georges FREROT

  • PHP has encountered an Access Violation - W2K Server/PHP 5.1.1/SAPRFC 1.4.1

    Hi Everybody,
    we are running a business critical PHP application. Currently it runs on a W2K Server with PHP Version 4.2.3 and SAPRFC 1.2.1. We had to switch to a new hardware and want also to use a actual version of PHP / SAPRFC. So we installed PHP 5.1.1 and SAPRFC 1.4.1.
    When I call a special RFC enabled Function Module I can reproduce to create the error Message "PHP has encountered an Access Violation". We had this problem on the old server also but only once in a month. On the new system we got the error reproducable after this special function module.
    In the server logs I've found this message:
    The HTTP server encountered an unhandled exception while processing the ISAPI Application '
    wam!WAM_REQ_CORE::GetSz(unsigned long)const  + 0x51
    php5isapi!HttpExtensionProc + 0x6B3
    wam!DllCanUnloadNow + 0x636
    wam!DllCanUnloadNow + 0x20C
    w3svc!HTTP_HEADERS::FindValue(char const *,unsigned long *) + 0xE2
    w3svc!STR::Copy(char const *,unsigned long) + 0xC71
    w3svc!STR::Copy(char const *,unsigned long) + 0xB49
    w3svc!STR::Copy(char const *,unsigned long) + 0x9A2
    w3svc!CLIENT_CONN::OnSessionStartup(int *,void *,unsigned long,int) + 0x642
    w3svc!HTTP_HEADERS::Reset(void) + 0x1CA
    w3svc!STR::Copy(char const *,unsigned long) + 0x16EF
    ISATQ!CDirMonitor::RemoveEntry(class CDirMonitorEntry *) + 0x13A
    + 0xECA5F1B3
    I've already tried  <a href="http://www.eventid.net/display.asp?eventid=204&eventno=731&source=WAM&phase=1">setting b</a> from <a href="http://bugs.php.net/bug.php?id=31731&edit=1">HTTP server encountered unhandled exception while processing ISAPI Application</a>.
    Any suggestions?
    Regards
    Gregor

    Hi Gregor,
    If you need to remain on windows it is an option, however you would then need to setup a different authentication for your SSO. The only Apache on windows I run is a test machine. Hopefully someone here has experience with Apache in a productive environment.
    Did you come across this link http://bugs.php.net/bug.php?id=35568 in your search for problems? This discusses a problem in PHP 5.1.1 that did not exist in 4.X . There is a fix in 5.1.2 . However I could not see a description of the cause, just a pointer to the fix.
    It may not help your productive environment, but may lead you in the right direction.
    Cheers
    John

  • Images not visible using a local server with XAMPP

    HI
    I've resurrected an old project which worked in the past.  Since then, Ive upgraded both Windows (8.1) and Dreamweaver (CC)  Today I installed the latest XAMPP and created a folder called xamp2015.  I copied the old project (MySite) to the HTDOCS folder
    Now, the site logic is working, BUT, the images are not appearing.
    They are stored here C:\xampp2015\htdocs\MySite\Images\Main
    My Local Site folder is C:\xampp2015\htdocs\Mysite
    Default Images folder is C:\xampp2015\htdocs\MySite\Images\
    The images will appear if I move them to c:\xampp2015\htdocs\MySite and update the links, but this would lead to a messy structure, which was not needed previously
    Does anyone have any suggestions?

    Hi
    Thanks for your message.  I'm confident with folder names as they havn't been changed since it worked,, but I doubled checked after your reply
    Heres the code for one image and how it looks in Live view
    <div class="header"><a href="#"><img src="Images/Main/MySite Logo.gif" alt="Insert Logo Here" name="Insert_logo" width="720" height="100" id="Insert_logo" style="display: block; margin: auto;" /></a><!-- end .slideshow -->
      </div>
    Grabs of the files panel show;

  • Localhost dreamweaver cs4 for mac xampp

    hello I have xampp installed on my mac (os 10.4) and have just installed DW CS4.  Using an ancient version of DW (version 6 ) I was able to connect to my localhost no problem.  It is located on the local root folder (usr:Applications:xampp:xamppfiles:htdocs:test:) and URL prefix for the testing server is http://localhost/test/ and everything works ok.  However in DW CS4 I get stuck at the prompt which asks me "What URL would you like to use to browse to the root of your site?" and entering http://localhost/ doesn't work, neither does http://localhost/test/ (the location of my php files) nor does http://localhost/test/helloWorld.php nor does any other crazy combination I've tried.
    The error message received when clicking "Test URL" is the following: Dreamweaver cannot use the prefix you entered to display live data. Please double-check your site configuration or click on Help etc etc" clicking on help doesn't really do the trick.
    Perhaps CS4 doesn't like XAMPP?
    Hopefully the fix is something relatively simple.
    Thanks

    XAMPP on a Mac is relatively unusual. For a long time, it was marked as experiental and "use at your own risk". Most Mac users opt for MAMP. Anyway, if it's working satisfactorily, the principle of defining a testing server is the same for both XAMPP and MAMP.
    Rather than use the Basic site set up, I suggest you click the Advanced button at the top of the Site Definition dialog box, and follow the instructions here: http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php_05.html.

  • Need help: php saprfc

    Hy all!
    I get this error message:
    Warning: RFC Error Info : Key : RFC_ERROR_SYSTEM_FAILURE Status : Message : Value for ID 'CODEPAGE' not found Internal: in D:\USERDATA\lakatba\programs\xampp\htdocs\saprfc\test2.php on line 30
    Exception raised: NO_DATA_FOUND
    Can you help me?
    my script:
    +$login = array (
                   "ASHOST"=>"********",
                   "SYSNR"=>"**",
                   "CLIENT"=>"***",
                   "USER"=>"*******",
                   "PASSWD"=>"******",
                   "CODEPAGE"=>"1100");
    $rfc = saprfc_open ($login );
    if (! $rfc ) { echo "RFC connection failed"; exit; }
    //Discover interface for function module SWNC_COLLECTOR_GET_AGGREGATES
    $fce = saprfc_function_discover($rfc,"SWNC_COLLECTOR_GET_AGGREGATES");
    if (! $fce ) { echo "Discovering interface of function module failed"; exit; }
    //Set import parameters. You can use function saprfc_optional() to mark parameter as optional.
    //u2014u2014u2014- Import parameters
    saprfc_import ($fce,"COMPONENT","TOTAL");
    saprfc_import ($fce,"ASSIGNDSYS","TST");
    saprfc_import ($fce,"PERIODSTRT","04.07.2011");
    saprfc_import ($fce,"PERIODTYPE","W");
    saprfc_optional ($fce,"SUMMARY_ONLY","");
    saprfc_optional ($fce,"FACTOR","");
    //Fill internal tables
    saprfc_table_init ($fce,"TASKTYPE");
    //Do RFC call of function SWNC_COLLECTOR_GET_AGGREGATES, for handling exceptions use saprfc_exception()
    $rfc_rc = saprfc_call_and_receive ($fce);
    if ($rfc_rc != SAPRFC_OK) { if ($rfc == SAPRFC_EXCEPTION ) echo ("Exception raised: ".saprfc_exception($fce)); else echo (saprfc_error($fce)); exit; }
    //Retrieve export parameters
    $rows = saprfc_table_rows ($fce,"TASKTYPE");
    for ($i=1;$i<=$rows;$i++)
         $TASKTYPE[] = saprfc_table_read ($fce,"TASKTYPE",$i);
    //Debug info
    saprfc_function_debug_info($fce);
    saprfc_function_free($fce);
    saprfc_close($rfc);+

    Hello,
    I think that according to [ this|http://help.sap.com/saphelp_sm32/helpdata/en/0a/5d453cf1fcc85ee10000000a11402f/content.htm] you should use a code page 1160.
    Let us know if it works

Maybe you are looking for

  • A few issues... help.

    I transfered a document from Appleworks to Word after I saved the Appleworks document as a Word Windows 97, 2000, XP 2002 Format. I did this because I figured that format best suited Word 2004. I have Microsoft Office:Mac (Student Teacher Edition) 20

  • Is it possible to do portal content transports through System landscape?

    Hello, In order to transport content from portal A to portal B I am currently using transport packages: export the content from portal A, download it to the local PC and import it to portal B. The process is working OK but I still have a question: SA

  • Problem to receive mail with Apple Mail client

    Apple Mail cannot receive mail. Mail is sent without any problems. I thought that it may have to do with my iPhone but when it is shut down I still get this error. The error message that I get is: Unable to Receive Mail The mail server denied access

  • DisplayPor​t on HP 5310m also supports audio?

    I'm considering buying a 5310m that comes with a DisplayPort instead of a HDMI. Does the DisplayPort supports audio pass-through? There were problems with other brand of notebooks that started to use the DisplayPort interface, people were complaining

  • How can I see the windows 8 contacts in outlook 2013 with groups preserved

    I an see my windows 8 contacts. they are all nice and some are broken down into groups. (I double clicked an old .wab and they imported nicely into windows 8, preserving groups) now how can I see this same structure as an email lists with groups in o