I was writing about using the Generic Object Services quite a while ago. After that i allways stumbled about how to properly implement a configuration mechanism, that allows to tie in nicely into SAP standard customizing. Maybe next time i want to do like this:
- Inherit from the standard GOS class for the service
- Extend this class with the basic interfaces necessary to provide a service provider for RCM
- Implement the parameter interfaces for connection parameters and other parameters customizeable on the level of element type to make an element type per
- business object
- event (default: "Created" )
- provide a parameter for "business object class" that will actually implement the logic for this business object
- have a base class that implements the generic services for records or cases to be supported
- have child classes per business object which overwrite the non generic methods
- methods should implement:
- create new record or case
- list existing records or cases to select from
- jump to record or case
Again: This is just a thought 