RSAPGetCube: 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
RSAPGetCube(con, cube)

Arguments

con

an Open SAP RFC Conneciton handle

cube

The technical name of an infocube 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 <- RSAPGetCube(con, "0D_NW_T01")

  print(res)

  RSAPClose(con)
  

Value

Returns a data.frame of the info cube structure information

Note

You can run the RSAPListCubes(con) to get a list of cubes to query.

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 <- RSAPGetCube(con, "0D_NW_T01")

## End(Not run)

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