‎2007 Aug 10 2:16 PM
Hi ,
I am looking FM which conversts value : 00000000700015 as 7,000.15
Input: 00000000700015
output: 7,000.15
Thanks,
Asha
‎2007 Aug 10 2:19 PM
Hi Asha
use conversion_exit_alpha_output
conversion_exit_alpha_input
after using the above one the value of string comes 700015
str = 700015
now concatenate str0(1) ',' str1(3) '.' str+4(2).
reward points to all helpful answers
kiran.M
Message was edited by:
KIRAN KUMAR
‎2007 Aug 10 2:25 PM
Hi,
Here is the simple Program
data: var(20) type c.
data: var1 type i.
var = '00000000700015'.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = var
IMPORTING
OUTPUT = var .
var1 = var.
write: var1.Regards
Sudhee
‎2007 Aug 10 2:33 PM
Hi,
if this is currency field, you can use write statement as :
data: wf_waers LIKE t001-waers
WRITE int_with_item-wt_qsshh TO int_final-wt_qsshh1 CURRENCY wf_waers.
It will do the currency conversion by itself according to the currency in wf_waers.
Hope this helps.
Reward if helpful.
regards,
Sipra
‎2007 Aug 10 2:47 PM