Skip to Content
avatar image
Former Member

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 12, 2013 at 07:54 AM
    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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! =)

  • avatar image
    Former Member
    Aug 12, 2013 at 07:50 AM

    Hello Stepan,

    In Unix/Linux, commands are as follows:

    startsap , stopsap - complete

    stopsap r3, startsap r3 - instance only

    you must be logged as <SID>adm.

    Should be alike in Windows.

    Regards

    George Solc

    Add comment
    10|10000 characters needed characters exceeded