Hi Jorge,
Thank you for your time in answering for my query.
Agreed . The search_criteria_initial method is set to trigger the method search_partners. This is fine till here.
ct_partner_keys is populated with entries and this method search_partners is triggered again till we have a hit or ct_partner_keys is done with all the partner entries in the criteria.
there is a parameter cv_category_filtered in method search_partners which is set and is causing this method to call more than once and hence the performance is going down in the search criteria.
When this parameter cv_category_filtered is space ct_partner_keys is null and the badi method's search_criteria_initial and search_partners is called only once ( as per my observations ).
when cv_category_filtered is "X" then we have this methods called more than once.. ct_partner_keys is populated with entries of BP 100+, 100+ 100+ entires and method keeps triggering.
Im just trying to refine how this parameter cv_category_filtered is set to space is controlled if im looking in the right direction ..
Br,
Vijay