cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling SAP thro' Windows Comand line

Former Member
0 Kudos

Hi Everyone,

Can anyone say how to Control SAP in Windows Command pmpt? Ex: Start Service, Stop Service ,Etc..

Plz give in detail

Thnx

Siva

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

I am not sure if you are asking just for windows command or also for some command line programs for monitoring and administration delivered by sap which are part of the kernel like dpmon, msmon, sappfpar etc. if yes check this link

http://help.sap.com/saphelp_nw04/helpdata/en/7a/6b1538e665c93ee10000009b38f842/content.htm

former_member256962
Participant
0 Kudos

Also along with pf=profile

Former Member
0 Kudos

Siva,

This same question was asked in another thread today itself...you can refer to that thread..

Anyways you can also use

net stop <service name>

net start <service name>

from cmd prompt to stop/start services.

Cheers!

Bidwan

Former Member
0 Kudos

Hi Bidwan,

thx for your Response . But.,I dont know how to see the service Name. Could you please help me?

Former Member
0 Kudos

<service name> is the name of the service that you can see in Run->services.msc. All SAP services in this list will start with the keyword 'SAP'

Former Member
0 Kudos

Type only "net start" -> this this will show you all running servicenames

Former Member
0 Kudos

Yes, i got it. thnx for ur Valuable info. I ve rewarded Points

If anything else u can teach me about Controlling SAP in Command line, plz let me know. Because im a beginner in Basis.

Thx

Siva

Former Member
0 Kudos

Hi Siva,

Try this this is very important.

stopsap name=<SID> nr=<SYSNR> SAPDIAHOST=<host>

startsap name=<SID> nr=<SYSNR> SAPDIAHOST=<host>

OS Collector:

saposcol -k

Oracle Listener:

lsnrctl stop / start

Regards,

Hari. PS: Points are welcome

former_member256962
Participant
0 Kudos

sc start <servicename>

sc stop <servicename>

startsap r3 name=<SID> nr=<instancenr> SAPDIAHOST=<msgserverhost>