Show TOC Start of Content Area

Procedure documentation Wrapping Services in Controllers  Locate the document in its SAP Library structure

The Data Modeler provides graphical support when implementing controllers; this integrated function is known as the Service Controller. The wizard, which is started in the Data Modeler or the Web Dynpro Explorer, creates a controller that wraps a service. This service can either be a Remote Function Call or a Web service. You start the wizard for an existing controller or generically in the Custom Controller area of the Data Modeler. The wizard then creates the required contexts and an optional method for triggering the call.

Prerequisites

      You have created a WD project and a WD component.

      You have also defined a WD model for the model binding and declared it to the component.

Procedure

...

       1.      In the work area of the Data Modeler, place the cursor on an existing custom controller, or in the Custom Controller area and choose Apply Template from the context menu.

       2.      Carry out the model binding as well as the attribute binding by selecting the relevant context elements.

       3.      Choose Next if you want to create a method. Otherwise, you can choose Finish to exit the wizard at this point and save your changes.

       4.      Enter a method name and exit the wizard.

End of Content Area