Installing Mobile
Plug-Ins in the IDE
You have to install the mobile plug-ins in the SAPNetWeaver Developer Studio to access the following:
· Mobile Applications for Laptop
· Mobile Applications for Handheld
· Mobile Development Kit (MDK)
You require the Mobile Applications for Laptop and the Mobile Applications for Handheld plug-ins to create mobile applications. The MDK plug-in is needed for converting applications from the .WAR format to the .SDA format.

In this procedure, it is assumed that you have installed the SAP NetWeaver Developer Studio in the default path provided by the installation wizard. If you have changed the default path for the installation, you must change the path in this procedure accordingly.
The default path for installing the SAP NetWeaver Developer Studio is \Program Files\SAP\IDE\CE.
● You have installed the SAP NetWeaver Developer Studio.
● You have access to the installation files of the mobile plug-ins.
The mobile plug-ins are available in Mobile Plugins folder of the installation CD or DVD.
...
1. On the installation CD or DVD, navigate to the Mobile Pluginsfolder and extract the contents of the following files and place them in the …Program Files\SAP\IDE\CE\eclipse\plugins folder:
Plug-in Name |
Files |
Mobile Applications for Laptop |
com.sap.tc.mobile.mwd.tools.projsys.ecp com.sap.tc.mobile.dt.mbomodel.ecp com.sap.tc.mobile.dt.cfswrap.ecp com.sap.tc.mobile.dt.core.ecp |
Mobile Development Kit (MDK) |
com.sap.ip.me.mdk.developmentTools.ecp |
2. In the …\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.tc.ap\comp folder, create a new folder with the name NWMCLIENT.
3. In the installation CD or DVD, navigate to the Mobile Pluginsfolder and extract the com.sap.mobile.ap.ecp file into a local folder on your system. From the extracted contents, open the com.sap.mobile.ap folder, and copy the folders DCs and SCs into the NWMCLIENT folder that you created in the previous step.

Copy only the contents of the folder, not the folder itself.
4. In the …\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.tc.ap folder, open the default.confdeffile.

default.confdef is an XML file. Tags that are provided in the XML file determine the project structure of the SAP NetWeaver Developer Studio.
5. Add the following lines between the XML tags of the default.confdef file, as shown below. For each XML tag, you must add the respective line at the end of the XML tag definition.
<dependencies> ... <used-compartment>NWMCLIENT</used-compartment> </dependencies>
<variant-mappings> ... <variant-mapping used-compartment="NWMCLIENT" used-variant-name="default"/> </variant-mappings>
<sc-compartments> ... <sc-compartment archive-state="yes" caption="NWMCLIENT" default-compartment="yes" local-archive-folder="NWMCLIENT" name="NWMCLIENT" sc-name="NWMCLIENT" sc-vendor="sap.com"> <compartment-description>Description for SC NWMCLIENT</compartment-description> <build-variants> <build-variant name="default"/> </build-variants> </sc-compartment> </sc-compartments> |
6. Save the contents of the file.
You can now start using the Mobile plug-ins in the SAP NetWeaver Developer Studio.
...
1. On the installation CD or DVD, navigate to the Mobile Plugins folder and extract the contents of the following files and place them in the …Program Files\SAP\IDE\CE\eclipse\plugins folder:
Plug-in Name |
Files |
Mobile Applications for Handheld |
com.sap.ide.metamodel.oca.libs com.sap.tc.mobile.dt.oca com.sap.tc.mobile.dt.oca.templates com.sap.tc.mobile.dt.oca.rt com.sap.tc.mobile.wdlite.ide |
2. In the …\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.tc.ap\comp folder, create a new folder with the name XOCA, extract the com.sap.tc.mobile.dt.oca.ap ECP file, and place the contents of the com.sap.tc.mobile.dt.oca.ap folder in the XOCA folder.

Steps 3 and 4 in this procedure for installing the handheld plug-in is common to the procedure for installing the laptop plug-ins (steps 2 and 3). If you have performed the following steps 3 and 4 for installing the laptop plug-ins, you do not have to repeat them here.
3. In the …\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.tc.ap\comp folder, create a new folder with the name NWMCLIENT.
4. In the installation CD or DVD, navigate to the Mobile Pluginsfolder and extract the com.sap.mobile.ap.ecp file into a local folder on your system. From the extracted contents, open the com.sap.mobile.ap folder, and copy the folders DCs and SCs into the NWMCLIENT folder that you created in the previous step.

Copy only the contents of the folder, not the folder itself.
5. In the …\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.tc.ap folder, open the default.confdef file.

default.confdef is an XML file. Tags that are provided in the XML file determine the project structure of the SAP NetWeaver Developer Studio.
6. Add the following lines between the XML tags of the default.confdef file, as shown below. For each XML tag, you must add the respective line at the end of the XML tag definition.
<dependencies> ... <used-compartment>XOCA</used-compartment> </dependencies>
<variant-mappings> ... <variant-mapping used-compartment="XOCA" used-variant-name="default"/> </variant-mappings>
<sc-compartments> ... <sc-compartment archive-state="yes" caption="XOCA" default-compartment="yes" local-archive-folder="XOCA" name="XOCA" sc-name="XOCA" sc-vendor="sap.com"> <compartment-description>Description for SC XOCA</compartment-description>
<dependencies> <used-compartment>SAP_BUILDT</used-compartment> <used-compartment>NWMCLIENT</used-compartment> </dependencies>
<build-variants> <build-variant name="default"> <variant-mappings> <variant-mapping used-compartment="SAP_BUILDT" used-variant-name="default"/> <variant-mapping used-compartment="NWMCLIENT" used-variant-name="default"/> </variant-mappings> </build-variant> </build-variants> </sc-compartment> </sc-compartments> |
7. Save the contents of the file.
You can now start using the Mobile Applications for Handheld in the SAP NetWeaver Developer Studio.
...
1. On the installation CD or DVD, navigate to the Mobile Pluginsfolder and copy the com.sap.netweaver.developerstudio.map.ecp file into the …Program Files\SAP\IDE\CE\eclipse\plugins folder.
After installing the documentation plug-in, you can access the help documents from the SAP NetWeaver Developer Studio by choosing Help → Help Contents.
This plug-in contains documents for developing both handheld and laptop applications.