RSAPInvoke: SAP RFC function calls

Description Usage Arguments Details Value Note Author(s) See Also Examples

View source: R/RSAP.R

Description

Open connections to an SAP System for RFC calls

Usage

1
RSAPInvoke(con, func, parms)

Arguments

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

Details

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)

Value

Returns true or false

Note

Not much to note here.

Author(s)

Piers Harding

See Also

RSAPConnect, RSAPGetInfo, RSAPClose

Examples

1
2
3
4
5
## Not run: 
# Close the connection
RSAPInvoke(con, "RFC_FUNCTION_NAME", parms)

## End(Not run)

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