Friday, July 16, 2010

Object Relational-Mapping in SAP

ORM is software-programming paradigm in linking object-oriented code with relational databases which is smart solution for accessing data. ORM cuts down our development time and effort and to circumvent bulk code for querying the Data . SAP's answer for the ORM model is a BOL layer with plenty of API's to access the business data and its relations with ease.


The following list shows the various versions of the Business Object Layer:

CRM 3.1 First version – never in productive use
CRM 4.0 First version use in a productive system
CRMIS 4.0 Several improvements – introduction of separate display mode
SAP_ABA 7.0 Relocation from CRM to ABA layer, first usage outside CRM
CRMUIF 5.1 Introducion of dynamic searches; whole CRM with BOL support
CRMUIF 5.2 Stabization and performance improvements
CRMUIF 6.0 Major internal changes for better performance on high number of objects
WEBCUIF 7.0 Current version; Full Switch Framework support; Stable Core release



The BOL API consists of various interfaces and classes that you can use to access business
data:



x CL_CRM_BOL_QUERY_SERVICE
You use this class to select business objects.
x CL_CRM_BOL_ENTITY
You use this class for implementing business objects.
x IF_BOL_TRANSACTION_CONTEXT
You use this interface to control transaction behavior.
x IF_BOL_BO_COL
The interface provides collections to hold business objects.

No comments: