Execute OS Commands from SAP GUI

Share this article :

The report RSBDCOS0 enable you to execute operating system commands from the SAP level. You can directly execute the command without log in to the operating system.

1. Execute SE38 and put RSBDCOS0 in the program field. Click on execute.

2. In this example, i run command to ping www.google.com. As you can see, the result is the same like when you are running on operating system level. You can try to run other commands. Just make sure to check current operating system running so that you are executing the right command.

Related posts

SMGW: SAP Gateway Monitor
Homogeneous System Copy using SAP Tools for MSSQL Server (STM)
How to Locate Object in $TMP
ERROR: Could not start SDM Server - another Server may be running already
  • Anurag

    Really great!!!!!
    At least for beginner like us.

  • Suren

    Really nice

  • mahesh

    Its very nice…Thanks for launched this site…

  • i accidently deleted sap mmc console instanses,how can i retrive that
    send ur advice urgently

    • Siti
    • sanjay

      pl. reinstall you CI instance for soulation ..


      Hi Srinu,
      if u delete the MMC console instances that is not a big problem.
      we can recreate that just follow the procedure.

      Go to Start menu—> RUN command
      execute——-> sapstartsrv.exe
      give the required details
      SID : XYZ
      NR : 00
      Startuo Profile location : usr\sap\sid\sys\profile\start_DVEBMGS00_hostname
      username : hostname\sidadm
      click on ok

      after successful
      then check ur MMC.


  • madhu

    many thanks to itsiti such a valuable for basis consultants its a amazing site for beginners

  • manoj

    while executing os commands by using sapgui what are the permissions we will get at os level.
    can we get sidadm permissions ? or we get any special user permissons ?

    • Siti

      Report RSBDCOS0 is associated with transaction code SM69 and SM49. You may need to check all the commands that can be executed from there.

  • Bake

    Many thanx to this site!

  • Vivek Gupta

    I want to execute OS command from SAP GUI but not working.
    I have attached the error screen image.
    please help.

    • Hi Vivek Gupta,

      Do you have the internet connection while executing the command ping http://www.google.com? Else, try use different command eg. ls, cd ..

      • Vivek Gupta

        Hi siti,

        Getting same error.


        *With Regards
        Vivek Gupta



© 2017 ITsiti. All Rights Reserved
Powered by KEEM