Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to start and stop SAP in command line(WIN)

Good afternoon, colleagues.

Tell me how I can start / stop SAP from the command line? I know that you can start like that

E:\usr\sap\TST\SYS\exe\uc\NTAMD64\sapstart.exe name=TST nr=00 sapdiahost=test

, but in this case, the sap runs without a profile that is unacceptable.

With a stop seems to be clear, is performed in the

E:\usr\sap\TST\SYS\exe\uc\NTAMD64\stopsap.exe name=TST nr=00 sapdiahost=test

if that is not correct me.

Former Member
Former Member replied

Managed to solve the problem. To start the instance with a specific profile, run the command:

startsap sapstart.exe name=TST nr=00 sapdiahost=test pf=E:\usr\sap\TST\SYS\profile\TST_DVEBMGS00_Test

And in order to stop the SAP instance to execute a command like this:

stopsap name=TST nr=00 sapdiahost=test

Thank you all for your help! =)

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question