FM for conversion to text

Hi ,
is thre any Function module which converts amunt and numbers to text.
e.g 1-one
Regards
Saurabh

Hi Saurabh,
Check the function module <b>SPELL_AMOUNT</b>.
TABLES: SPELL,PAYR.
DATA: WORDS LIKE SPELL.
DATA: NUMBER LIKE PAYR-RWBTR.
start-of-selection.
NUMBER = '1'.
CALL FUNCTION 'SPELL_AMOUNT'
    EXPORTING
        AMOUNT    = NUMBER
         CURRENCY  = 'INR'
        FILLER    = ' '
         LANGUAGE  = SY-LANGU
    IMPORTING
         IN_WORDS  = WORDS
     EXCEPTIONS
          NOT_FOUND = 1
          TOO_LARGE = 2
          OTHERS    = 3.
write: / words-word.  -> It will display as ONE
Thanks,
Vinay

Similar Messages

  • Password lock for conversation and text message me...

    Hi All,
    Can someone guide me with any application, which helps me to lock my conversation & message menu with password.
    To be precise no one can open my conversation text message menu without entering password.
    Solved!
    Go to Solution.

    there is not currently a way to do this for these products only.
    the only way to lock the device before being able to access those is to completely lock the device with a password.

  • Query on Function Module for conversion of text - language specific

    Hi,
    In my interface program i have query regarding CDHDR table.
    Problem: Object Class(CDHDR-OBJECTCLAS). The technical name of the object name shall
    be translated to meaningful business text
    For EXample.  I am getting the value for the field OBJECTCLAS is EINKBELEG shall be converted as 'Purchasing Document'
    Kindly suggest me if there any standard SAP function module is available to convert the German text into English

    Hi,
    to pass the internal table to a tables parameter
    both must be of same type
    if both are of same type
    u can use INT1[] = INT2[] to pass internal table value to internal table of FM
    if structures are not same then
    u will have to loop thru int1 and move values selectively to int2 and everytime append int2
    this should sove ur prob
    tc
    saji

  • OPEN DATASET FOR INPUT IN TEXT MODE - linesize issue

    Hi,
    I faced a problem when opened ANSI file with CYRILLIC in ECC 6.0 Unicode system - the system cuts the line to 250 characters. Below is snip of code:
    REPORT  Z_TEST_01 LINE-SIZE 1023.
    DATA:
      file TYPE char40 VALUE 'ansi_file.txt',
      line TYPE char1024, len TYPE i.
    OPEN DATASET file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    WHILE sy-subrc = 0.
          READ DATASET file INTO line ACTUAL LENGTH len.
            WRITE: / len, line.
    ENDWHILE.
    CLOSE DATASET file.
    In this case, variable LEN always get value 250. File-content is correctly converted from ANSI and all CYRILLIC is displayed to the screen. I changed type for LINE - initialy the type was STRING, actially.
    Further, tried to open it in BINARY - like this:
    DATA:
      file TYPE char40 VALUE 'ansi_file.txt',
      line TYPE char1024, len TYPE i.
    FIELD-SYMBOLS <hex_container> TYPE x.
    OPEN DATASET file FOR INPUT IN BINARY MODE.
    ASSIGN line TO <hex_container> CASTING.
    DO.
      READ DATASET file INTO <hex_container>.
      IF sy-subrc = 0.
        WRITE: / line.
      ELSE.
        EXIT.
      ENDIF.
    ENDDO.
    CLOSE DATASET file.
    WRITE: / line.
    In this case I got bigger linesize (obviously 1024), but faced conversion issues - the file contains some CYRILLIC and it is messed. Played for few hours with conversions - using additions: IN LEGACY BINARY MODE... BIG/LITTLE ENDIAN, CODE PAGE... without success. So decided to ask...
    Well, I searched SDN for a similar issue, but didn't found, except this one:
    Re: OPEN DATASET STRING Problem
    Could someone points me what am I doing wrong? How can I read my ANSI file with line-size more than 250 chars? Actually, in my case line size may vary up to 1800 chars. Further, afrer conversion and some validation, I should save it back to the AS.
    Many thans in advance.
    Regards,
    Ivaylo Mutafchiev

    Sorry for the noise - it is not an issue anymore.

  • Problem writing file ANSI to UTF-8. OPEN DATASET FOR OUTPUT IN TEXT MODE

    Hello everybody,
    My report needs  to create a file in ANSI so I am using this sentence: * "OPEN DATASET p_dir_a FOR OUTPUT IN TEXT MODE ENCODING DEFAULT."*  almost all charters in the file are well generating excepting for this two: ( Á ) & ( Í ) because SAP assigns the same code to both characters ( Ã? ) = 'xC3'  which is not correct, the right code should be ( Á ) = 'xC1'  ( Í ) = 'xCD' respectively
    from this string = ( ÁÉÍÓÚáéíóúàèìòùÀÈÌÒÙ ) only those two characters are wrong converted.
    Also I tray to catch a conversion error with this sentence:
              TRY.
                TRANSFER <field> TO p_dir_a NO END OF LINE.
              CATCH cx_sy_conversion_codepage.
                MESSAGE 'error' type 'I'.
            ENDTRY.
    but never enters in it.
    Does anyone know where I can configure SAP to SET this value correctly?
    Thanks for your help.

    was a server problem, not SAP

  • Samsung note 3 is not giving audible alerts for all my text messages since the 4.4.4 update.

    Samsung note 3 is not giving audible alerts for all my text messages since the 4.4.4 update.  I get an audible tone about 3/4 of the time.  Thinking a conversation is over I come back 45 minutes later to find another text I didn't know came in.  I've restarted my phone and checked my message settings.   Any ideas?  Factory reset is not an option!

    I'd try going back into the Text Message settings. In Sound setting, work the setting from None to an alert. Then in Vibrate put a check in the box then uncheck. Just to see if that will free it up, could be a possible corruption with the new software update?

  • OPEN DATASET file FOR OUTPUT IN TEXT MODE ENCODING NON-UNICODE

    Hi There,
    I also have the similar issue. I am able to write the data into appliaction server in Chinese Characters using :OPEN DATASET datei FOR OUTPUT IN TEXT MODE ENCODING DEFAULT or OPEN DATASET datei FOR OUTPUT IN TEXT MODE ENCODING UTF-8. But when i save that file into my presentation server manually, all the chinese characters are showing as Junk.
    When i use OPEN DATASET datei FOR OUTPUT IN TEXT MODE ENCODING NON-UNICODE, giving runtime error and when i use OPEN DATASET datei FOR OUTPUT IN TEXT MODE ENCODING NON-UNICODE IGNORING CONVERSION ERRORS, No error but application server output itself showing as Junk characters.
    Could you please suggest me what you have done?
    Regards,
    Chaitanya A

    Hi,
       Use this
      OPEN DATASET File_path  FOR OUTPUT IN TEXT MODE ENCODING NON-UNICODE
      WITH SMART LINEFEED
    it will definitely work.
    Regards,
    Manesh. R

  • Using currency conversion and text variable at the same time

    Hi all,
    In a 3.5 bex query, i am applying currency conversion on a key figure with a variable of 0currency.
    as i know, to be able to apply currency conversion, variable of currency should not be in Free characteristics or in Filter.
    it has to be selected only on the key figure.
    but now, i want to use text variable for selected currency (with type replacement path). But as i know, to be able to use text variable, variable of currency has to be
    in Free characteristics or in Filter.
    Can you please advise, how to both use currency conversion and text variable on currency?
    Thanks in advance.
    Sancho

    Sancho,
    I'm not 100% sure about this, but I'm thinking that if you are pulling the text variable from a selection in a structure, you should not need it in the free characteristic or filter. Try creating a structure, placing the currency in it as a selection, and creating a text variable as the title for the selection that is based on the currency. This may help.
    Cheers,
    Rusty

  • Implicit conversion of "TEXT" to "VARCHAR"

    Running jdk1.6.0_12, Linux RHE, Sybase 12.5 and connection with jconn3.jar
    Have a table with a column of type varchar(50)
    Was able to isolate the problem to this column, as the SQLException was thrown from the line "stmt.setString("@<colname>", <value>);"
    In doing ~14,000 individual inserts in 30 min I had two Exceptions thrown (Implicit conversion of "TEXT" to "VARCHAR" is not allowed), both at the same place and both repeatable. I put a print statement in the catch block and found that both were inserting the same 6 character string.
    Ran all the docs several times more and got the same number of failures on the same files.
    Querying the database I found that I had almost 5,000 other insert of the same string which were sucessful.
    Not able to identify what was different about the two failures, no unprintable characters, etc.
    Is this a JDBC issue or Sybase?
    What are the reasons that would cause this exception to be thrown when inserting 6 characters into a hole for 50?
    other ideas?
    Edited by: jjones3566 on Feb 17, 2009 10:50 AM

    jjones3566 wrote:
    Running jdk1.6.0_12, Linux RHE, Sybase 12.5 and connection with jconn3.jar
    Have a table with a column of type varchar(50)
    Was able to isolate the problem to this column, as the SQLException was thrown from the line "stmt.setString("@<colname>", <value>);"
    In doing ~14,000 individual inserts in 30 min I had two Exceptions thrown (Implicit conversion of "TEXT" to "VARCHAR" is not allowed), both at the same place and both repeatable. I put a print statement in the catch block and found that both were inserting the same 6 character string.
    Ran all the docs several times more and got the same number of failures on the same files.
    Querying the database I found that I had almost 5,000 other insert of the same string which were sucessful.That could an invalid assumption. The fact that they displayed the same does not make them the same.
    You would need to print the integer value of each character to insure they are the same.
    You should do that starting with the source and NOT what is in the database.
    If different then that is the source of the problem.
    If the same then it is probably just a bug in the driver/database which you are stuck with. Various solutions would be to try a conversion (format the SQL to take a text and convert to varchar) or trying playing with the commit level (commit 50 versus 5000 or whatever.)

  • Multi-language support for user-specified text strings used in the forms

    multi-language support for user-specified text strings used in the forms
    Instead of creating multiple forms, 1 in each different language, for the same service, is there any workaround?

    Hoan - is your question what are the considerations when creating multiligual catalogs? If so, I can tell you that at other clients I have seen them use a single catalog for one or two languages. For the two langugages, such as Spanish/English, you can create a single catalog with both of them. Once you get to more than two languages, the catalog would get unweildy and is therefore not suggested.

  • Project Server 2010 - create a custom enterprise project field for persons (no text, no lookup table...)

    I want to create a custom enterprise project field and would like to use instead of for example a text attribute or a look-up table a field for employees (e.g. project manager) which are coming e.g. from the Active Directory. But when creating this custom
    project field I cannot see such an option. What solution do you suggest as I want to avoid that everybody uses different names and spellings for e.g. the project manager and without having to fill the lookup table with all resources of the company.
    Thank you so much for your help!

    Hi,
    Are you using Proejct Server 2007, 2010, 2013?
    In case you're working with 2010 version, here is an excellent
    blog about how to insert a resource picker in a PDP (project detail page).
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • My iPhone no longer gives me audible alerts for email and text messages.  Just stopped. Help.

    My iPhone just stopped giving me audible notifications for email and text messages.  It still rings for calls.  I have checked the settings for "Sounds" and they have not changed.  However, in these settings when I try to change the sound I get only the vibration and not the sample sound.  Can anyone help?

    Hi Midwestboy,
    If your iPhone isn't being recognized by iTunes on your Windows machine, you may find the following article helpful:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    Regards,
    - Brenden

  • HT1386 Just downloaded 7.2 into my Iphone 5 what a mess.  Dropped called no audible notifications for email or text messages.  Went to the apple store and reset phone to original specs. Now trying to restore apps and music and itunes will not recognize th

    Just downloaded 7.2 into my Iphone 5 what a mess.  Dropped called no audible notifications for email or text messages.  Went to the apple store and reset phone to original specs. Now trying to restore apps and music and itunes will not recognize the phone.  I have gone thur the steps for windows 7 and still nothing???  I have downloaded the newest version I itunes too. 

    Hi Midwestboy,
    If your iPhone isn't being recognized by iTunes on your Windows machine, you may find the following article helpful:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    Regards,
    - Brenden

  • Is there a way to get seprate notifications on Droid Razor m for email and text?

    Is there a way to get seprate notifications on Droid Razor m for email and text?

    For Gmail it is: open Gmail > menu > settings > your gmail address > notifications check box is unchecked.
    There are some additional notification options for labels too.

  • Droid Mini notifications for email and text not working

    I am having a problem with notification sounds not working for email and text messages with my Droid Mini. I took my original phone to the Verizon shop. They did a factory reset. Sound worked for two days. Went back to Verizon and they reset it again. But they did tell me if it happened again to call Verizon and they would send me a new phone. Well it happened again. Got my new phone just last week. Well yesterday and today the sound notifications for text messages and email is not working on the new phone.  Last night I powered the phone off and back on and all was working well until this morning.
    This is very upsetting as I really do like this phone. Would like to know what is going on with it. Have checked all the volumes and they are all up.
    Is there a fix for this.
    Thank you.
    Barbara
    Edited to start new discussion and private info removed as required by the Verizon Wireless Terms of Service
    Message was edited by: Admin Moderator

    For Gmail it is: open Gmail > menu > settings > your gmail address > notifications check box is unchecked.
    There are some additional notification options for labels too.

Maybe you are looking for

  • Error: sync audio & midi

    Hi, I've searched the forum and it seems that a lot of people are having this problem - although I haven't found a solution. I am getting the following error message: "Error while trying to sync audio and midi. Sample rate 42572 recognized. Check con

  • How do I know if the safari browser is closed on the iPad?

    How do I know if the safari browser is closed on the iPad?

  • Media Core Importer Process / ImporterProcessServer.exe crash

    The project that I'm working on is standard def but it is an hour and half long.  Its a training DVD with 12 modules totalling 100 minutes.  I have had a problem that has been getting continually worse.  Today I hit the brick wall and can't seem reco

  • Best practice for displaying an image

    Hello everybody, I have an application that displays and animates several images and I was wondering what was the best way to improve performance. Is it better: - to create a Bitmap object, put it in the display list and then move it around - create

  • Image Resizer and Uploader

    I am new to Flex, and I have (so far) only developed two other applications using Flex. I am having a really difficult time with this issue. I've tried everything (except for creating a class) that I can think of to resolve this issue, and I'm runnin