Monday, 9 July 2012

Types of Business Objects in BOL

The business objects are subdivided into 6 kinds:
root objects, 
access objects, 
dependant objects, 
query objects, 
query result objects, 
dynamic query objects.


Root Object:
The root object is the only object within the hierarchy structure of a data model that is assigned as superior object to all the data objects. Each root object is also access data.
Access Object:
An access object is a special type of Business object, who’s ID can be accessed to determine both the attributes of the access object itself and those of its dependent objects.
It is also a root object but it handles transactional data.
Dependent Objects:
A dependent object is a special type of business object whose attributes cannot be determined solely from the business object ID. You can only determine its attributes by using the ID of the superior access object.

 For example: ONEORDER (BOL component set) 􀄺 BTOrder (Root Object) 􀄺 BTAdminH (Access Object) 􀄺BTCustomerH (Dependent Object)

Search Objects:

A Query Object is special type of BO, whose attributes are the parameters of search request.
It is like parameters

Dynamic Search Object:

A Query Object is special type of BO, whose attributes are the parameters of search request.  It is possible to create select options of the parameter.

It is like select-options.

Search Result Object:

The result object of a search request has a dictionary structure assigned and displays data from different BOs as a result last.  To link the search result object to the data model hierarchy the search object is associated with the root object of the same component.

After query, the output is there in the search result object like internal table.  Here the internal table has the same structure as the root objects.

No comments:

Post a Comment