Skip to Content

Release activity using the cmstool

Often I can see that MII customers are having problem with the transport cycle, since releasing an activity is not offered by the MII User Interface but this action has to be carried out either using NWDS or the cmstool. In order to avoid the installation of a huge 1GB Developer Studio there is a simple way of releasing activities using the cmstool. This is what I intend to detail here.
Let’s start out from the assumption that an activity is already available created in the MII UI.
Let’s also assume that the activity has been activated so in order to hand over the activity to Consolidation for import we need to release the activity first.
Download the cmstool
cmstool is available on the service marketplace inside the SC DICLIENTS (this is valid as of 710, on older releases it is coming with the NWDS installation and available under the eclipse folder).
  1. Navigate to:
    – Browse our Download Catalog
    – SAP NetWeaver and complementary products
    – SAP NetWeaver
    – Entry by Component
    – Development Infrastructure
    – DI CLIENTS 7.30
    – # OS independent
  3. Extract the SCA file and navigate to:DEPLOYARCHIVES/tc~di~cmd_tools~sda.sda/
  4. Extract file to your local machine from where the NWDI server is also accessible.
Start the cmstool
  1. Start the command line tool (Start – Run… – cmd.exe)
  2. Enter the cmstool folder (e.g. „cd C:\di_cmd_tools\cmstool”)
  3. Set the following environment variables:
          – set NWDITOOLLIB=..\lib
          – set JAVA_HOME=<your JDK> (e.g. set JAVA_HOME= c:\Program Files (x86)\Java\jdk1.6.0_37
   4. Invoke the tool (cmstool.bat)
   5. A log on prompt appears, please enter the corresponding data and press Enter.
     6. as result the command line prompt appears:
     7. connect to DTR by entering the command “cd”
List and Release activities
  1. Consider an activity you created on the MII UI, in this example let’s call it demoactivity
  2. Assuming you have activated this activity, it is possible to list this activity in cmstool as follows:
      :cms> la –s <software component> -w –u NWDI_DEV
      The <software component> name can be figured using the command
     :cms> lsc –developed
or from the DTR webui:
     3. Notice the activity ID you received, in this example 871b961521f511e39abe0000005e0a6a
     4. Release the activity as follows:
    :cms>rel -s sap.com_SAPNWDEMO -a „871b961521f511e39abe0000005e0a6a” –cap mydemoActivityJustReleased
      Note: if you use –cap  with quotes („”) e.g. –cap „my test activity” then you can create more user friendly activity names separated with spaces.
Hint: use help release to see how to use the command. The help also includes examples.
     5. Our last task is to go to the CMS webui, select the track, click on the Consolidation tab and Import the activity we have just released.
You must be Logged on to comment or reply to a post.