Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

values text

Former Member
0 Likes
552

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.

4 REPLIES 4
Read only

Former Member
0 Likes
532

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.

Read only

Former Member
0 Likes
532

Ya it can be done..We can print the words of a number..

I will refer and send the details

Read only

Former Member
0 Likes
532

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

Read only

Former Member
0 Likes
532

Use the function Module SPELL_AMOUNT..

When u give the number means it will display it in the text..