Entering content frame

Function documentationCreating Data Source Aliases Locate the document in its SAP Library structure

Purpose

The wizard creates aliases conforming to the DTD Structure linkdata-source-aliases.dtd.

For information about the use of aliases, see Managing Aliases.

Prerequisites

DC J2EE Applications

If you want to create an alias for other than test purposes, you need to be connected to the name server. When you create the alias, it will be reserved on the server.

Procedure

Normal J2EE Applications

       1.      In the J2EE Explorer view, select the Enterprise Application project.

       2.      From the context menu, choose New ® META-INF/data-sources-aliases.xml.

       3.      In the Alias Name field enter the alias including the name prefix.

The name must be no more than 32 characters long. Allowed characters are slash, underscore,  digits, and uppercase letters.

       4.      Choose Finish.

DC J2EE Applications

       1.      In the J2EE DC Explorer view, select the Enterprise Application project.

       2.      From the context menu, choose New ® META-INF/data-sources-aliases.xml.

       3.      Select Productive Application.

Alternatively, choose Test Application then Finish.

       4.      Select a name prefix.

       5.      Enter an alias name.

       6.      Choose Finish.

Result

The data-source-aliases.xml file is created. You can double-click the file to open it in the XML editor. For example:

This graphic is explained in the accompanying text

 

 

 

 

 

Leaving content frame