Purpose
Command line parsing, supports 32-bit Windows only
Syntax
void ConnArgv (char** argv);
Parameters
argv
: Command line to be parsed.Exceptions
Throws const char* for memory exceptions.
Description
The following tokens are recognized in the argv array, which must be terminated by a NULL entry:
Table Caption
Token |
Description or Comment |
-d <Destination>: |
The name of the destination |
-c <NNN>: |
Client (sign on data) |
-u <User Id>: |
User id |
-p <Password>: |
Password |
-l <language>: |
Language |
-3: |
R/3 mode |
-2: |
CPIC mode |
-t: |
Turn trace on |
-h <Hostname>: |
The name of the target host |
-s <NN>: |
The system number of the target SAP system |
-g <Gateway Host>: |
The gateway host (if not specified, the h option is used) |
-x <Gateway Service>: |
The TCP/IP service of the gateway ( default is sapgwNN, where NN is the system number (-s) |
-gui: |
Start 'sapgui' to be able to display SAP Dynpros or Graphics (R/3 mode only). |
-debug: |
Start communication in debug mode (R/3 mode only). |
All tokens that were interpreted by ConnArgv are removed from the argv array.