cancel
Showing results for 
Search instead for 
Did you mean: 

Printing Issue on smartforms

Former Member
0 Kudos

hii

All,

i have check in smart forms,and its printing amount in words like that

TWO LACS FIFTY EIGHT THOUSNAD THREE HUNDRED AND FIFTY TWO paise.

nd I want this paise in capital letters..pls help me out.

advance thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

change this variable which contents the amount as UPPERCASE before displaying it, means create a program line & add the below code in it before displaying:

TRANSLATE amount TO UPPER CASE.

With luck,

Pritam.

Edited by: Pritam Ghosh on May 22, 2009 11:53 AM

Answers (8)

Answers (8)

Former Member
0 Kudos

Thanks to all of u..my problem is resolved.

Former Member
0 Kudos

Hi,

I believe the word 'paise' would be in a standard text.

Moreover, the spell amount would have been as follows...

TWO LACS FIFTY EIGHT THOUSNAD THREE HUNDRED ( RUPEES ) AND FIFTY TWO paise.

Regards,

Ram

Former Member
0 Kudos

Hi,

Use the function module " SPELL_AMOUNT" and to that one send the amount, Currency to that function module and it will export you the amount in words using the exporting parameter In_Words structure and there display the field Word followed by the hardcoded word Rupees and then the field Decword followed by the hardcoded word PAISE as per your requirement.

Hope this will help you.

Regards,

Venkat.

Former Member
0 Kudos

look in your form, i´m pretty sure that paise is hardcoded there, since the FM Spell amount is not capable to bring it up.

Former Member
0 Kudos

HI,

I think 'paise' is hardcoded word.

once check that one.

Former Member
0 Kudos

Hi Runal Kesarwani,

Well u can do it in many ways...

to get the amount in capital...u can use

TRANSLATE amount TO UPPER CASE.

i had one similar requirement, where i had to make the word "paisa" in capital letters, at a fixed position...so rather than writing code and converting, i had simply typed the word paisa in capital...kind of hardcoded. coz the requirement was such.

u can even convert the word paisa or the whole amount along with the word paisa into capital using the function module in ur driver program.

or else, convert the amount in capital first and then concatenate the word PAISA (in capital) to it and save it in a variable and pass it onto the form.

Hope these ways would help u out...

Regards,

Radhika

Former Member
0 Kudos

Hi,

Even you can use translate statement in driver program and sen that varible to sapscript.using the FM

'TEXT_SYMBOL_SETVALUE'.

TRANSLATE amount TO UPPER CASE

Program lines will decrease the performance . where ever possible use driver program instaed of program lines.

Thanks,

Suma.

Former Member
0 Kudos

translate amount in upper case