Tools for systems management include SAP Visual Admin (up to SAP NetWeaver 7.0x), SAP Management Console and SAP Download manager. As they are all Java programs the technology involved is identical. Although this blog is about OS X the findings are identical for any (*nix) system having a recent JVM available. h2. Visual Admin
Under normal conditions a VA assumes it is running on the same host as the J2EE server it has to manage. In our case we have to change to connection parameters as the SAP J2EE server is not running on the OS X host. Select (Connect) and provide a name for the connection and select “Direct Connection To a Dispatcher Node” and press (Next): 04. After pressing (Save) one can choose connect in the next panel. A screen like this should show up:
If, for some reason the password field does not accept input just press (Cancel), the choose Connect (from the main menu) – Login – Connect to restart the panel. The password field should now be accessible. Fill in the details and the standard VA screen should appear after a while: SAP provides extensive documentation. See here (http://help.sap.com/saphelp_nwce71/helpdata/en/44/c707c053550f2ce10000000a1553f7/frameset.htm) for more details. The MMC makes use of the SAP sapstartsrv. Therefore it is not available on older systems (see also
).<jnlp spec=”1.0” codebase=”file:/Applications/sapmc” href=”sapmc.jnlp”><br /> <information><br /> <title>SAP Management Console</title><br /> <vendor>SAP AG</vendor><br /> <homepage href=”docs/help.html”/><br /> <description>SAP Management Console</description><br /> </information><br /> <security><br /> <all-permissions/><br /> </security><br /> <resources><br /> <j2se version=”1.4” max-heap-size=”512m”/> <argument>landscape=/Applications/sapmc/landscape.cnf
The Java version ‘1.4+’ is no problem at all for the Mac. The current version is 1.6. Double clicking on the file ‘sapmc.jnlp’ will start the sapmc. The first run will be somewhat slow as the Java environment has to be initialized. By storing the systems in a file, e.g. “landscape.cnf” the entire landscape will be shown at start-up.
You can complain it is still a Java instead of a OS X app. This can be solved by using the Jar Bundler. It is an application that takes Java applications deployed as standalone Jar files and turns them into applications that can be launched just like native Mac OS X applications. Jar Bundler is part of the developer tools provided by Apple. See the documentation (http://developer.apple.com/mac/library/documentation/Java/Conceptual/Jar_Bundler/Introduction/Introduction.html) for details.
The SAP Download Manager is also a Java application. Installation is not that difficult. Go to the download basket on SAPNet and select ‘Get Download Manager’.
In the next page scroll down to ‘Manual Installation’ and download the jar file. Put it in a directory within the application folder, e.g. /Applications/SAP/DLManager. Open Terminal, go to the application folder by entering ‘cd ‘ on the command prompt and drag the application folder on the Terminal Window. After pressing enter one should end up in de application folder. By entering java -classpath “DLManager.jar” dlmanager.Application the application should launch. Or even more Mac like, just double click on the DLManager.jar file.
You could create a shell script in order to launch the Download Manager application. Command line operations are powerful but should be avoided for tasks like starting the download manager. Launching it with a double click can be done with a “jnlp” file. An alternative might be a shell script which in turn will be converted to a clickable application with Platypus (http://www.sveinbjorn.org/platypus).
After providing the required parameters for the connection the download screen shows up:
By setting the preferences correctly, downloaded files will show up in the download folder: