Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Number format

Hi all!

I´ve a char with 1254.45

I need show it 1,234.45 in my smartform, How I have to declare de global variable? I need convert this with code in my smartform?

Sorry about my English.

Thanks!

Tags:
replied

Hi

You should move your char data into currency variable, in this way the system'll automatically convert it.

DATA: AMOUNT TYPE WRBTR,

AMOUNT_C(10) TYPE C VALUE '1254.45'.

MOVE AMOUNT_C TO AMOUNT.

Use AMOUNT as variable to display the data.

Max

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question