Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Formatting Telephone number in sapscript

Former Member
0 Kudos

Hi All,

Is there a way to format telephone & fax no in sapscript.

for eg: telephone no. 5550897800 needs to be printed as 55 50 89 78 00

Thanks for all your suggestions

Amu

2 REPLIES 2

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

I think that you could use a edit mask.

Regards,

Rich Heilman

former_member186741
Active Contributor
0 Kudos

you could use the following approach:

&phone(2)& &phone2(2)& &phone4(2)& &phone6(2)& &phone8(2)&

or as Rich suggested, you could use a write to a variable within the abap using an edit mask and then have your sapscript reference the new formatted variable.