on 2024 Mar 27 9:46 AM
Good Morning dear Community Members!
I would like to ask how can I globally search by case.. when columns in CDS views.
For example, I present the problem schematically.
I am getting a short dump, when I try to activate a global search by the field "Name".
@AbapCatalog.sqlViewName: 'ZC_VIEW'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@Search.searchable: true
define view ZC_View
as select from zname
{
@Search.defaultSearchElement: true
Case when aktiv = 'X' then name else '' end as Name
..
}
Informationen zur Abbruchstelle
Der Abbruch trat im ABAP-Programm bzw. Include "CL_SADL_SHORTDUMP=============CP"
auf, und zwar in "TRIGGER_DATABASE_FAILURE_DUMP". Das Hauptprogramm war "SAPMHTTP".
Im Quelltext befindet sich die Abbruchstelle in Zeile 2
des Includes "CL_SADL_SHORTDUMP=============CM009".
Quelltextauszug:
METHOD trigger_database_failure_dump.
DATA(_) = COND i( WHEN aunit_excptn_instead_of_dump <> abap_true THEN
THROW SHORTDUMP cx_sadl_dump_database_failure( io_error )
"########################################################################################
Globally searching by non-calculated columns is working...
Request clarification before answering.
User | Count |
---|---|
61 | |
8 | |
7 | |
6 | |
6 | |
4 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.