Skip to Content
0
Former Member
Mar 23, 2010 at 01:24 AM

Custom component for search view and result view

120 Views

Hi Experts,

I have a requirement to create a custom component for search view and result view.

To have BP num, Name and zip code in search view,

and result view should bring Role, Name and contact details (selection is based on ship to party postal code)

First I went ahead with adding model node using BUilHeader as BOL entity and in attributes added BP num, Name and Postal code in Search view as well as custom controller and result view also had attributes from BuilHeader.

After adding required code in searchview.htm, in view configuration, when I tried to drag and drop fields it was throwing exceptions.

Exception Class CX_CRM_UNSUPPORTED_OBJECT - Object BuilHeader is not (yet) supported

Method: CL_CRM_GENIL_OBJ_MODEL=>IF_GENIL_OBJ_MODEL~GET_DQUERY_AVAIL_ATTR_OPTIONS

So I went ahead with using value nodes for search and result views and also for custom controller.

This time fields are not seen in configuration.

Can you pls guide me to complete this object.

Kindly help, Highly rewarded!!!

Regards,

Lakshmi