Entering content frame

Procedure documentation Building, Deploying, and Running Your Application Locate the document in its SAP Library structure

Now that you have reached this stage, you can start the fully developed example application in the Web Browser as described below.

However, some preparations are essential before you can deploy and run the application successfully on the SAP J2EE Engine. Go through each of the following prerequisites carefully.

Prerequisites

To do this, refer to Starting and Stopping the SAP J2EE Engine

·         You have checked that the configuration settings for the J2EE server are entered correctly in the Developer Studio.

To check the server settings, choose the menu path Window ® Preferences ® SAP J2EE Engine.

Procedure

Building the Project

...

       1.      Save the current status of the metadata for the project using the button This graphic is explained in the accompanying text in the upper application toolbar of your Developer Studio, if you have not already done so.

       2.      Open the context menu for the project node (WebDynpro_EmailWS) in the Web Dynpro Explorer and choose This graphic is explained in the accompanying text Rebuild Project. Make sure that the Tasks view does not display any errors for your project. You can ignore any warning messages for labelFor properties that have not been set.

Deploying and Launching the Application

...

       1.      In the Web Dynpro Explorer, open the context menu for the application object This graphic is explained in the accompanying text EmailWSApp.

       2.      Choose Deploy new archive and run.

Result

The Developer Studio deploys the application in one single step, based on an automatically generated Enterprise Archive File, and then automatically launches your application in the Web browser.

This graphic is explained in the accompanying text

Test your new Web Dynpro application by entering your own e-mail data in the input fields From, To, Subject, and Message, and then click on Send.

After you have triggered a server roundtrip (here you communicate with the Email Web service), a success message is displayed on the user interface in the Web Browser if no errors have occurred during sending. The result value returned by the e-mail Web service is also displayed in the message text.

This graphic is explained in the accompanying text

 

Leaving content frame