Skip to Content
avatar image
Former Member

To suppress zero after thousand separater in SAP Script

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Nov 04, 2008 at 10:42 AM

    Hi,

    Use this syntax

    EKPO-MENGE = 1,234.56

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

    Regards

    Bala Krishna

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 04, 2008 at 10:43 AM

    use split concept

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 04, 2008 at 10:55 AM

    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

    Add comment
    10|10000 characters needed characters exceeded