‎2008 Jan 06 2:55 AM
hello friends.....how can i get the alv report output total value as a text.......ex: 500.
i should get five hundred and i shud get the both i.e value and text.
tanx friends and regards.
‎2008 Jan 06 6:37 AM
Hi,
I think your scenario is not possible. Because the Total of the column will be generated dynamically, it cannot be handled thru programming.
Thanks,
Sriram Ponna.
‎2008 Jan 06 8:07 AM
Ya it can be done..We can print the words of a number..
I will refer and send the details
‎2008 Jan 06 9:27 AM
Try using the function module
data : t_spell like spell occurs 0 with header line,
perform spell_amount using wrbtr 'IDR'.
form spell_amount using pwrbtr pwaers.
call function 'SPELL_AMOUNT'
exporting amount = pwrbtr
currency = pwaers
filler = space
language = 'Z'
importing
in_words = t_spell
exceptions not_found = 1
too_large = 2
others = 3.
endform. " SPELL_AMOUNT
Regards,
Chandru
‎2008 Jan 07 4:48 AM
Use the function Module SPELL_AMOUNT..
When u give the number means it will display it in the text..