Skip to Content

Using SAP MMC to view/manage SAP systems from laptop is a great tool for NetWeaver administrators. Here is how to install and configure it. 

1. Download the package MMC_1-20000252.SAR from service.sap.com/swdc – Entry by Application Group – SAP NetWeave – SAP NETWEAVER – SAP NETWEAVER 04 – Entry by Component – Application Server ABAP – SAP KERNEL 6.40 32-BIT UNICODE – Windows Server on IA32 32bit – #Database independent (There are more than one way to get the package, including the copy on the kernel DVD. And future patches would have different filenames.)

2. Download the sapcar.exe to your PC/laptop if you haven’t done so.

3. From DOS command, execute
>sapcar –xvf MMC_1-20000252.SAR

!https://weblogs.sdn.sap.com/weblogs/images/251763935/mmc-sapcar-1.JPG|height=120|alt=SAPCAR MMC 1|width=492|src=https://weblogs.sdn.sap.com/weblogs/images/251763935/mmc-sapcar-1.JPG|border=0!

You should get the following files
MMC\readme.txt The installation guide for SAP MMC
MMC\ads.exe  Microsoft ADSI: ads (not used on Windows XP)
MMC\immc.exe Install Microsoft Management Console (MMC) 1.1: immc (not used on Windows XP)
MMC\sapmmc.sar SAP MMC executables

4. Further extract the executables by running the following
>cd MMC
>..\sapcar –xvf sapmmc.sar

!https://weblogs.sdn.sap.com/weblogs/images/251763935/mmc-sapcar-2.JPG|height=223|alt=SAPCAR MMC 2|width=422|src=https://weblogs.sdn.sap.com/weblogs/images/251763935/mmc-sapcar-2.JPG|border=0!

5. Copy sapmmc.dll, sapmmcms.dll, sapmmcdb6.dll, sapmmcinf.dll, sapmmcada.dll, and sapstartsrv.exe to C:\Windows\system32

6. Check that librfc32.dll is available in C:\Windows\system32 (both librfc32.dll and librfc32u.dll are likely available if you have installed SAP GUI already) If not, copy from the SAR file. 

7. Change directory
>cd C:\Windows\System32

8. Register DCOM Type library of the service
> sapstartsrv -t
Click on “OK” in the following Window

!https://weblogs.sdn.sap.com/weblogs/images/251763935/sapstartsvr.JPG|height=394|alt=sapstartsvr|width=393|src=https://weblogs.sdn.sap.com/weblogs/images/251763935/sapstartsvr.JPG|border=0!

9. Register the R/3 MMC extension snapins>

>regsvr32 sapmmc.dll
>regsvr32 sapmmcms.dll  (Microsoft SQL Server)
>regsvr32 sapmmcdb6.dll  (DB2 UDB on Unix and Windows)
>regsvr32 sapmmcinf.dll  (Informix)
>regsvr32 sapmmcada.dll  (maxDB)
You should get the successful message like the following.

!https://weblogs.sdn.sap.com/weblogs/images/251763935/regsvr32.JPG|height=119|alt=regsvr32|width=296|src=https://weblogs.sdn.sap.com/weblogs/images/251763935/regsvr32.JPG|border=0!

10. Start mmc from DOS or Run

!https://weblogs.sdn.sap.com/weblogs/images/251763935/mmc1.JPG|height=346|alt=mmc1|width=497|src=https://weblogs.sdn.sap.com/weblogs/images/251763935/mmc1.JPG|border=0!

11. Click on menu “File” – “Add/Remove Snap-in”

!https://weblogs.sdn.sap.com/weblogs/images/251763935/mmc2.JPG|height=392|alt=MMC2|width=353|src=https://weblogs.sdn.sap.com/weblogs/images/251763935/mmc2.JPG|border=0!

12. Click on “Add”

!https://weblogs.sdn.sap.com/weblogs/images/251763935/mmc3.JPG|height=391|alt=mmc3|width=384|src=https://weblogs.sdn.sap.com/weblogs/images/251763935/mmc3.JPG|border=0!

13. Select “SAP System Manager” then “Add”

!https://weblogs.sdn.sap.com/weblogs/images/251763935/mmc4.JPG|height=1|alt=mmc4|width=1|src=https://weblogs.sdn.sap.com/weblogs/images/251763935/mmc4.JPG|border=0!mmc4 !https://weblogs.sdn.sap.com/weblogs/images/251763935/mmc6.JPG|height=1|alt=mmc6|width=1|src=https://weblogs.sdn.sap.com/weblogs/images/251763935/mmc6.JPG|border=0!mmc6

17. You should get a fully-functioning MMC like below. Save the configuration to your Desktop or another location.

!https://weblogs.sdn.sap.com/weblogs/images/251763935/mmc8.JPG|height=248|alt=mmc8|width=422|src=https://weblogs.sdn.sap.com/weblogs/images/251763935/mmc8.JPG|border=0!

18. To add more systems into the MMC later, right-click on “SAP Systems” and select “Properties”, open the “Fixed” tab and input the info accordingly.

 

 

To report this post you need to login first.

6 Comments

You must be Logged on to comment or reply to a post.

  1. ABHI GUPT
    Hi Victor,
    Nice info…and cool stuff…
    But When I try to :
    Click on menu “File” – “Add/Remove Snap-in” ,
    Click on Add , I do not find “SAP Systems Manager” as a snap-in on the my PC. Its not there..

    What am I missing? I am running a windows XP Professional OS on my PC.
    Any ideas???
    Thanks
    Abhi

    (0) 
    1. Victor Lin Post author
      Hi Abhi,

      Sorry that I might forget to include the following command. Please try

      >regsvr32 sapmmc.dll

      Best regards,
      Victor

      (0) 
  2. Jinal Shah
    Hi

    I am able to get it working and able to add different SAP Systems in MMC. When I try to give Start/Stop/Shutdown commands it ask for username and password.

    We are running our SAP systems on AIX. I have tried all the possible combination if username and password but it comes back and tells “Stop Failed: 2 Invalid Credentials”

    Any way we can start and stop SAP Instances (on unix) from MMC on windows?

    Thanks

    (0) 
    1. Victor Lin Post author
      Hi Jinal,

      Sorry that I don’t have a similar evnironment to test it out…

      Asking user/password is a new feature of NetWeaver 2004s. Please add domain info of AIX also (like domain\user) if you haven’t tried.

      Maybe you can get better answer from SDN forums or OSS support.

      Best regards,
      Victor

      (0) 
    2. Sean Morgan
      BTW, this is very similar to a note I posted a few months earlier, on 2007-05-17: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0f6978e-f73c-2a10-269f-93e8f0a13394

      > Asking user/password is a new feature of NetWeaver 2004s

      Victor is correct, but there is a way around that, for Windows servers at least (see my note).

      Unfortunately that doesn’t help with a Unix server. While you can see its status in the MMC, your Windows credentials won’t work on Unix server, so you can’t stop/start there. Of course these days, NetWeaver Administrator is the way to go.

      (0) 

Leave a Reply