02-17-2009 7:42 AM
Hi Friends,
I have an file output like the one below in which iam getting this value from another table, my requirement is that i do not want any decimal points betwen the No.s i want to delete them.
Please provide me a solution. Thanks for your help.
12.75085
745.65085
23.6085
Thanks
Meenakshi
02-17-2009 8:44 AM
my understanding is you dont want decimal places
for eg if number is 123.456 it should change to 123456
in the internal table
tab-filedname = 123.456
split tab-fieldname at '.' into lv_num1 lv_num2
concatenate lv_num1
lv_num2
into tab_filedname.
reg
02-17-2009 7:44 AM
Hi,
Then uncheck fixed point arithmetic in the attributes of program.
Is this u needed?
02-17-2009 7:48 AM
Move the Value to a Char data type or to String type
then use the command replace '.' with SPACE (OR) blank.
Then use the command Condense,
02-17-2009 7:50 AM
Hi,
Goto Report of ur program -> then goto 'Attributes' of ur program there remove "Fixed point arithmetic"
Then activate ur proram and check the output.
Regards,
Neelima.
02-17-2009 8:22 AM
Hi,
Goto Attribures in u r program----
>Uncheck on the FIXED POINT ARTHEMATIC.
U wont get any decimals in between the numbers...
Regards
Kiran
02-17-2009 8:31 AM
Supposing that field is wa_value
replace ',' in wa_value with space.
condense wa_value.
Thanks & Regards,
Lalit Mohan Gupta.
02-17-2009 8:44 AM
my understanding is you dont want decimal places
for eg if number is 123.456 it should change to 123456
in the internal table
tab-filedname = 123.456
split tab-fieldname at '.' into lv_num1 lv_num2
concatenate lv_num1
lv_num2
into tab_filedname.
reg
02-17-2009 8:54 AM
Hi
While passing the values to internal table Use NO-GROUPING at the end .this will solve your problem
02-18-2009 8:46 AM
02-02-2010 1:51 PM