Skip to Content
avatar image
Former Member

Thousand separator in FORM display

Dear experts I need to give thousand separator for existing varriable having no comma separator .

I want &varr& = 22367890 should be displayed as 223,678,90.

plz help me.

regards

SRIRAM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    Mar 10, 2009 at 05:00 AM

    hi sriram,

    U use simple this,

    Symbols of the DEC, CURR, INT, and QUAN data types are normally formatted with the a u2018thousandsu2019 separator character. The T option allows you to omit this separator character.

    Syntax:

    &symbol(T)&

    The 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(T)& -> 1234.560

    Regards,

    ARUN

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 09, 2009 at 06:58 AM

    you can set in user profiles.

    SYSTEM-> USER PROFILES -> DEFAULT

    ~Satya

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 09, 2009 at 07:06 AM

    Hi,

    check out under 'General Settings' there select the format or

    Go to system -> User profile -> Own data set there

    Regards,

    jaya

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 09, 2009 at 07:10 AM

    hi,

    In the script text editor, set the country key. This way you can default the format settings for your script to that country formatting such as date, currency.etc.

    setting country key.

    /: SET COUNTRY 'XXX'.

    Thanks

    sharath

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 09, 2009 at 10:25 AM

    Hi,

    check this syntax...

    Syntax:

    /: SET COUNTRY country_key

    You can enter the country key either as a literal value enclosed in quotes or as a symbol.

    /: SET COUNTRY 'CAN'

    /: SET COUNTRY &country_key&

    Use a blank country name to revert to the setting found in the user master record:

    /: SET COUNTRY ' '

    This SAPscript command actually calls the corresponding ABAP command internally. This guarantees the effect of the SAPscript command to be identical with that of the ABAP command.

    or else...

    check this link...

    http://help.sap.com/saphelp_nw70/helpdata/EN/d1/802ec5454211d189710000e8322d00/frameset.htm

    Regards

    Kiran

    Add comment
    10|10000 characters needed characters exceeded