Skip to Content
0
Jan 05, 2011 at 10:00 AM

Enhancing the Commercial Agreements (Complaints) Search

30 Views

Hi all,

I need to add a new feild to the Commercial Agreements search leading Tr type :Complaints

Search Object : BTQCompl

Search Structure : CRMST_QUERY_COMPL_BTIL

The feild to be added or to be searched on is 'PO_NUMBER_SHIPTO' which is not part of the standard search structure

but is available as a standard feild in the CA overview page as part of the object BTSalesSet.

Only thing is that we need to add it in search view

Hence instead of using EEWB, I have manually appended the new feild to the include structure CI_EEW_BUS2000120_SEARCH

and the feild is now available in search view

1) Is this the correct way ? or is there any other way to do it ?

For the search logic,

the badi CRM_RF_SEARCH_EEW is already implemented. (may be while adding the other feilds)

But when I put a point here its not getting triggered.

2)Will this BADI work even for Complaints Search ? or DO I have to manually add the code in eh_onSearch()

3)Also is it mandatory to make an entry in the CRMC_REPDY ?

Please let me know on the above questions.

regards,

Pushpa