Hello
Can you specific the BOR object used in the transaction. Also specify if this is a standard or custom transaction.
Debug the code and see the usage of class CL_GOS_MANAGER in the standard code. This will give you some idea.
Activating Generic Object Services Toolbar in SAP Objects
Regards
Sandy