Show TOC

Publishing Object and Offering the Toolbox DirectlyLocate this document in the navigation structure

Context

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.

Procedure


  1. 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.

                
    data: go_myobject type ref to cl_gos_manager.
                
    
                
    create object go_myobject.
                         
  2. Call the method display_toolbox and transfer the BOR-ID as the parameter:

                
    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.