2016 May 27 6:36 PM
Hello,
In a CDS View how can I use the Case statement to validade a field that is not retrieved from an outer join?
Here follows the example:
How can I verigy if ekbe_mseg.belnr is empty?
Thank you.
2016 May 30 6:20 AM
Hi,
you're on the right path, the solution is
case when ekbe_mseg.belnr is null
then '@S_LEDR@'
else '@S_LEDG@'
end as icon
Best regards,
Simon
Hi Simon,
It worked. Thank you. The CDS View was activated successfully, but the editor does not seem to recognize the sintax. Is it normal?
Best Regards,
Luís Martins
2016 May 30 6:20 AM
Hi,
you're on the right path, the solution is
case when ekbe_mseg.belnr is null
then '@S_LEDR@'
else '@S_LEDG@'
end as icon
Best regards,
Simon
2016 May 30 9:04 AM
Hi Simon,
It worked. Thank you. The CDS View was activated successfully, but the editor does not seem to recognize the sintax. Is it normal?
Best Regards,
Luís Martins
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |