Show TOC Start of Content Area

Procedure documentation Executing and Testing the 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.

 

Prerequisites

This graphic is explained in the accompanying text       You have made sure that the SAP J2EE Engine has been launched.

 

Procedure

...

       1.      Save the current state of the metadata for your project by choosing This graphic is explained in the accompanying text Save All Metadata.

       2.      In the Web Dynpro Explorer, open the context menu for the project node TutWD_Language_Init and choose This graphic is explained in the accompanying text Reload.

Note

The newly added xlf files are only included in the deployment if you explicitly execute Reload.

       3.      Open the context menu and choose This graphic is explained in the accompanying text Rebuild Project.

       4.      In the Web Dynpro Explorer, in the context menu of the application object This graphic is explained in the accompanying text LanguagesApp, choose Deploy New Archive and Run.

 

Making Language Settings in the Web Browser

...

       1.      In the Web browser, add the languages English and German.

Note

In the Internet Explorer browser, you can set the language by choosing Tools à Internet Options... On the General tab page, choose Languages... You can now add and delete languages.

 

       2.      Start the application again.

 

Result

The English or German variant of the example application is displayed in the Web browser, depending on your language setting and the priority of the language.

The QuickCarRental application opens in the browser window:

  This graphic is explained in the accompanying text  This graphic is explained in the accompanying text

If you choose Rent (English) or Mieten (German) without selecting a vehicle type, an appropriate error message appears at the bottom of the window:

  This graphic is explained in the accompanying text  This graphic is explained in the accompanying text

Rent a vehicle.

Use the calendar. It is also language-specific.

  This graphic is explained in the accompanying text  This graphic is explained in the accompanying text

After you confirm your booking, the rented vehicle is displayed.

  This graphic is explained in the accompanying text  This graphic is explained in the accompanying text

 

End of Content Area