Register Login

How to remove commas ,dot and left leading 2 zeros

Updated May 18, 2018

I want to remove commas,dot and left leading zero for field value.

field is PRPS-USR07 and value instead of 7,121,025.00 to 7121025

can you please let me it is possible or not.

I tried Different Set Patterns no helpful.

Thanks & Regards


Comments

  • 18 Aug 2012 8:02 am Shalesh Singh Visen
    if decimal separator is ".", you may use e.g.

    Set V[x] "7,121,025.00"

    Set V[y] "&V[x]" * 1 decimals=0

    -> V[y] is 7121025
  • 26 Aug 2012 3:59 pm Shalesh Singh Visen
    i am able to see in debug window but not able to see the change in SAP Screen.

    I wriiten the below.

    Set V[x] "7,121,025.00"

    Set V[PRPS-USR07] "&V[x]" * 1 decimals=0

    and also let me the code without hard coding value.
  • 26 Aug 2012 4:01 pm Shalesh Singh Visen
    Set V[x] "&F[PRPS-USR07]" * 1 decimals=0
    Set F[PRPS-USR07] "&V[x]"
  • 26 Aug 2012 4:03 pm Shalesh Singh Visen
    X and PSPR-USR07 getting zero's debug window.

×