Publishing Object and Offering the Toolbox Directly 
This procedure allows you to publish your object and directly call the toolbox with the object services. As soon as a user calls the object, the toolbox is opened.
Generate an instance of class cl_gos_manager. However, do not transfer the BOR-ID or the callback class so that no object is published.
Syntax
data: go_myobject type ref to cl_gos_manager.
…
create object go_myobject.
Call the method display_toolbox and transfer the BOR-ID as the parameter:
Syntax
data: ...,
lo_container type ref to cl_gui_custom_container,
ls_object type borident.
…
call method go_myobject->display_toolbox
exporting is_object = ls_object
io_container = lo_container.
The parameter io_container is optional: If you do not transfer a reference to a container, then the toolbox is started in a separate system like in the standard system.