Show TOC

Procedure documentationPublishing Unique Objects Locate this document in the navigation structure

 

You use this procedure to publish objects that can be uniquely determined and for which the object services are to be offered using the toolbox symbol.

Procedure

Generate an instance of the class cl_gos_manager by calling the constructor method. Enter the BOR-ID of your object as the export parameter for the constructor.

Syntax Syntax

  1. data:	go_myobject type ref to cl_gos_manager,
    		ls_object type borident
    …
    create object go_myobject
    		exporting	is_object = ls_object
    							no_commit = ‚x‘
    		exceptions	others = 
End of the code.

If the parameter no_commit is set, you enter that your application starts the Commit Work command. That is also the default value. If you explicitly transfer the parameter empty, the object services create the Commit Work. However, your data should be consistent when called because the database changes can no longer be reversed with Rollback.

Note Note

If you do not know which object type your object has, choose   Tools   Business Workflow   Development, Business Object Builder, Business Object Repository, Repository Browser   and then All Object Types. Search for your application document in the outputted list using   Edit   Search  . For further information see Business Object Repository Browser in the workflow documentation.

End of the note.