Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3180

Search field gets deleted after roundtrip

$
0
0

Hello,

I added 2 new custom search fields to a search view. I did not use AET. Instead, I manually created .APPEND to the "search" and "search result" structures and then added them to views by configuration. Thanks to an application-specific customising table, this was enough for the search to work well for both fields.

However, the value from one search field gets deleted after each roundtrip (after search is performed, or some other search field selected...).

The fields have different value-helps.

  • The first one works fine. It does not have GET_V method. Reason: there is a good standard search-help which I could reuse. I set the new SERVER_EVENT in redefined GET_DQUERY_DEFINITIONS. This field works fine in all senses.
  • However, the one with custom value help gets deleted after each roundtrip (after search is performed or after selecting a value for another search field). The custom value-help is a local class instantiated in GET_V method, returning an itab with name-value pairs in method IF_BSP_WD_VALUEHELP_PLDESCR~GET_SELECTION_TABLE. The SOURCE_TYPE = 'T'.

 

What am I missing? Please share your ideas.

 

Update1:

I tried to use GET_P to trigger the same server event as with the first good field, but GET_P does not fire for "ServerEvent" property (only "isInputHelpMandatory", not useful for me).

 

Update2:

I found that the standard sets value to search context node instance GR_QUERY_CTXT_NODE. I did it too, worked fine, no program errors, but no effect neither.

 

Update 3:

GET_ and SET_ for the new context attributes do not trigger at all.

 

Thanks!

KR,

Igor


Viewing all articles
Browse latest Browse all 3180

Trending Articles