cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Run Transaction Code from CMD

chinni_adapa
Participant
0 Likes
7,646

Dear All,

Please give suggestions on, How can we execute transaction code with out interacting with SAP GUI.

Is it possible to execute transaction code from Command Prompt?

Your inputs are highly appreciated.


Thanks & Regards,

Chinni

View Entire Topic
Former Member
0 Likes

Hi Chinni,

If I understand the question correctly, you wish to run a tcode by login in SAP from command prompt, then you can achieve this by calling sapshcut.exe with below parameters from cmd

sapshcut.exe -sysname=ABC -client=100 -command=tcode -user=usrName -pw=passwrd

you can have this code written in a batch file and pass tcode as an argument.

or you can set a particular Tcode as initial tocde when logged in SAP. to do so from your inital screen (/n) go to Extras--> choose Set Start Transaction --> Tocde. Done.

Regards,

Prithviraj.