PE51 convert amount into words and concatenate the value with cents

Hi gurus,
I'm facing a problem in PE51...
I have this amount: 655.690,32
And it should appear in the form like this Example:
Six hundred and fifty five thousand six hundred and ninety Dollars and Thirty-two cents.
In PE51 I have two options:
- Numbers in words (w/o DP) - give me the first underlined part
- Numbers in words(only DP) - give me the second underlined part
But I need to find a way to show then like in the example... The first and second part should appear together like if they were concatenated separated by space.
Thanks in advance.
PC

You move the v_tot_comm into an Integer and try so that u will only get SPEELING of that value.
For example pass only 23,492 instead of 23,492.58 and for 58 paise you do your string manipulation work.

Similar Messages

  • When I go into pdf file it only gives me the option to convert into pdf when it's already a pdf. I want to convert it into word and I've purchase this a few months ago now I need help

    I Need help in converting a pdf into word. I've purchased it a few months ago and now for the first time I tried to use word and I can't it only gives me the option to convert it into a pdf when it is already a pdf! Urgent help please

    Not sure what you mean by "tried to use Word". ExportPDF doesn't change what Word can do. Can you explain what you try and what happens in more detail?

  • Splitting string separated by commas into words and assigning numerical values

    Project details :
    I have a project where a description field is being looked at and based on the values (multiple words) I have to do a vlookup from another spreadsheet to get the dates from the appropriate date fields.
    I have created a user defined function to extract keywords from a list from a table. It extracts words from the string separated by comma delimiter.
        I am thinking of assigning values something like this: cooler = 1, compressor = 2, frame = 2, change of order = b etc.
        So if there is a “cooler, compressor, frame, change of order” in the cell, then it should read as: b12 (unique values). Based on the values, I can do a vlookup on the dates. I tried sumproduct in conjuction with search function but did not
    work. Tried split function but did not quite work.
    Any help regarding this is greatly appreciated. Thank you, regards
    keywords
    engine, compressor, frame, cooler     =Keywords(Wordlist,A2) is the function I am calling
    frame, cooler
    engine, cooler, change order
    cooler

    Hi,
    You're asking this question in the wrong forum, this is a PowerShell forum.
    The Excel VBA forum is this way:
    http://social.msdn.microsoft.com/Forums/en-us/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
    Side note to whoever voted up the OP - why??
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • Convert numeric in words in adobe forms (start with the currency)

    Hi to all,
    Below script i found here for converting numeric into words and its work perfectly. Just I edit in UAE currency.
    It is possible to move the dirhams (currency) in front like. 1,900,000.55 = Dirhams One Million Nine Hundred Thousand and Fifty Five fils Only. (with period)
    or 1,900,085.55 = Dirhams One Million Nine Hundred Thousand Eight Five and Fifty Five fils.
    Previous code was One Million Nine Hundred Thousand Eighty-Five Dirhams and Fifty-Five Fils
    Thanks in advance
    Much Appreciate your advance help
    aTens = [ "Twenty", "Thirty", "Forty", "Fifty", "Sixty", "Seventy", "Eighty", "Ninety"];
    aOnes = [ "Zero", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine",
      "Ten", "Eleven", "Twelve", "Thirteen", "Fourteen", "Fifteen", "Sixteen", "Seventeen", "Eighteen",
      "Nineteen" ];
    function ConvertToHundreds(num)
       var cNum, nNum;
       var cWords = "";
       num %= 1000;
       if (num > 99) {
          /* Hundreds. */
          cNum = String(num);
          nNum = Number(cNum.charAt(0));
          cWords += aOnes[nNum] + " Hundred";
          num %= 100;
          if (num > 0)
             cWords += " and "
       if (num > 19) {
          /* Tens. */
          cNum = String(num);
          nNum = Number(cNum.charAt(0));
          cWords += aTens[nNum - 2];
          num %= 10;
          if (num > 0)
             cWords += "-";
       if (num > 0) {
          /* Ones and teens. */
          nNum = Math.floor(num);
          cWords += aOnes[nNum];
       return cWords;
    function ConvertToWords(num)
       var aUnits = [ "Thousand", "Million", "Billion", "Trillion", "Quadrillion" ];
       var cWords = (num >= 1 && num < 2) ;
       var nRight = Math.floor(num);
       for (var i = 0; nLeft > 0; i++) {
           if (nLeft % 1000 > 0) {
              if (i != 0)
                 cWords = ConvertToHundreds(nLeft) + " " + aUnits[i - 1] + " " + cWords;
              else
                 cWords = ConvertToHundreds(nLeft) + " " + cWords;
           nLeft = Math.floor(nLeft / 1000);
       num = Math.round(num * 100) % 100;
       if (num > 0)
          cWords += ConvertToHundreds(num) + " Fils";
       else
          cWords += "Zero Fils";
       return cWords;

    Hi RK,
    We had a similar requirement and we used Web Dynpro for Java which contained the Interactive Form that would display the personnel area, personnel sub area, etc.
    We developed a custom application in WD Java which would accept entries from the user on each screen after clicking on the Change Personnel area link in the portal. The user would put in the values and when the user would click on the Submit button, an adobe form would be displyed which would show the existing values as well as the values the user newly entered.
    Hope this helps. Do let me know if you need any further inputs.

  • Converting the amount into words in different languages

    Hi All,
    Is there any FM to convert the amount into words in a specific language.
    SPELL_AMOUNT FM is not working for some of the languages like portuguese, etc..
    Any idea on this.
    Thanks in Advance.

    Hi,
    Use the FM:
    CALL FUNCTION <b>'Y_AMOUNT_IN_WORDS'</b>
    Hope it helps.
    Reward if helpful.
    Regards,
    Sipra

  • Convert total amount into words

    Hi
    My requirement is to convert total amount into words.
    For this i used function module SPELL_AMOUNT.
    But its giving wrong (i.e. problem is in the paise).
    I tried with other function module also, its not giving output.
    how i can get exactly correct output.
    Reward points if helpful.

    Hi
    execute this code .
    REPORT  ZCOVERTION.
    TABLES SPELL.
    DATA : T_SPELL LIKE SPELL OCCURS 0 WITH HEADER LINE.
    DATA : PAMOUNT LIKE SPELL-NUMBER  VALUE '23.45'.
    SY-TITLE = 'SPELLING NUMBER'.
    PERFORM SPELL_AMOUNT USING PAMOUNT 'USD'.
    WRITE: 'NUMBERS', T_SPELL-WORD ,'and', T_SPELL-DECWORD.
    FORM SPELL_AMOUNT USING PWRBTR PWAERS.
      CALL FUNCTION 'SPELL_AMOUNT'
           EXPORTING
                AMOUNT    = PAMOUNT
                CURRENCY  = PWAERS
                FILLER    = SPACE
                LANGUAGE  = 'E'
           IMPORTING
                IN_WORDS  = T_SPELL
           EXCEPTIONS
                NOT_FOUND = 1
                TOO_LARGE = 2
                OTHERS    = 3.
    ENDFORM.                               " SPELL_AMOUNT
    Hope this will solve ur problem
    Thanks
    Krushna
    oputput:

  • I want to know what I need and then how to take a pdf form I created in word and add the blue boxes so that anyone can type into my form

    I want to know what I need and then how to take a pdf form I created in word and add the blue boxes so that anyone can type into my form

    Hey john@adobe,
    Could you please specify how exactly have you created your form.
    You might need to have Acrobat installed on your computer to convert a word document to PDF.
    Do you have Acrobat installed? If yes, what version? If no, then please try using the trial version of Acrobat DC (latest version) and access its features:
    Download Adobe Acrobat free trial | Acrobat Pro DC
    Also, let me know what kind of blue boxes are you talking about.
    If you want others to edit your PDF form, then you need to make it a fillable form by choosing 'Form Editing' option from Tools pane.
    Let me know more on this so that I can help you out.
    Regards,
    Anubha

  • I tried to convert a PDF file into Word and it gave me computer language

    I tried to convert a PDF file into word and it gave me computer language. Help!

    HI Aijan,
    I am trying to convert a pedigree chart so I can put it in my family's genealogy book. I need to make some corrections on it. It was created on a MAC and I am on a PC. This may be part of the problem. I am on Windows 8 on a 1-year old Samsung computer laptop. I have Adobe Reader XI on it. It says that I can convert a PDF to an Excel or Word file for editing.
    It looks like computer code to me.
    Here is the first page of what I am copying:
    Thanks for your help.
    Susan Cole
    4 :1.4;1 ,0/123140 )*+,
    !" (+ KA0 (>>*
    !," LAA,A3 CM     6" (> N8/ ()((
    6," -./&01.2&3 45
    2" ++ 5=: ()IH
    2," -./&01.2&3 45
    2 -./% ,0/123140 )*+,
    !" < 5=: ()(+
    !," -./&01.2&3 45
    6" +> %&' ()?<
    6," -./&01.2&3 45
    2" (+ @A9 ()>$
    2," %&1&0B C8B D,0.9:13 45
    5 <2.41%=1 ,>1 ',89?,
    !" (+ O'B (>>$
    !," -./&01.2&3 45
    2" (? KAE ()II
    2," -./&01.2&3 45
    1 !"#$% '$( )*+,
    !" $ %&' ()*+
    !,"-./&01.2&3 45
    6" ) %&' ()*
    6," 781 59:&;&13 45
    2"
    2,"
    6  -./% @1#21( 78',9
    !" +) @=; (>$I
    !," P&QA1           6" ++ %&' ()H)
    6," PA'86A3 R5
    2"
    2,"
    3 +."5#$ 6$44510 78',9
    !" +> @=9 ()(*
    !," 7E99 FA;;&E3 G43 4A9A2A 2" ?H 5=: ())I
    2," 4ABJ&20A; 4.BE3 45
    7 6$44510 A!$B$;1C !DEF6
    !," S9:;A92 2"
    2,"
    8 :1.4;1 6$0/$G$( )*+,                                                           !
    !" $ @=9 (>*+
    !," C898;=;=3 CM
    6" (I 5=: (>$I
    6," RA.6&A3 CM
    2" (I T&! ()(+
    2," -./&01.2&3 45
    9 H2$4$ D$451 9*@,++                                                              "
    !" +< T&! (>*I
    !," RA.6&A3 CM 2" (? T&! ()($
    2,"-&2;A9213 45
    10 @5225$I !0"$40 ',89?,                                                             #
    !" +< N8/ (><<
    !," 52&;A.2&3 5=1B0A;.A
    --Original Message

  • Hello! I have the Acrobat XI test version installed, got the registration Mail and confirmed it. When i have the program opened and try to convert the file from a pdf to a word and press the convert button, it shows a the message "application failed" (in

    Hello! I have the Acrobat XI test version installed, got the registration Mail and confirmed it. When i have the program opened and try to convert the file from a pdf to a word and press the convert button, it shows a the message "application failed" (in german "Fehler bei der Anmeldung"). I hope have explained the issue on the right way with my bad english. Do you have a solution for it?? Best regards, Marcus Wenk

    yes, you are right. it is the adobe reader via exportPDF. but it should be the acrobat. it was written on the internetpage...

  • Ive just subscribed online but realised I have the wrong service by mistake... I require Convert PDF into Word doc service but selected Adobe send in error, sorry. Can you please switch the service for me? Thanks Anthony Levy

    Ive just subscribed online but realised I have the wrong service by mistake... I require Convert PDF into Word doc service but selected Adobe send in error, sorry. Can you please switch the service for me? Thanks Anthony Levy

    Hi Tony,
    Please refer this KB document : Return, cancel, or exchange an Adobe order
    Please let me know if you need any further assistance.
    Regards,
    Rahul

  • Hi, am trying to convert pdf into word. I have 30 days trial, however, everytime i try to convert it's asking to subscribe, Why is that, what is the purpose of the free trial?

    Hi, am trying to convert pdf into word. I have 30 days trial, however, everytime i try to convert it's asking to subscribe, Why is that, what is the purpose of the free trial?

    Hi oj1,
    Since you mention a free trial, I'm guessing that you have an Acrobat trial (Adobe doesn't offer free trials of the Acrobat.com online services).
    If you do have Acrobat, you can use the Save As command in that application to save directly to Word format.
    Please let us know how it goes.
    Best,
    Sara

  • Function to call to convert amount in words in R12

    Hi Experts,
    I am creating a custom report that will display invoice details. Included in the fields are AMOUNT and AMOUNT_IN_WORDS. I don't have problem for the AMOUNT field since i can retrieve it directly from the table. My concern is on the AMOUNT_IN_WORDS. Is there any function in EBS R12 which i can call directly in the SQL statement of my report to convert the AMOUNT into Words.
    Thanks,
    Nestor

    Hi mpautom,
    What i'm looking for is a built-in function within EBS R12. Because the client doesn't allow creation of function.
    Nestor

  • Convert amount to word

    Hi
    I come to this problem using the FM <b>"SPELL_AMOUNT"</b>
    , everything look fine except that it does not know how to convert cents
    E.g <b>1300</b> or <b>1,300</b> convert to "ONE THOUSAND THREE HUNDRED". But when it come to cents it does not know how to convert . E.g : <b>1300.35</b> or <b>1,300.35</b> become "ONE HUNDRED THIRTY THOUSAND THIRTY-FIVE"
    Does anyone know how to resolve this problem.

    Hi Dan.
    Test with this example:
    data: int_val type i,
          cent_val type p decimals 2,
          val type p decimals 2,
          IN_WORDS like spell,
          SPELL_VAL(255) type c,
          SPELL_CENT(255) type c.
    int_val = trunc( val ).
    cent_val = ( val - int_val ) * 100.
    CALL FUNCTION 'SPELL_AMOUNT'
      EXPORTING
       AMOUNT          = val
       CURRENCY        = 'USD'
       LANGUAGE        = SY-LANGU
      IMPORTING
       IN_WORDS        = IN_WORDS.
      SPELL_VAL = IN_WORDS-WORD.
    CALL FUNCTION 'SPELL_AMOUNT'
       EXPORTING
        AMOUNT          = cent_val
        CURRENCY        = 'USD'
        LANGUAGE        = SY-LANGU
       IMPORTING
        IN_WORDS        = IN_WORDS.
       SPELL_CENT = IN_WORDS-WORD.
      CONCATENATE SPELL_VAL ' DOLAR ' SPELL_CENT ' CENTS ' INTO SPELL_VAL.
    Thanks & Regards,
    Jhon.

  • How can I choose korean language to convert pdf into word?

    I need to translate the document in Hungle.
    To make the speed up,I tried to convert the Pdf document in hungle into word,and realized I can't choose Hungle for OCR.
    I wonder why Hungle and Chinese are not seleced as languages for ExprtPdf ,for  those countries are imortant for both aspects of economy and culture  for Japan.

    It seems that Hangul and Chinese is not available for OCR in ExportPDF; see http://helpx.adobe.com/acrobat-com/kb/using-ocr-exportpdf.html
    You may need to use Acrobat to OCR and convert Korean and Chinese documents.

  • How do I convert .txt to .pdf and keep the formatting

    I have a large .txt file that I would like to convert to .pdf.  I have tried to print the file and choose Adobe PDF but the output is just a mess.  I loose all the formatting and get blank pages every so often.  Does anyone know if is possible to convert .txt to .pdf and keep the formatting.  I would try a virtual printer application but I am not able to just install any application on my office computer.  Any help would be greatly appreciated.

    It may be a bit late for you now but in future (and for anyone else interested) I would recommend copying the text into a word document and changing the text font to Consolas. Adjust the size to fit the page again and it should match the original notepad formatting.

Maybe you are looking for

  • My iPhone (5s/8.1.2) and iPad (orig mini/8.1.2) cannot see my Mac Book Pro (Yosemite) and vice versa in Airdrop

    My iPhone 5s (current iOS 8.1.2) and iPad mini (ditto) can see each other in airdrop, but neither one can see my Mac Book Pro (early 2011/Yosemite).  And the Mac Book Pro cannot see either iOS device.  I have read everything I can find about this and

  • Text square with other objects in a layer

    Using Motion 4. I have a 3d scene with various layers. Each layer contains objects that are oriented differently. I'm trying to add text to one of those layers. But the text is oriented square to the screen instead of being oriented square with the o

  • I need to do an buy form

    i have a problem, i'we made an form with one combo box , one text field and one text area where all the info is displayed. In the combo box there are 4 positions:Item 1 , Item 2, Item 3, Item 4. the user selects its item then types in the text field

  • LOV parameter...

    I have an LOV in a page and want to pass a parameter so the list that is presented to the user changes depending upon the parameter. I can pass a URL parameter to a page and pick it up in the controller code as pageContext.getParameter. However I am

  • Message balloon background colors

    Message incoming message balloon colors I noticed since upgrading to Mavericks some of the people messaging me have their balloon backgrounds with different colors. Some of the sender's backgrounds are gold, grey, blue and green...in addition to the