cancel
Showing results for 
Search instead for 
Did you mean: 

To suppress zero after thousand separater in SAP Script

Former Member
0 Kudos

Hi ,

I want to suppress zero after thousand separater in SAP script.

like I have value 2.000.

i want display it as 2.

how to do this ASAP.

Thanks & Regards!!

Venu

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

Refer following -

A program symbol of one of the data types DEC, QUAN, and FLTP can contain decimal place data. Use the option below to override the Dictionary definition for the number of decimal places for the formatting of this symbol value.

Syntax

&symbol(.N)&

For example -

EKPO-MENGE field contains the value 1234.56. The Dictionary definition specifies 3 decimal places and an output length of 17.

&EKPO-MENGE& -> 1,234.560

&EKPO-MENGE(.1) -> 1,234.6

&EKPO-MENGE&(.4) -> 1,234.5600

&EKPO-MENGE&(.0) -> 1,235

Regards,

Harshada

Former Member
0 Kudos

use split concept

former_member585060
Active Contributor
0 Kudos

Hi,

Use this syntax

EKPO-MENGE = 1,234.56

&EKPO-MENGE&(.0) -> 1,235

Regards

Bala Krishna