The Status field of Case and Incidents are empty in UI
[brass case] [delphi case of] [in no case] [sql select case] [Stu] [Support]
Symptom
Open Solution Search UI and search “*” for Case and Correlated
Incidents. The status field of the result are empty.
Other terms
Support Studio, Solution Search
Reason and Prerequisites
The result returned from BCP for case:
In method PARSE_SEARCH_XML_COMMON of class /itsam/cl_sc_search, line 172.
IF ls_attribute-attr_name = gc_status.
ls_result-status = ls_attribute-attr_value.
ENDIF.
Here gc_status is STATUS and not StatusCode, so the if statement is always false, and the status can not be set.
Solution
Change the gc_status to StatusCode