i am using this function module in debit credit report that is linked with sap script..
data : sub_tot like bseg-wrbtr.
DATA : lv_amt TYPE p DECIMALS 2.
data lv_word like spell-word.
data : lv_amount TYPE PC207-BETRG.
*data : i_value like konv-kwert.
data : lv_inwords(255) TYPE c,
tmp_amt type TDSYMVALUE.
data : spell_fig(80).
*break-point.
data : fig1(70),
fig2(20),
fig3(20).
tmp_amt = sub_tot.
lv_amount = tmp_amt.
CLEAR in_tab.
READ TABLE in_tab WITH KEY name = 'AMOUNT'.
CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
EXPORTING
amt_in_num = lv_amount
IMPORTING
AMT_IN_WORDS = lv_inwords
EXCEPTIONS
DATA_TYPE_MISMATCH = 1
.
move space to spell_fig.
split lv_inwords at 'Rupees' into fig1 fig2 .
concatenate fig1 'AND' fig2 'Only*' into spell_fig separated by space.
not getting any amount in print..also not getting any dump..
please help