Show TOC Start of Content Area

Procedure documentation Creating a Public Part for a Library  Locate the document in its SAP Library structure

Use

You create a public part of the development component (DC) to be associated with a library.

Prerequisites

      You have created a DC project.

      You have selected to add the DC directly to the DTR.

Procedure

...

       1.      Open the Development Configurations perspective.

       2.      Open the Local DCs view and expand the DC project.

       3.       In the context menu of the Public Parts folder, choose New Public Part.

The Add Public Part dialog appears.

       4.      Enter the required information.

Example

Name

Value

Name

com.sap.portal.pcd.glservice_api

Caption

com.sap.portal.pcd.glservice_api.jar

Note

Select the radio button Provides an API for developing/compiling other DCs.

       5.      Choose Next.

       6.      To add entities, select an entity type and choose Finish.

A dialog Add Files to DTR appears.

       7.      Select the files to add to the DTR and choose OK.

A dialog Select Activity appears.

       8.      Select the activity and choose OK.

       9.      Choose Finish.

Note

Make sure that the public part files contain the JAR entries as Archive, for example:

<entity-type>Archive</entity-type>

The public part file of the library DC should be as follows:

<entities>

<entity>

<name>xxx.jar</name>

<package></package>

<caption>xxxx.jar</caption>

<description></description>

<entity-type>Archive</entity-type>

<entity-sub-type>Java Library</entity-sub-type>

</entity>

</entities>

Result

You have created the public part of the DC.

End of Content Area