How to Perform Non-NWDI Development of
Web Dynpro Application
This is an example of how you can generate a simple Web Dynpro application using the SAP NetWeaver Developer Studio. This example includes all the life-cycle steps for the development of a Web Dynpro application.
You work in the SAP NetWeaver Developer Studio.
...
1. Create a new development configuration.
From the menu path, choose File → New → Other → Development Configuration. Choose Next.
2. Select the option from scratch.
3. Specify the name of the development configuration testdev.
4. Browse to the Archive SC root. The default value points to the Developer Studio installation plug-in directory to the archive pool plug-in. Choose Finish.
The local Development configuration is created in the default workspace directory.
...
1. From the menu path, choose File → New → Other → Development Configuration. Choose Next.
2. Select the option from file.
3. Choose Browse and navigate to the testdev.confdef file.
Open the Development Infrastructure perspective, and in the component browser the new development configuration for the dev config testdev should be created.
...
1. In the Development Infrastructure perspective, select the development configuration. From the context menu, choose Create new SC…
2. Specify the following properties for the software component (SC):
○ Name: TESTCOMP
○ Vendor Name: sap.com
○ Select Source SC
3. Complete the dialog.
The SC TESTCOMP is created for the development configuration.
...
1. In the context menu of the SC TESTCOMP, choose Create new DC…
2. Choose Web Dynpro as the DC type.
3. Enter the details of the DC:
○ Name: test
○ Vendor Name: sap.com
○ Support Component: BC_WD_JAV
4. Complete the dialog.
The DC is created under the SC TESTCOMP.
In this example, we assume that the workspace directory is set to c:\nwds. The local development configuration testdev is created and the development WebDynpro DCs are created in the SC TESTCOMP.
...
1. Set variable NWCETOOLLIB to <Developer Studio Installation>\eclipse\tools\lib.
2. Set JAVA_HOME variable to the JDK installation directory.
3. Start the command line tool.
4. Start the Composition Environment command line tool’s nwcetool.bat file from the directory <Developer Studio Installation>\eclipse\tools.
5. Use the following sequence of commands to the NWCE tool to build, package and create SCA.
nwce>loadconfig -l "C:\nwds\workspace.jdi\LocalDevelopment" -a c:\nwds\eclipse\plugins\com.sap.tc.ap\comp" nwce>listavailabledcs nwce>listusingdcs -n test -v sap.com -c TESTCOMP nwce>buildalldcs nwce>listbuildresults -f buildres.html nwce>packdcs -c TESTCOMP -b default -i doc nwce>exportforassembly -c TESTCOMP -b default -f c:\packing nwce>packsca -n TESTCOMP -v sap.com -l mylocation -c 20061025120000 -r 1.0 -sp 1 -pl 1 -da "c:\packing\deployarchives" -ba "c:\packing\buildarchives" -includingsubdirs c:\packing\testcomp.sca |
● Check build results are available as HTML file once the builddc command is run.
● After the exportforassembly command check for the folders deployarchives, buildarchives, sourcearchives.
● Check the creation of the testcomp.sca file after running the packsca command.