Description Details Author(s) See Also
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
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.
Piers Harding
RSAPConnect, RSAPGetInfo, RSAPInvoke, RSAPReadTable, RSAPReadCube, RSAPClose
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.