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

currency conversion into text format

sivakrishna_boddapati
Participant
0 Likes
498

Hi Experts ,

My requirement is is there any function module to convert currency in to text form , like the import parameter for that function module is 2.00 and it will export output like Two rupees zero pies .

Thanks,

-Krishna

Moderator message: next time, please search before asking.

locked by: Thomas Zloch on Aug 12, 2010 12:29 PM

1 ACCEPTED SOLUTION
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
463

VFAQ. Search forum for the FM 'HR_IN_CHG_INR_WRDS'.

2 REPLIES 2
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
464

VFAQ. Search forum for the FM 'HR_IN_CHG_INR_WRDS'.

Read only

Former Member
0 Likes
463

hi ,

CALL FUNCTION 'SPELL_AMOUNT'

EXPORTING

amount = v_total

currency = is_bil_invoice-hd_gen-bil_waerk

filler = ' '

language = sy-langu

IMPORTING

in_words = v_words

EXCEPTIONS

not_found = 1

too_large = 2

OTHERS = 3.

IF sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ELSE.