cancel
Showing results for 
Search instead for 
Did you mean: 

Query | Text Variable with space or empty

ChristianSass
Participant
0 Kudos
357

Hi Community,

we use variable exits in a BW Query to show texts in columns.

Is there a way to return '' or empty or null? If I do so, then the technical name of the variable is shown in the columns.

ls_range-low = ' ' (space) doesn't work either.

As a workaround, I return '.' but I'm looking for another solution.

Thx for any hint!

Accepted Solutions (0)

Answers (2)

Answers (2)

gregor_dieckmann
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Christian,

the logic behind text usually is to check whether a text is initial and then to take the technical name as text. In other words, as long as LS_RANGE-LOW is initial the fall-back will be used.

I have never tried this approach: one idea is to assign a white space to LS_RANGE-LOW, e.g. something like this

field-symbols:
  <x_low> type x.

assign ls_range-low to <x_low> casting.
<x_low> = '09'. " i.e. horizontal tab

Regards,

Gregor

former_member231709
Active Contributor
0 Kudos

Try to using backquotes:

LS_RANGE-LOW = ` `.
ChristianSass
Participant
0 Kudos

nope ... doesn't work either