on 09-15-2008 9:13 AM
Hi All,
I am facing a problem in implementing custom serach logic for products.
I have defined a new set type and assigned that settype to the product. Now the requirement is we need to have a search based on that set type, basically thats the old material number that is maintained is ECC.
I have identified the search object as
ProdAdvSearchRgProducts and the class is CL_CRM_PRIL_ADVSEARCH_PROD. Now what i want to do is to implement my own search logic in a Z class.
How do i do it? I have tried assigning the Z class in the view crmv_pril_obj in SM30 but its giving me error as "Set type guid does not exists".
Any helpful input would be rewarded.
Regards
S Sengupta
Hi,S Sengupta :
i created a Z class inherited from CL_CRM_PRIL_ADVSEARCH_BASE , and redine the method and it done ok .
Your way is correct , replace the query class in the view crmv_pril_obj .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI XiaoMing
I have done the same but i get the same error as sengupta which is "Set type guid does not exists",
can u let me know ur steps
Thanks
Edited by: Jess on Dec 22, 2008 10:11 AM
Edited by: Jess on Dec 22, 2008 10:15 AM
Edited by: Anik Roy on Jan 5, 2009 9:41 PM
Removed email Reference - Refer to the [Rules of Engagement|https://www.sdn.sap.com/irj/scn/wiki?path=/display/home/rulesofEngagement]
Hi, first I think you need to add your custom attributes in an append structure for search structure CRMT_PRIL_QUERY_ADVSEARCH_PROD (you can find this info in table CRMC_PRIL_OBJ).
Then I think that you need to implement the BADI CRM_PRODUCT_SEARCH. There is a default implementation of this BADI, in class CL_CRM_PRIL_SEARCHEXIT_IMPL.
Good luck !
Xavier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.