04-17-2009 8:51 AM
Hi all ,
i wanr to convert amount(which in numeric ) into words
ex 1234 i want one thousand two hundared thirty four
plz tell me function will help me or other solution
Regards
Bhavesh
04-17-2009 8:54 AM
Hi,
try this FM.
fm HR_IN_CHG_INR_WRDS
Thanks
Arun
Edited by: Arun Kayal on Apr 17, 2009 9:55 AM
04-17-2009 8:52 AM
04-17-2009 8:52 AM
04-17-2009 8:54 AM
Hi,
try this FM.
fm HR_IN_CHG_INR_WRDS
Thanks
Arun
Edited by: Arun Kayal on Apr 17, 2009 9:55 AM
04-17-2009 8:59 AM
hie
check the following code.
x_amount = z_payslip01-amount.
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
amount = x_amount
currency = 'ZWS'
IMPORTING
in_words = xwords
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.
ENDIF.
CONCATENATE xwords-word 'Kerd' xwords-decword 'Cents'
INTO z_payslip01-amount_in_words SEPARATED BY space.
regards
Prince Isaac
04-17-2009 9:03 AM
Hi ,
Please search before post !! Asking simple questions which you can find yourself in search is against SDN rules.
Regards
sas
04-17-2009 9:05 AM