To embed a Web Dynpro component in another component, you must have created both the embedding (outer) component and the one to be embedded (inner), as described in Creating a Component.
To embed a component, proceed as follows:
...
1. In the Web Dynpro Explorer, select the subnode Used Web Dynpro Components of the component that is to be the outer, embedding component. In the context menu, choose Add Used Component.
2. Make the required entries in the wizard to define a component usage. First, enter a name for the component usage. Then choose Browse to select the component that is to be inner, embedded component. A list of all available components and component interfaces is displayed from which you select the component to be embedded.
3. Specify whether the lifecycle of the component usage is to be instantiated manually or on demand.
4. Close the wizard by choosing Finish.
In the Web Dynpro Explorer, your component usage is displayed as an element of the subnode Used Web Dynpro Components of the Web Dynpro project. For the component usage, the system creates the subnode Interface Controller:
In the next step, you declare the inner and outer components. See also, Referencing a Component.