Show TOC Start of Content Area

Procedure documentation Creating an Application Service  Locate the document in its SAP Library structure

Use

Application services contain the business logic of your application. You can also use application services to present data to the user interface.

Prerequisites

·        You should have installed the following software:

¡        SAP Web Application Server Java

¡        SAP NetWeaver Developer Studio

·        You should have completed the tutorial Developing Your First Business Object.

·        You have opened the Composite Application perspective in SAP
NetWeaver Developer Studio.

Procedure

...

       1.      Open the carpool application in the SAP NetWeaver Developer Studio.

       2.      In the Composite Application Explorer view, click  modeled package with the secondary mouse button and choose New Application Service.

       3.      In the Application Service Name field, enter TravelLocationApp and choose Finish.

This graphic is explained in the accompanying text

       4.      In the Composite Application Explorer view, double-click the TravelLocationApp service and open the Dependency  tab page.

       5.      From the Existing Objects tree select the business object TravelLocation and choose This graphic is explained in the accompanying text with the quick info text Add Dependency.

The new object appears under the Dependent Objects list.

Result

You have created your first application service and it appears in the Composite Application Explorer view.

Step 2:

Creating Application Service Operations

End of Content Area