Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how to execute SAP Transaction from cmd

Former Member
0 Likes
1,615

Hi, Dear All,

How can we execute an SAP Transaction from the command prompt.

Your inputs are highly appreacited.

regards

3 REPLIES 3
Read only

former_member150733
Contributor
0 Likes
881

You have a option to create a short cut/Link on the desktop for your SAP application. This can be done by clicking the 'Create a ShortCut' Icon on the SAP Menu bar.

If you take a Command prompt and run this

(make sure you run the link in the command by putting " "

eg., <b>"Short cut name.sap"</b> especially since it contains spaces in between),

it will navigate to the SAP application for which the shortcut has been created.

Regards,

Anish Thomas

Read only

Former Member
0 Likes
881

Hi

I hope you can't execute a SAP tcode from the DOS/Windows command prompt.

You have to execute from the SAP screen command prompt only

Just ask your basis person whether he can execute it from DOS/Windows Command prompt?

Reward points for useful Answers

Regards

Anji

Read only

Former Member
0 Likes
881

Go to the command prompt (CMD) and change to the directory where the SAPGUI software is located. Then, run: sapgui <hostname> <instance> Example: sapgui sapprd 00 This is a very fast way to start a SAPGUI session against the indicated SAP system and instance number.

another way is to locate the file of logon pad

in my system it was at C:\WINDOWS\SAPwksta\setup\SAL

after that type saplogon.sal

It will take you to the logon pad.