Skip to Content
author's profile photo Former Member
Former Member

Printing Issue on smartforms

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

9 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 22, 2009 at 09:42 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 22, 2009 at 01:29 PM

    translate amount in upper case

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 22, 2009 at 02:39 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 22, 2009 at 04:33 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 26, 2009 at 09:39 AM

    HI,

    I think 'paise' is hardcoded word.

    once check that one.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 26, 2009 at 10:12 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 27, 2009 at 06:51 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 27, 2009 at 06:55 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 27, 2009 at 08:01 AM

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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.