Show TOC Start of Content Area

Procedure documentation Declaring the Use of Another Development Component Locate the document in its SAP Library structure

Use

In this step, you declare that a new development component (DC) uses another DC that you have created in the previous steps. A DC can use parts of another DC only if a use dependency was declared.

Prerequisites

You work in the Development Configurations perspective.

Procedure

 

       1.      Open your J2EE Library DC node

       2.      Select the entry DC MetaData ® DC Definition ® Used DCs and from the context menu, choose Add Used DC...

A dialog window Add Dependencyappears.

Note

A DC can use parts of another DC only if a use dependency was declared.

       3.      Select tab page Inactive.

       4.      Choose APPL_dev ® example.org_application ® appl/tax/calc ® DC MetaData ® Public Parts ® tax.

Note

You can select different nodes in the hierarchy. The selected node and its child nodes are then available to the using DC.

       5.      Select the dependency type:

                            a.      In the section Dependency Type, select the entries Build-Time and Runtime.

                            b.      Deselect the checkbox Deploy Time.

Caution

If the used DC (as in our example) is of type Java, then the check whether the DC is deployed would always result in an error because this DC type is not deployable. (For this reason, you created a public part of purpose assembly in the previous step, which enables you to wrap the DC in another deployable DC.)

       6.      Choose Finish.

A use dependency to component appl/tax/calc is created.

Result

A use dependency is created to component appl/tax/calc.

Next Step

Building and Deploying the Library

End of Content Area