The command line parameters of the SAPConsole are as follows:
Sapcnsl.exe [-PARAM1[VALUE1]… -PARAMn [VALUEn]…]
Where:
-? = help
-a = try to login without confirmation
-p = profile name
-c = client
-u = user name
-s = password
-l = language
Example:
sapcnsl.exe –p “U9C test” –c 800 –u youruser –s yourpswrd –l en –a
Web Version
Where:
p = profile name
c = client
u = user name
s = password
l = language
a = try to login without confirmation
These parameters are added to URL using "GET" method.
The priority of parameters: p, c, u, s, l, a.
Examples (for IIS):
http://alextest/sap/isapi_sapcnsl.dll?p=u9b
http://alextest/sap/isapi_sapcnsl.dll?c=800&u=alex&s=223322&l=en
http://alextest/sap/isapi_sapcnsl.dll?p=u9b&c=800&u=alex&s=223322&l=en&a
http://alextest/sap/isapi_sapcnsl.dll?p=u9b&c=800&u=alex&s=223322&l=en