Show TOC Start of Content Area

Procedure documentation Implementing Application Service Operations  Locate the document in its SAP Library structure

Use

You need to implement the query methods you have created in the previous step of this tutorial.

Procedure

...

       1.      Save and generate your application.

       2.      Open the Implementation tab page of the TravelLocationApp application service.

       3.      To open java editor, choose TravelLocationAppBeanImpl.java.

       4.      In the findById method, delete the generated instruction return null; and add the following code:

return getTravelLocationService().

      findById(QueryFilterFactory.createFilter(id)).iterator().next();    

 

Result

You have implemented your application service operations. Now you need to generate, build and deploy your application.

More Information: Generating Code and Building Services.

End of Content Area