Learn R Programming

RSAP (version 0.9)

RSAPInvoke: SAP RFC function calls

Description

Open connections to an SAP System for RFC calls

Usage

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

Value

Returns true or false

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)

See Also

RSAPConnect, RSAPGetInfo, RSAPClose