RSAPExecInfoQuery: SAP RFC function calls

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

View source: R/RSAP.R

Description

Execute a call to an Info Query, and return a data.frame of the results

Usage

1
RSAPExecInfoQuery(con, infoprovider, infoquery)

Arguments

con

an Open SAP RFC Conneciton handle

infoprovider

The technical name of an infoprovider to read

infoquery

The technical name of an infoquery to read

Details

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
  con <- RSAPConnect(ashost="nplhost", sysnr="42",
                      client="001", user="developer", 
                      passwd="developer", lang="EN", 
                      trace="1", lcheck="1")

  res <- RSAPExecInfoQuery(con, "0D_NW_M01", "0D_FC_NW_M01_Q0002")

  print(res)

  RSAPClose(con)
  

Value

Returns a data.frame of the info query results

Note

Use transaction RSRT in SAP to find info providers, and queries.

Author(s)

Piers Harding

See Also

RSAPConnect, RSAPGetInfo, RSAPInvoke, RSAPReadTable, RSAPClose

Examples

1
2
3
4
5
## Not run: 
# read the NW demo data info cube
  res <- RSAPExecInfoQuery(con, "0D_NW_T01", "20120716",chars=list("0D_NW_SORG", "0D_NW_PROD"), kfigures=list("0D_NW_NETV"))

## End(Not run)

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