Show TOC Entering content frame

Object documentation Business Object Locate the document in its SAP Library structure

Definition

It is a development object that represents an entity in the real business world.

Example

In the business world, a business object can represent a sales organization that offers products or services to various customers. The organization would need to store information on its customers and decide how to offer its products or services in different market segments. In the Mobilesolutions scenario, business objects can represent customers, contact persons, products, sales opportunities, sales activities and sales promotions.

Use

It is the basic unit that is used to model the business framework of the mobile application.

Structure

In the programming model, the business object is comprised of a generic kernel, which represents the inherent data, and the extended object with domain-specific functionality, which represents the business logic of the object. Each business object has elements that can be modeled to capture business data.

·        Properties that represent the attributes of an entity of a real business world. For example, the Sales Order object can have properties like order number, order date, quantity.

·        Methods that perform specific operations to manipulate data. For example, the Sales Order object can have a method to calculate and get the line items total.

·        Event handlers that describe a specific action that can occur against pre-defined events.

·        Relations that define the interaction between different objects based business logic. For example, a customer can be associated to one or more sales orders.

·        Business rules that validate the object data for consistency. For example, you can create a rule for the Sales Order object to check if the range of the order amount is consistent.

 


 

 

Leaving content frame