cancel
Showing results for 
Search instead for 
Did you mean: 

B2B generic-search

Former Member
0 Kudos

Hello Isa users,

We are facing a problem in the b2b webshop we are developing regarding to the generic search.

The search we are using is "appbase/genericsearch.jsp (SearchCriteria_B2B_Sales) " now the problem is on the first drop box, where the order, orderitm, quotation and quotitem are, we want to add a 5 available option, INVOICE in this case.

The problem is that im not seeing how to add another options to this combo box (INVOICE or any one Custom), for what i understand from degug the class that control what show up in this box is GenericSeatchISAUI.java method buildDocumentTypeFilter?

Is there any way for me to add more fields to this box by manipulating generic-searchbackend-config.xml?? or do i have to manipulate the java class GenericSeatchISAUI?

Thanks in advance,

Best Regards

Nuno Lopes

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Nuno Lopes,

You need to extend generic-searchbackend-config.xml to meet this requirement and you don't need to extend any java class,Follow the beolw steps:

a)Extend generic-searchbackend-config.xml

b)Identify the property-group name , property to be modified.

c)Add the allowed value,Description

Allowed Value will be passed to ABAP and Desc will print on JSP

Are you implementing CRM/ECC webshop?

Hope the above answer helps..

-Raj

Former Member
0 Kudos

Hello Raj,

Thanks for your anwser

In the mean time i were able to solve this problem and understand a litle more of the search, the field i wanted to show was only invoice and it was showing me more 2 manage by chaging the class GenericSearchISAUI.

Just another thing you mention

a)Extend generic-searchbackend-config.xml

What you mean extend, because the only way i've found to work with configuration files was by changing the standard ones

Best Regards

Many thanks,

Nuno Lopes

Former Member
0 Kudos

Hi -

The best practice is not to modify the standard sap config files. there is an extension mechanism which you can do that.

So, Extend generic-searchbackend-config.xml from u201Ccrmisawebb2bsap.com -> WEB-INF\xcm\sap\modification\u201D to u201Ccrm/tc/web/appbase -> WEBINF/xcm/customer/modifications/generic-searchbackend-config.xmlu201D for custom modifications.

Refer to Extension Development guide for more information.

-Raj

Former Member
0 Kudos

Hi Nuno,

I am also trying to implement the same thing as you did. I want to add new option to the first dropdown. Can you please elaborate on how you have updated the class "GenericSearchISAUI" and did the changes and how did u invoke that class. I am very much new to this technology. Thanks in advance.

-Vandy

Edited by: VandyVV on Nov 15, 2011 1:45 PM

Edited by: VandyVV on Nov 15, 2011 2:04 PM