Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Need help in LPAD for numeric val in calculated column

$
0
0

Hi ,

 

I have a requirement to write a logic in calculated column to apply padding to kunnr ,if kunnr value is non numeric else add 20 char padding .

 

 

syntax Used :  lpad("KUNNR",strlen("KUNNR")+10,'0')

 

this is adding padding but how to check kunnr is numeric or string before adding padding


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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