RfcConnArgv3(char ** argv,
RFC_OPTIONS * rfc_opt,
RFC_CONNOPT_R3ONLY * connopt_r3only
can be used to build up the
structures RFC_OPTIONS, RFC_CONNOPT_R3ONLY, RFC_CONNOPT_VERSION_3 or RFC_CONNOPT_CPIC from the command line.
This function is defined in SAPRFC.H.
Command line to be parsed.
Option structure to be filled.
Option extension for R/3 connection (a valid pointer must be
supplied all the time)
Option extension for a connection to an R/3 System of Release 3.0
or later (a valid pointer must be supplied all the time).
The following tokens are recognized
in the argv array, which must be terminated by a NULL entry:
- d <Destination>
name of the destination
- c <NNN>
client (sign on data)
- u <User ID>
- p <Password>
- l <Language>
turn trace on
- h <Hostname>
name of the target host
- s <NN>
system number of the target SAP System
- g <Gateway host>
gateway host (if not specified, the h option is used)
- x <Gateway service>
TCP/IP service of the gateway (default: sapgwNN, where NN is the
system number (-s))
start ‘sapgui’ to be able to display SAP Dypros or Graphics (R/3
start communication in debug mode (R/3 mode only).
All tokens that were interpreted by RfcConnArgv3 are removed from
the argv array.
See also RfcConnArgv.