GET example
A GET()
function uses
the R/3 adapter to retrieve data.
The
following examples show map rules using a GET()
function for JALE and JBAPI using
R/3 adapter commands to specify the destination key for the Saprfc.ini file.
GET("JALE", "-D MY_R3 -AR3")
GET("JBAPI", "-D MY_R3 -c 800 -u IDES_USER -p initpass",
CPACKAGE (JBAPI, "NATIVE"))
EITHER(GET("JBAPI", "-D MY_R3-c 800 -u IDES_USER -p initpass",
CPACKAGE (JBAPI, "NATIVE")),
IF (0 < LASTERRORNUM(), FAIL(LASTERRORMSG()))
Note: The JBAPI adapter can only be used in the GET function. It cannot be used in a map input card,
map output card, or PUT function.