cancel
Showing results for 
Search instead for 
Did you mean: 

How to display the dependent entities in bol browser ?

Former Member
0 Kudos

Actually on click of children button in BOL browser it displays relationships. On click of any relationship it should display related entities but it is not displaying.

I noticed internally get_related_entities of CL_CRM_BOL_ENTITY getting called but the collection is empty for my custom component, where as if I debug the standard component it is not the case. Please help.

Accepted Solutions (0)

Answers (1)

Answers (1)

ceedee666
Active Contributor
0 Kudos

Hi Ajay,

you screenshot shows the transaction GENIL_BOL_BROWSER. This transaction is used to directly work with BOL objects on the data in the database. If you, for example, work with the BOL object BUIL_HEADER (i.e. business partner) and use the relation BuilAddressRel, you get all addresses of the particular business partner.

You problem could have two causes:

  1. Either your BOL model is not defined correctly. Have you checked in transaction GENIL_MODEL_BROWSER that the relationships are displayed correctly?
  2. If your model is correct have you checked that the correct data is read from the database? Is the required data present on the data base?

Hope this helps,

Christian

Former Member
0 Kudos

Hello Christian in genil_model_browser relationship is displaying that's why I'm getting the particular relationship on click of children in my BOL browser right.

Yup the required data is present in database but when get related entities is called internally the collection is empty.

But in BP for BuilHierarchyAdvancedSearch once we search and for particular entity on click of children BuilHierChangeHistoryRel & BuilHeaderNodeRel relations are displayed. Now on click of any of these related entities are fetched and displayed but in my custom component on click relation the related entities are not displayed on BOL browser.

Please help.

Thanks and regards

-Ajay

ceedee666
Active Contributor
0 Kudos

Hi Ajay,

OK, your implementation of the model seems to be correct. In this case I'd first check your implementation of the GET_CHILDREN method in your model class. Is it called correctly? Is the relevant data read?

Christian