Intro
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:
    http://service.sap.com/patches
    – Browse our Download Catalog
    – SAP NetWeaver and complementary products
    – SAP NetWeaver
    – SAP NETWEAVER 7.3
    – Entry by Component
    – Development Infrastructure
    – DI CLIENTS 7.30
    – # OS independent
  2. Download DICLIENTS<XXXX>.SCA
  3. Extract the SCA file and navigate to:DEPLOYARCHIVES/tc~di~cmd_tools~sda.sda/di_cmd_tools.zip
  4. Extract di_cmd_tools.zip 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.
/wp-content/uploads/2013/09/a_285821.png
     6. as result the command line prompt appears:
/wp-content/uploads/2013/09/b_285822.png
     7. connect to DTR by entering the command “cd”
/wp-content/uploads/2013/09/c_285827.png
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
/wp-content/uploads/2013/09/d_285828.png
      The <software component> name can be figured using the command
     :cms> lsc –developed
/wp-content/uploads/2013/09/e_285829.png
or from the DTR webui:
/wp-content/uploads/2013/09/f_285836.png
     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
/wp-content/uploads/2013/09/g_285837.png
      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.
/wp-content/uploads/2013/09/h_285838.png
To report this post you need to login first.

2 Comments

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

Leave a Reply