RSAP-package: SAP RFC Connector for R

Description Details Author(s) See Also

Description

Package RSAP implements SAP RFC connectivity for R using the NW RFC SDK

See the package manual for details of installation and use.

The project is hosted at https://github.com/piersharding/RSAP

Details

Enable the use of SAP RFC connectivity to access SAP data, similar to connecting to a database.

con <- RSAPConnect(ashost="nplhost", sysnr="42", client="001", user="developer", passwd="developer", lang="EN", trace="1", lcheck="1")

info = RSAPGetInfo(con) print(info)

parms <- list('BYPASS_BUFFER' = 'X', 'MAX_ENTRIES' = 50, 'TABLE_NAME' = 'T005')

res <- RSAPInvoke(con, "RFC_GET_TABLE_ENTRIES", parms) print(res$ENTRIES) RSAPClose(con)

All RFC table results are returned as data.frame.

Author(s)

Piers Harding

See Also

RSAPConnect, RSAPGetInfo, RSAPInvoke, RSAPReadTable, RSAPReadCube, RSAPClose


RSAP documentation built on May 29, 2017, 1:47 p.m.