Hello,
I have problem because of a search component within the webclient ui framework (background SAP Solution Manager).
Background:
There is a ui search component to search for change documents (which are plain entries within the table crmd_orderadm_h). I successfully have redefined the corresponding ui component. Now there is, let me say, a challenge.
The change document among other things consists of an assignment block for approval management. But dont think about approval management so long. It could be any other assignment block. I have to integrate one standard field of that assignment block as a search criteria to the search component, to search for change documents.
1. At first I navigated to the ui component of that assignment block and searched for the attribute structure of the right context node, where the attribute is placed.
2. Second, I navigated to the ui component of the search and opened the attribute structure of the search context node.
3. To that attribute structure I have appended the attribute with the corresponding data element from step 1.
Now the attribute is available as a search criteria within the search component. But there are two open problems.
First problem:
The attribute has a special value range, that is not available at the moment. The search criteria currently only is a plain text field. Do I have to implement the getter- and setter-methods (respectively the v-getter) to Show up the possible search values in an drop-down list?
Second problem:
The name of the attribute is included within the search, but the search ignores it and I get an query error ("there is a problem with the query"). I have seen the attribute name at a breakpoint in CL_AI_CRM_IM_SAPDATA_SEARCH=>IF_CRM_RF_Q1O_SEARCH~SEARCH. But deeper within the code there is an query error raising up. Did I forget some customizing?
Can anyone help me?
best regards,
raoul