Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3167

Concatenation output

$
0
0

Hi, I am creating a CDS view. I am concatenating two fields from a table "LFA1"

The fields are:

lifnr(supplier id)[TYPE: CHAR : LENGTH:10]

&

name1(supplier name)[TYPE: CHAR : LENGTH:35]

 

So when I concatenate like:

Concat(Concat(Concat(Vendor.name1 , '('),Vendor.lifnr),')') as MySupplier

 

I get something like:

Geller(0000100791)

These "0000" are appended. I guess its done to match length of lifnr .

 

But I don't want it to display like this. I want it to appear as-

Geller(100791)

Is there any workaround?

 

 

Thanks.


Viewing all articles
Browse latest Browse all 3167

Trending Articles



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