Friday, July 25, 2008

Implementing a Web Dynpro Interface Definition Component Usages Web Dynpro ABAP

To implement a Web Dynpro interface definition in a component, enter it into the Implemented Interfaces table of the component editor of the component:

...

1. Select the component that you want to process by double-clicking on it in the object list. You are now in the Component Editor and can switch to the Implemented Interfaces tab page.

2. Enter the name of the desired interface definition in the first column of the table and save it.

3. In the third column of the table, Implementation State, a traffic light symbol appears.. As long as this traffic light shows red, the interface definition is not or not completely implemented. Choose New Implementation to trigger the implementation; the traffic light switches to green.

If changes are made to the interface definition after the implementation, then the traffic light in the table of the implementing component switches back to red; the changed interface definition must be re-implemented.

Result

After the implementation, the implementing component now contains the elements of the interface definition.

· The methods of the interface definition have been added to the component controller and can now be edited there. You can mark the Interface checkbox for each of them to make them visible as elements of the interface controller.

· The same applies for the context nodes of the interface definition.

· The interface views of the interface definition have been implemented in the component interface and are listed in the object list underneath the Component Interface node. In addition, all related Web Dynpro windows have been generated. They are also displayed in the object list and can now be edited.

No comments:

Archive