Start of Content Area

Procedure documentationUsing the Service Controller  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 is either 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 Web Dynpro project and a Web Dynpro component. You have also defined a Web Dynpro model for the model binding and declared it to the component.

Procedure

To start the service controller and thus the wizard, proceed as follows:

...

       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.      In the wizard, enter a name for the template or use the default.

       3.      The next window, you carry out the model binding. Choose Next and then carry out the attribute binding by selecting the relevant context elements.

       4.      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.

       5.      Enter a method name and exit the wizard.

       6.      Save your changes by choosing This graphic is explained in the accompanying textSave all Metadata.

 

End of Content Area