SAP CRM for Mobiles Replication Architecture is the motivation of utilizing BDocs as knowledge container for processing business objects and for transporting them between the CRM Middle ware and the cell shoppers is you could process/transport them as one unit, as an alternative of getting to course of/transport a number of individual desk entries.
BDoc's
While you talk about BDocs, it's a should to distinguish between the BDoc sort, the BDoc instance and the BDoc message.A BDoc type or construction needs to be defined for every required business object, e.g. Contact Individual,Sales Order etc. It contains all the R/3 table entries that make up the corresponding enterprise object.A BDoc instance is a concrete instance of a given BDoc kind containing all field values.A BDoc message (or just BDoc) contains “modified“ fields only. These embody new fields as effectively as deleted fields. The distinction between a BDoc message and a BDoc instance is that there's just one BDoc instance for a Business Object however there can be multiple BDoc messages (with their own Ids) for one BDoc instance. However a BDoc instance is replicated to a cellular consumer utilizing a BDoc message the place all fields are filled.
A BDoc sort consists of a header and a body.The BDoc header consists of one single data section, the so-known as control segment.The BDoc physique consists of one or more data segments and of 1 error segment.The control section merely incorporates header information, whereas the individual data segments comprise the actual table entries that make up the corresponding enterprise object.The error section can be utilized to retailer error information.Every knowledge segment incorporates section fields, additionally known as segment attributes. These fields are mapped to actual data fields of physical database tables.In BDoc varieties used for knowledge alternate between mobile clie nts and the CRM Server, an information segment is mapped to exactly one database desk, whereas in BDocs used, for instance, on the shopper side only, a information section will additionally be mapped to a join of tables or to a desk view.
BDoc Message
The Header of a BDoc message comprises the message ID, the sender ID and details about the BDoc instance and BDoc type.The first data phase of the Body of a BDoc message can be referred to as root segment. In contrast to all other data segments, the basis segment solely comprises one key field. All subsequent knowledge segments include two key fields: an personal one and the one of many parent information segment.As effectively as, every knowledge phase accommodates the duty that has been carried out (i.e. INSERT, UPDATE or DELETE) and the so-referred to as SendBits , which inform about the subject on which this activity has been performed.
The Recipient Listing is decided and added by the replication service and utilized by the outbound adapter.On the cellular clients, BDocs appear only on the Transaction Layer (TL). The attributes of data segments correspond to fields of the physical database tables on the one hand and then again to properties of Business Objects.
Relation between BDoc and replication object:
The replication object bears information about how BDocs of one kind are replicated and which fields of the BDocs can be used as replication criteria.Every replication object refers to exactly one BDoc type of the BDoc repository. Nonetheless, not each BDoc type must have a corresponding replication object (since not all BDocs are used for replication purposes).Used abbreviations for replication object are for instance CAP (buyer and prospects), CON (contact persons), ACT (activities), OPP (alternatives) or QOM (citation and order management).
Guidelines for replication objects :
One physical knowledge file belongs to precisely one occasion of 1 BDoc kind and subsequently to not less than one replication object.A BDoc kind ought to comprise as much logically interrelated tables as possible.The key fields of root segments all the time have to be stuffed, as a end result of they could probably be relevant for replication. That is particularly necessary for modifications of dependent replication objects.
Used table: SMOKNA1 (Normal Information in Customer Grasp) with a number of units of information (key area buyer number K*) and the relating replication object type CAP or CON. Each of them is said to no less than one single replication object (buyer or contact particular person).One data document isn't included in a couple of replication object, for instance:
Standards for a Dependent Replication Object:
Standards for an Clever Dependent Replication Object:
Throughout a realignment, the replication key (equal to the root ID, the system key in the root section) and the appropriate site ID are written into the Look-Up Table . For object replication, it is then only essential to learn the entries of the look-up table.The data movement between the cell purchasers and the CRM Middleware is handled via inbound queues and outbound queues located on each side, the place as every cell consumer has one inbound queue and one outbound queue and the CRM Middleware has one inbound queue and one outbound queue for each connected mobile client.
Interlinking
Description of an n:m relationship between objects of the identical or of two completely different object sorts.Inside the client software, relations (interlinkages) seem as hyperlinks for navigation purposes.A number of the tables used for interlinkages of business objects are:
BDoc Processing into the Middle ware
Frequent companies throughout the CRM Middle ware:
The BDoc and the location IDs are then returned to the flow and from there handed on to the Outbound Adapter, which places the BDoc into the related outbound queues.Lastly the replication realignment service determines whether a realignment is required or not.
As quickly as a realignment is required, the BDoc message is copied into a separate realignment queue for further processing.The realignment course of is answerable for maintaining the look-up tables. In these look-up tables,assignments are maintained between replication objects and sites. If a beforehand made task is changed - for example, if new objects are entered or previous objects are deleted or distribution criteria are modified - this should be reflected in the relevant look-up table.The activities required because of these modifications to a glance-up table are written into an extract queue.By using a BDoc message, these actions are then handed on to the concerned websites by way of the Outbound Adapter and the corresponding outbound queues.
Related Posts
Roles in SAP CRMSAP CRM Organizational Model
People Centric SAP CRM IntroductionCRM Technical Infrastructure
CRM Interaction Center Agent Perform
CRM Technical Architecture
ALV GRID CONTROL IN REPORTS DAY 34
INTERACTIVE REPORTS BASICS DAY 35
BDoc's
While you talk about BDocs, it's a should to distinguish between the BDoc sort, the BDoc instance and the BDoc message.A BDoc type or construction needs to be defined for every required business object, e.g. Contact Individual,Sales Order etc. It contains all the R/3 table entries that make up the corresponding enterprise object.A BDoc instance is a concrete instance of a given BDoc kind containing all field values.A BDoc message (or just BDoc) contains “modified“ fields only. These embody new fields as effectively as deleted fields. The distinction between a BDoc message and a BDoc instance is that there's just one BDoc instance for a Business Object however there can be multiple BDoc messages (with their own Ids) for one BDoc instance. However a BDoc instance is replicated to a cellular consumer utilizing a BDoc message the place all fields are filled.
A BDoc sort consists of a header and a body.The BDoc header consists of one single data section, the so-known as control segment.The BDoc physique consists of one or more data segments and of 1 error segment.The control section merely incorporates header information, whereas the individual data segments comprise the actual table entries that make up the corresponding enterprise object.The error section can be utilized to retailer error information.Every knowledge segment incorporates section fields, additionally known as segment attributes. These fields are mapped to actual data fields of physical database tables.In BDoc varieties used for knowledge alternate between mobile clie nts and the CRM Server, an information segment is mapped to exactly one database desk, whereas in BDocs used, for instance, on the shopper side only, a information section will additionally be mapped to a join of tables or to a desk view.
BDoc Message
The Header of a BDoc message comprises the message ID, the sender ID and details about the BDoc instance and BDoc type.The first data phase of the Body of a BDoc message can be referred to as root segment. In contrast to all other data segments, the basis segment solely comprises one key field. All subsequent knowledge segments include two key fields: an personal one and the one of many parent information segment.As effectively as, every knowledge phase accommodates the duty that has been carried out (i.e. INSERT, UPDATE or DELETE) and the so-referred to as SendBits , which inform about the subject on which this activity has been performed.
The Recipient Listing is decided and added by the replication service and utilized by the outbound adapter.On the cellular clients, BDocs appear only on the Transaction Layer (TL). The attributes of data segments correspond to fields of the physical database tables on the one hand and then again to properties of Business Objects.
Relation between BDoc and replication object:
The replication object bears information about how BDocs of one kind are replicated and which fields of the BDocs can be used as replication criteria.Every replication object refers to exactly one BDoc type of the BDoc repository. Nonetheless, not each BDoc type must have a corresponding replication object (since not all BDocs are used for replication purposes).Used abbreviations for replication object are for instance CAP (buyer and prospects), CON (contact persons), ACT (activities), OPP (alternatives) or QOM (citation and order management).
Guidelines for replication objects :
One physical knowledge file belongs to precisely one occasion of 1 BDoc kind and subsequently to not less than one replication object.A BDoc kind ought to comprise as much logically interrelated tables as possible.The key fields of root segments all the time have to be stuffed, as a end result of they could probably be relevant for replication. That is particularly necessary for modifications of dependent replication objects.
Used table: SMOKNA1 (Normal Information in Customer Grasp) with a number of units of information (key area buyer number K*) and the relating replication object type CAP or CON. Each of them is said to no less than one single replication object (buyer or contact particular person).One data document isn't included in a couple of replication object, for instance:
- CAP (customer and prospects)
- CON (contact persons)
- QOM (quotation management)
- OPP (alternatives)
- ACT (actions)
- The BDoc is distributed by approach of an own look-up table
- Attributes are defined as standards fields
- The look-up table is up to date routinely using defined guidelines
Standards for a Dependent Replication Object:
- The BDoc is distributed via an existing look-up table
- No attributes are outlined as standards fields
- No own guidelines exist, except these of the guardian object
Standards for an Clever Dependent Replication Object:
- The BDoc is distributed through an personal look-up desk
- Attributes are outlined as standards fields
- The look-up desk is updated automatically utilizing outlined rules and using entries of another current look-up table.
- The mother or father replication objects of the chosen replication object (in this case none).
- The replication objects relying on the chosen replication object (on this case one intelligent
- one and several other dependent ones).
- All publications that contain the selected replication object.
- Replication-relevant fields with operator and distribution kind (crittype) whether it is an intelligent one.
Throughout a realignment, the replication key (equal to the root ID, the system key in the root section) and the appropriate site ID are written into the Look-Up Table . For object replication, it is then only essential to learn the entries of the look-up table.The data movement between the cell purchasers and the CRM Middleware is handled via inbound queues and outbound queues located on each side, the place as every cell consumer has one inbound queue and one outbound queue and the CRM Middleware has one inbound queue and one outbound queue for each connected mobile client.
- A BDoc message is shipped from the outbound queue of a mobile consumer to the CRM Middle ware.
- The BDoc message is placed in the corresponding CRM Middle ware inbound queue.
- The BDoc message is mapped to a replication object.
- In the look-up table of this object, the replication secret is used to identify the positioning IDs for the subsequent replication.
- Based on these website IDs, the BDoc is positioned within the outbound queues for the corresponding cellular clients.
- The BDoc message is obtained within the inbound queue of each of these mobile clients.
Interlinking
Description of an n:m relationship between objects of the identical or of two completely different object sorts.Inside the client software, relations (interlinkages) seem as hyperlinks for navigation purposes.A number of the tables used for interlinkages of business objects are:
- SMOKVBEZ4 (customer - associated actions)
- SMOKVBEZ6 (enterprise companion - business companion)
- SMOKVBEZ7 (customer - staff of gross sales crew)
- SMOKVBEZ9 (buyer - opportunity)
- SMOKVBEZ11 (activity - worker)
BDoc Processing into the Middle ware
Frequent companies throughout the CRM Middle ware:
- The R/3 Adapter uploads enterprise objects to the related OLTP R/3 system.
- The CRM service exchanges enterprise objects with the CRM on-line components.
- The CDB service saves the fields of a BDoc message within the corresponding CDB tables.
- The Replication and Realignment service determines whether a realignment is critical or not.
The BDoc and the location IDs are then returned to the flow and from there handed on to the Outbound Adapter, which places the BDoc into the related outbound queues.Lastly the replication realignment service determines whether a realignment is required or not.
As quickly as a realignment is required, the BDoc message is copied into a separate realignment queue for further processing.The realignment course of is answerable for maintaining the look-up tables. In these look-up tables,assignments are maintained between replication objects and sites. If a beforehand made task is changed - for example, if new objects are entered or previous objects are deleted or distribution criteria are modified - this should be reflected in the relevant look-up table.The activities required because of these modifications to a glance-up table are written into an extract queue.By using a BDoc message, these actions are then handed on to the concerned websites by way of the Outbound Adapter and the corresponding outbound queues.
Related Posts
Roles in SAP CRMSAP CRM Organizational Model
People Centric SAP CRM IntroductionCRM Technical Infrastructure
CRM Interaction Center Agent Perform
CRM Technical Architecture
ALV GRID CONTROL IN REPORTS DAY 34
INTERACTIVE REPORTS BASICS DAY 35
No comments :
Post a Comment