cancel
Showing results for 
Search instead for 
Did you mean: 

SAPSCRIPT: How to Remove Leading Zeroes?

Former Member
0 Kudos

What syntax (or symbol) for the following field would I include so it will not print the leading zeroes of that field?

&CAUFVD-RSNUM&

Thank-You.

Accepted Solutions (1)

Accepted Solutions (1)

RichHeilman
Developer Advocate
Developer Advocate

Use the "Z"

&CAUFVD-RSNUM(Z)&

Regards,

RIch Heilman

Answers (1)

Answers (1)

Former Member
0 Kudos

you can use

&CAUFVD-RSNUM(3Z)& -> here it removes 3 zero's

&CAUFVD-RSNUM(Z)& -> it removes all zero's

Thanks

Seshu