Creating New Object Service
Purpose
A new object service should be, by definition, generally usable.
Prerequisites
The object must be entered in the Business Object Repository (BOR).
Process Flow
You must execute the following steps:
- Develop your service (as a function module, for example).
- Your new service must be enclosed as the method execute in a separate class. The class inherits this instance method from the abstract class cl_gos_service. Your service is the composite definition of the method.
- Enter your class in the table SGOSATTR. Also use the table view maintenance (SM30) and see the F1 documentation.
- Finally enhance the documentation in the Knowledge Warehouse for the documentation for your new service. For this you use the Knowledge Workbench.
Result
Your service is displayed if the application is
connected to generic object services and it is not
explicitly excluded.