Start of Content Area

Procedure documentation Example: Using a Foreign Web Dynpro Component  Locate the document in its SAP Library structure

The following example clearly shows which steps you need to take to be able to use a further Web Dynpro component WDC2 in a Web Dynpro component WDC1 – transcending the DC limits. In this example, WDC1 is in development component DC1, while WDC2 is an integral part of development component DC2.

The following component diagram shows the basic steps.

This graphic is explained in the accompanying text

 

Procedure

You will perform the following steps:

...

       1.      Create a Public Part for development component DC2.

With the public part, you define a public interface for the development component.

       2.      Add Web Dynpro component WDC2 to the public part created for DC2.

       3.      Provided you have not done so in the last step, execute a DC-based build for DC2.

For this purpose, select the corresponding project node, and then choose the function Development Component Build from the context menu.

As a result of this build exercise, a JAR file with the name of the public part will be generated.

       4.      Declare a usage dependency for the development component DC1.

       5.      Create WDC2 as the used Web Dynpro component in DC1.

To do this, expand the project node for DC1, right down to Web Dynpro Web Dynpro Components WDC1. Choose the node Used Web Dynpro Components and then the function Add used component from the context menu.

 

 

End of Content Area