Skip to Content
0
Feb 19, 2011 at 12:06 PM

How to remove ',' from CURR field while transferring to .txt.

54 Views

Hi,

I am converting SAP Data to .Txt with - 'SAP_CONVERT_TO_TEX_FORMAT' & 'GUI_DOWNLOAD' in ASCII Format.

It's working.

But for CURR Field - In SAP -  I have values like
1,234.00
1,987.00
  333.50   etc.
and while displaying it in .txt I need to remove the ',' like 1234.00 
I try it with - 
     stprc = wa_final-stdct.
    REPLACE ALL OCCURRENCES OF ',' IN stprc WITH ''.
    CONDENSE stprc NO-GAPS.
    wa_final1-stdct = stprc.
But it's not working.

Because -  When I am taking it in ITAB and Workarea. (Loop) -->  In WA it displays like 1234.00 only 

How to get the values without comma?