Start of Content Area

Procedure documentation Copying a View  Locate the document in its SAP Library structure

You can copy a view within the same Web Dynpro component or to another Web Dynpro component.

Procedure

       1.      In the Web Dynpro Explorer, place the cursor on the view to be copied.

       2.      Choose the context menu entry This graphic is explained in the accompanying textCopy on the source view.

       3.      Select the This graphic is explained in the accompanying textViews node in the target Web Dynpro component and choose This graphic is explained in the accompanying textPaste from the context menu.

       4.      In the dialog box that appears, you can change the name of the view or the package, or accept the values of the source view.

Result

The view is copied and displayed in the Web Dynpro Explorer. The following application entities are also copied along with the view:

·        View layout, including the user interface elements

·        View context, including the context definition

·        Component Usage

·        Plugs

·        Actions

·        Methods, including the subscribed events

The class and method names are automatically adjusted in the source code.

For the view copy, you must newly define the following:

·        Component interface controller

·        Event source of the methods

·        Mapping definition

 

End of Content Area