Application Development 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: 

way of out put in smartforms

Former Member
0 Kudos
81

i call Fm in smartforms itself.

data : spell type spell.

data : string(135).

parameter : amount type p DECIMALS 2.

CALL FUNCTION 'SPELL_AMOUNT'

EXPORTING

AMOUNT = amount

CURRENCY = 'INR'

  • FILLER = ' '

LANGUAGE = SY-LANGU

IMPORTING

IN_WORDS = spell

concatenate 'Rupees' spell-word '& paise' spell-decword into string

separated by space.

Total Amount in words: &string& ===> i am not getting out put while de-buging i am getting data in to string but in out i am not getting .....is it correct to to give &string&

3 REPLIES 3

Former Member
0 Kudos
46

Hi!

It is working, if you declare your string variable in the global definitions part of the smartform.

Then use this global variant in your abap code part's imput and output parameters.

Regards

Tamá

Former Member
0 Kudos
46

if you r using function module in smartform, define string varriable in global defination. and in output parameter where you have inserted this function module.

0 Kudos
46

hi thanks for replay

i use in programing lines ....in table --- footer