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: 

translate number SAPSCRIPT

Former Member
0 Kudos

in se38 i made change number 1.000.000,00

(i have option <b>1</b> in <b>SU01</b> optoin 2 is good )

with this code

TRANSLATE l_num USING ', ' .

CONDENSE l_num NO-GAPS.

MOVE l_num TO l_num2.

i get 1.000.000<b>00</b> and this the err.

how can i solve it so it will be good to option 2 too in SU01

7 REPLIES 7

Former Member
0 Kudos

SU01-details-option 1,2 in numbers

sorry

Former Member
0 Kudos

What ever u set in SU01, use this code:

Write l_num TO l_num2.

Do not write any other statements like Translate, condnse.

0 Kudos

i tried write but it not giving me to activate it

it's err

0 Kudos

Declare the l_num2 as character of length equivalent to the l_num1.

0 Kudos

num1 is type string

num2 is decimal 2

i need the number to be decimal 2

0 Kudos

I MUNST WRITE CONDESE BCUS I GET NUMBER

1.000.00 00 I HAVE <b>SPACE</b>

0 Kudos

no one had it before