cancel
Showing results for 
Search instead for 
Did you mean: 

Enabling Classification Search for Customer/Vendor MDG HANA Search

0 Kudos

Hello All,

I have a requirement to enable search on classification data for Customer/Supplier. These are HANA search views (MDG_BS_CUS_CUSTOMER for customer) and when I try to select the entity BP_CUSCLA (entity for Customer Classification data), this entity is not selectable and hence I cannot generate the search view for this entity as shown in the screenshot.

customer-hana-search-view-classification.jpg

I know SAP allows classification search only on Material right now. But has SAP given a reason as to why?

Has anyone tried to enable classification search on the Customer/Vendor so far? If so, any information/guidance on the same would be really helpful.

Thanks in Advance!

Regards,
Srikanth

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi Srikant,

Yes you are right, once UI is enhanced, in the custom feeder class (as mentioned in step2 ) you need build select queries that reads the data from HANA DB. For this, you need to develop custom CDS view in HANA studio, once you activate CDS view it will generate select query in adapter class. You should be calling this adapter class inside feeder class.

If you are not sure to generate CDS view please follow below link

https://blogs.sap.com/2017/09/18/implementing-fuzzy-search-using-cds-sap-hana/

Regards,

Anvesh Pulijala

0 Kudos

Hi Srikant,

Not sure why SAP has not provided but you can achieve this.

Step 1:

You need to create an enhancement in the application BS_BP_OVP/OVPALL and add search UIBB component in the initial page .

Step 2: Assign a custom feeder class and build some logic to generate field catalog related to classifications attributes

Step 3 : Implement wiring with Custom UIBB as source component and result as target component

Step 4 : In feeder class build logic to read business partner to display them in search result.

0 Kudos

Hi Anvesh,

Thank you. Adding a custom UIBB can be done, but that is only a front-end development.

But the search operation in the backend needs to happen through HANA search on the HANA DB. For the HANA search to work for classification, it needs to have those views generated in HANA Studio right, only then the search would be successful. But SAP restricts us to select and generate the views related to classifications.

Regards,

Srikanth