cancel
Showing results for 
Search instead for 
Did you mean: 

Search ERP vendor in MDGS also displaying customers

0 Kudos

Hi All,

We have Customer and Vendor implemented in our MDG box. Intially, it was only Vendor and there was no issue.

But now, once we also implemented Customer - we see that the Search ERP Vendor in NWBC returns an entire list of related Vendors + Customers, not exclusively Vendors.

This happens for Search ERP Customer as well -returns entire list of Vendors and Customers though the search was intended only for customers.

We already have enhanced the standard class CL_USMD_SEARCH_DATA_DB to filter the search results based on some custom roles, but not able to find any parameter to differentiate if the search was initiated for a vendor or a customer.

If anybody has faced this earlier, please provide inputs if there is any way we can differentiate (or) any other way the searches can be made mutually exclusive.

We are using MDG 7.0.

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Shilpa,

you can differentiate search erp customer  and search erp vendor using FPM run-time configuration id .

Answers (2)

Answers (2)

0 Kudos

Thank you for your responses. We could achieve this by FPM run-tim config ID - it was different for customer and vendor.

Former Member
0 Kudos

Hi Shilpa,

Business partner role is the differentiator. Entity BP_ROL_ID holds the information.

Try to read this entity and filter the result list based on this value before showing in the screen.