Quantcast
Channel: SCN: Message List - ABAP Connectivity
Viewing all articles
Browse latest Browse all 3125

Re: COALESCE

$
0
0

In the field INFNR there is never a null value but an empty value. So you can not use coalesce here because infnr is always set

 

SELECT * FROM EKPO WHERE INFNR = ''  ... returns a lot of results

SELECT * FROM EKPO WHERE INFNR is null ... returns no results

 

So in your case you should use matkl if infnr = ''

 

Best regards, Andreas


Viewing all articles
Browse latest Browse all 3125

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>