cancel
Showing results for 
Search instead for 
Did you mean: 

smart forms

Former Member
0 Kudos

I have a problem in converting the amount in figures to words.how can i do this by writing code inside smartforms itself.

Accepted Solutions (1)

Accepted Solutions (1)

former_member181962
Active Contributor
0 Kudos

Hi Nisha,

Did you use SPELL_AMOUNT function module? or

HR_IN_CHG_INR_WRDS

Regards,

Ravi

Former Member
0 Kudos

spell amount

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Nisha

you can write code inside a smartform by creating program lines under the window.

in the program lines,give in input and output parameters ,these are nothing but the inputs u use inside the code and output parameters are the final variable(s) which you will displaying the text in.

use the function module SPELL_AMOUNT

for this pass the variables

CALL FUNCTION 'SPELL_AMOUNT'

  • EXPORTING

  • AMOUNT = '100.00'

  • CURRENCY = ' v_waers'

  • FILLER = ' SPACE'

  • LANGUAGE = SY-LANGU

  • IMPORTING

  • IN_WORDS = IN_WORDS

  • EXCEPTIONS

  • NOT_FOUND = 1

  • TOO_LARGE = 2

.

hope this is clear.

Reward points if helpful.

Regards

Zarina