Show TOC Start of Content Area

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

Purpose

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

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

Prerequisites

Enterprise Application DC Projects

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

Enterprise Application Projects

       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.

Enterprise Application DC Projects

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

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

       3.      Select Productive Application or Test Application, as required.

       5.      Choose 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 edit the file using the multipage editor.

End of Content Area