This document is created to provide guidance when a user sets an initial search in Sourcing Cockpit with automatic start of searching.
Users has the possibility to set default search criteria in SOCO, so that they don’t have to choose the desirable criteria again every time they open SOCO. Moreover another possibility is to initiate search when Sourcing Cockpit is opened. This can be set by ticking flag “Start Search Upon Opening“.
This can make the purchaser’s work easier, but it can also cause performance issues, if the set criteria don’t narrow down the search result enough. In this case user can experience the following symptoms:
- After user opens Sourcing Cockpit just a loading screen appears
- System timeouts before Sourcing Cockpit can be opened
When you experience these symptom, you should stops system to start search upon opening SOCO. There is two ways for two different scenarios. You can determine which scenario is yours by checking the activation status of customizing switch SRM_701_MULTI_VALUE_SEARCH.
You can do this by executing the following SPRO path: SAP Implementation Guide -> SAP Supplier Relationship Management -> SRM Server -> Display Status of Customizing Switches.
When the switch is not active, the solution that is described in the following KBA can be used: 2098180.
When the switch is active, the initial start of search has to be stopped during debugging. Set a breakpoint in Method GET_SETTINGS of Class /SAPSRM/CL_CH_WD_DOM_SOCO_GAF1 as it can be seen below:
Here modify the value of LS_SOCO_SETTINGS_AUTOSTART from ‘X’ to blank. Then press F8. In this case SOCO will open without initiating the search and you can untick the mentioned flag or change the search criteria in the settings.