SAP CRM — Create a Custom BOL for WEB-IC

BOLBusiness Object Layer.

Usually we no need to build a BOL object. We will end up changing the existing BOL. I came across a situation that I need a screen for a component and create a screen for add/ modify and search the Z table.

In this post let us see how we create a custom BOL object for a Z table. Once this bol is create we need to add this bol in the custom view and show that on the screen. For now let us see how we can create a custom BOL.

Let us create a z table(ZTEST_TEST_TBL) with name , age and sex. See the following screen shot for the table.


Let us use this table and create a bol for this table to add,modify and search data.

OK. Now we need to define two tables. One for the data elements that we are going to use in the BOL and another for the hierarchy of the data element that we are going to use in the BOL object. Once these table are defined then we need to mention the class module that we are going to use for the BOL object. All these information are configured in the spro for this bol object. See the following screen shot.


In the above configuration if you enter the Basic setting you will see all the BOL object defined here. OK for our custom let us define the bol object as ZTBOL.  See the following screen.


Now select the component Definition(the first one) and click on the new entries. Let us define the BOL component and add the details. See the following screen.


Add a Component Set Definition. See the follow screen shot.


Now assign the Component definition to the component set definition. See the following screen shot.


Now the BOL component is assigned to the Component Set definition. You can assign  More than one BOL component to the component set.

13 thoughts on “SAP CRM — Create a Custom BOL for WEB-IC

  1. Hi Kumar,
    The article is great. Great worka dn effort I really appriciate it.
    I am wondering that how a transaction can be done. I need to create a BOL for a transaction (from ERP) in CRM. Can you please provide me soem idea that how it should be done. SHould a BOL be created for transaction or ….?
    Any kind of help would be great. I need to start the work ASAP and your help/feed back would a be great help.

  2. Excellent blog/tutorial…. I understood every bit of it.. It is very clearly explained…
    Thank you for this.

  3. Hi,

    Thnks for the wonderfully demo ..

    However I am getting a short dump in the bol_browser .. when I double click on the value ???


  4. Hi Kumar,

    Iam creating a custom BOL as in example provided by you, but a small clarification. Iam not understanding a entry which is in ztest_object table. Att structure ZES_SHWOFFER is entered as a entry in that table, but I cannot see this structure creation in entire example. Could you please help me, whether I should create this structure or not mandatory.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s