SAP CRM — Create a Custom BOL for WEB-IC


Look at the above screen. We need to give one implementation class and two tables one is Object table and another is  Model table.  Now let us create all these object. 

    One important thing with creating the implementation class is you need to specify super class for this implementation class and redefine specific methods. For Creation a record, editing the record (modify) and for Searching you have redefine specific super class methods. While creating views (insert, edit and search) you need to specify specific Super class(not the methods).

We really dont want to reinvent the wheel. Let us copy form the SAP Object. I am copying from the MP following object. Look at the following screen shot.


First let us create the tables ztest_object and ztest_model copying from crmc_objs_mpil and crmc_model_mpil. See the following screen shots.



Now we got the tables.  We need to change the check table in ztest_model. See the following screen shot.


Now let us create the data structure and add the structure and the data structure model in this BOL object tables. For this example this is a plain simple data structure and I am going to add the hierarchy for search.

See the following screen shot for the structure.


Now add this information in the BOL object Tables. Look at the following infomration I entered in the table. Always the object table needs to have a  root object and the other object that are associated to their parent. Here all the object are associated to the root.  If you have complex hierarchy then it takes time to do the correct design and come up with the information. Always try to see the existing code in the sap component and try to use that , this way it will be always easy to follow. See the following screen shot for the data.


Now enter this information in the model table. Now Enter the data structure hierarchy. See the following screen shot.

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