Description Usage Arguments Details Value Note Author(s) See Also Examples
Open connections to an SAP System for RFC calls
1 | RSAPInvoke(con, func, parms)
|
con |
an Open SAP RFC Conneciton handle |
func |
The name of the SAP RFC function to call |
parms |
a named list of parameters to pass into the function call |
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)
Returns true or false
Not much to note here.
Piers Harding
RSAPConnect
, RSAPGetInfo
, RSAPClose
1 2 3 4 5 | ## Not run:
# Close the connection
RSAPInvoke(con, "RFC_FUNCTION_NAME", parms)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.