piersharding / RSAP

SAP NW RFC connector for R
21 stars 16 forks source link

RSAP - An R interface to SAP NetWeaver R/3 systems using the RFC protocol

Copyright (C) Piers Harding 2013 - and beyond, All rights reserved

== Summary

Welcome to the RSAP R module. This module is intended to facilitate RFC calls to an SAP R/3 system of release 4.6x and above. It may work for earlier versions but it hasn't been tested.

Prerequisites: Please insure that YAML and reshape are installed: install.packages(c('yaml', 'reshape'))

Installation:

install.packages('devtools') library(devtools) install_github('piersharding/RSAP', args=c("--configure-args='--with-nwrfcsdk-include=/home/piers/code/sap/nwrfcsdk/include --with-nwrfcsdk-lib=/home/piers/code/sap/nwrfcsdk/lib' --no-clean-on-error"))

The args= value passed in must correspond to the correct location for your setup for the INCLUDE and LIB paths to the NW RFC SDK you have installed from SAP.

Under *NIX YOU MUST MAKE SURE THAT YOU ADD THE LIB PATH TO LD_LIBRARY_PATH EG: export LD_LIBRARY_PATH=/usr/sap/rfcsdk/lib

Or better still add this to your ldconfig (Linux) in /etc/ld.so.conf (don't forget to run ldconfig afterwards)

See the file INSTALL (https://github.com/piersharding/RSAP/blob/master/INSTALL) for full installation instructions.

The package can be found at https://github.com/piersharding/RSAP

Examples: See the files in the tests/ directory.

Documentation: help(RSAP)

Bugs: I appreciate bug reports and patches, just mail me! piers@ompka.net

RSAP is Copyright (c) 2012 - and beyond, Piers Harding. It is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

A copy of the GNU Lesser General Public License (version 2.1) is included in the file COPYING.