You need to use SAPSHCUT for this. Maybe you're using SAPGUI.exe instead, which will not accept the username and password as parameters.
You need to pass these parameters:
-sysname = entry name in SAPLogon
-client = client number
-user = user ID
-pw = password (in plain text)
Optionally, you can pass parameter -command to execute a transaction upon logon.
See example below:
Production -client=000 -user=sap* -pw=06071992 -command=SM04
Dig Deeper on SAP Basis administration and NetWeaver administration
Related Q&A from Giovanni Davila
Learn how to transfer a client from one server to another in this administration tip from Basis guru Giovanni Davila. Continue Reading
Learn how to return a list of 1,000 transport requests in SAP R/3 PRD in this tip from SearchSAP.com's Basis expert. Continue Reading
Read expert advice on implementing an SSO solution for SAP in this expert tip from Giovanni Davila. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.