Hi,
unfortunately, I have to say that your request cannot be fulfilled
in the standard. The Generic Object Services are use by many applica-
tions and in general are working independent of the application. That
means that enabling/disabling of function based on the status of the
application object is not possible.
The only thing that can be done in the following:
The GOS services can be started in a 'Display' and an 'Edit' mode. This
mode can be linked to the applications mode, e.g. edit functions like
create or change an attachment is only active if the application is
in 'edit' mode as well. If the application is in 'display' mode, these
functions are disabled.
Hope this be helpful for you.
Regards,
Cristiano