Skip to Content
Author's profile photo Rajwin Singh Sood

SAP CRM Middleware Overview with step by step configuration

SAP CRM Middleware Overview

Topics to be discussed

Introduction

BDOC introduction

BDOC classes

sBDOC(Synchronization BDOC)

mBDOC(Messaging BDOC)

Initial setup steps for BDOC

BDOC monitoring steps

Introduction

SAP has a very strong middleware tool when compared to other applications like Oracle where it is pretty easy for SAP CRM application to connect with and exchange data with other SAP Applications like SAP BW, SAP R/3 system etc. This connection and data transfer is established through middleware. From an ERP application perspective this is an extremely important aspect the data exchange among the systems is kind of back-bone and the crux of very existence of the application. This data exchange can be of following types between other systems and CRM:

1. Initial data transfer which is also called as Initial Load in SAP terminology

2. Intermediate synchronization of data among the applications also called as Delta Load in SAP terminology

3. Synchronization.

Introduction

Just to throw some light on the kinds of data exchange mentioned above, it can be better understood if we look at the frequency of the data exchange. Initial load is primarily a one time activity wherein when the connectivity is established between the systems, the data is transferred from one system to another. This data can range from configuration data (like pricing conditions) to master data (like Business Partners and Products) to transactional data (like Sales Quotations, Contracts and Sales Orders).

Delta load is an activity of intermediate data transfer among the systems. This activity takes place more often than not to keep the data in various systems in sync and also take care of the changes to details of the data in various systems. It also takes care of newly created data in the system and distributes the same to other connected applications. Primarily this takes place in real-time and is primarily done automatically.

Synchronization activity is to take care of any out of sync data. This may be a cause of connectivity failure or might as well be an outcome of maintenance activity. This is primarily done manually as and when needed.

SAP CRM Middleware in SAP CRM Architecture

Picture1.jpg

Picture2.jpg

Picture3.jpg

Picture4.png

Picture5.jpg

Picture6.jpg

sBDoc (Synchronization BDoc)

Only used for data synchronization with mobile clients.

sBDoc types contain direct mappings to tables of the consolidated database. sBDoc types are used to make data persistent in the CDB and to exchange messages between the CRM Server and mobile clients.

Realignment and dependencies between sBDoc types are supported.

Picture8.JPG

Picture9.jpg

Picture10.jpg

Initial setup steps for BDOC

Setting up of RFC connection

Selection of Industry

Maintain Default Customer Industry

Generation of Industry specific objects

Configuration of Publication, Sites and Subscription

Define Middleware Parameters

Registration of Destinations

Registration of Inbound Queues

Maintain Organization Unit Objects

Maintain Object Number Ranges

Set Up Objects Exchange

Steps involved in data exchange

Start Initial Load

Monitor Objects

Setup Delta Load

Create Synchronization Request

Start Synchronization Request

Monitor Synchronization Request

Picture11.jpg

Picture8.png

Picture9.png

Picture10.png

Picture11.png

Picture12.png

Picture13.png

Picture14.png

Picture15.png

Picture16.png

Picture17.png

Picture18.png

Picture19.png

Picture20.png

Picture21.png

Picture22.png

Picture23.png

Picture24.png

Picture25.png

Picture26.png

Picture27.png

Picture28.png

Picture29.png

Picture30.png

Picture31.png

Picture32.png

Picture33.png

Picture34.png

Picture35.png

Picture36.png

Picture37.png

Picture38.png

Picture40.png

Picture41.png

Picture42.png

Picture43.png

Picture44.png

Picture45.png

Picture46.png

Picture47.png

Picture48.png

Picture49.png

Picture50.png

Picture51.png

Picture52.png

Picture53.png

Picture54.png

Picture55.png

Picture56.png

Picture57.png

Picture58.png

Picture59.png

Picture60.png

Picture61.png

Picture62.png

Picture63.png

Picture64.png

Picture65.png

Picture66.png

Picture67.png

Picture68.png

Picture69.png

Picture70.png

Picture71.png

Picture72.png

Picture73.png

Picture74.png

Picture75.png

Picture76.png

Picture77.png

Picture78.png

Picture79.png

SAP CRM Middleware monitoring steps

Firstly use SMW01 to monitor BDOCS to check whether there are any BDOCS in error

Secondly check for inbound queues whether they are in error or no using transaction SMQ2

thirdly check  for inbound queues whether they are in error or no using transaction SMQ1

Assigned Tags

      6 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Mohit Goel
      Mohit Goel

      Very informative article Rajwin. Must read for beginners in Middleware.

      Author's profile photo Former Member
      Former Member

      This is one of the best document I have ever seen on CRM middleware!!

      Thanks Rajwin for posting this 🙂

      Author's profile photo Keerthy Karunan
      Keerthy Karunan

      Very Informative Blog!

      Keep posting!

      Author's profile photo Praveen Nenawa
      Praveen Nenawa

      Hello Rajwin,
      A nice one indeed.

      So is a doc on  BDOC statuses and their troubleshooting tips,queue debugging next  😕 .

      Author's profile photo Former Member
      Former Member

      Hi Rajwin,

      I am CRM Technical guy and would like to get in touch with you. Can you please share me your email / linkedin profile?

      Thanks,

      Pradeep

       

       

      Author's profile photo Rajwin Singh Sood
      Rajwin Singh Sood
      Blog Post Author

      you can get in touch with me at linked in. search with Rajwin Sood you'll find me over there