Character check total as word

Hi all,
1. Anyone know how to expand character Check total as word (i.e. Ten Thousand Eight Hundred Dollar only) generating by system in Checks for payment program? If there have any setting or coding need to adjust?
2. How about maximum character is allow? I'm using SAP B1 2005 SP01 PL 45 and database Ms. SQL Server 2005. If there need to amend in database, how to adjust it?
Thanks in advance.
uddin
Edited by: Muhd Mahyuddin Zakaria on Feb 3, 2009 12:55 PM

Hi,
I don't know if any standard method is available for that, but you can use following code:
    Public Function AmtToWords(ByVal Amount As Single) As String
        Dim Paise, Rupees As Integer
        Dim Words As String
        Dim N1, N2 As Integer
        Rupees = Amount
        Select Case Rupees
            Case Is <= 9
                Words = Digit(Rupees)
            Case Is < 20
                Words = EleToNin(Rupees)
            Case Is < 100
                N2 = Rupees Mod 10
                N1 = (Rupees - N2) / 10
                Words = Ten(N1) & " " & IIf(N2 = 0, "", Digit(N2))
            Case Is < 1000
                N2 = Rupees Mod 100
                N1 = (Rupees - N2) / 100
                Words = Digit(N1) & " Hundred " & AmtToWords(N2)
            Case Is < 100000
                N2 = Rupees Mod 1000
                N1 = (Rupees - N2) / 1000
                Words = AmtToWords(N1) & " Thousand " & AmtToWords(N2)
            Case Is < 10000000
                N2 = Rupees Mod 100000
                N1 = (Rupees - N2) / 100000
                Words = AmtToWords(N1) & " Lakhs " & AmtToWords(N2)
        End Select
        Return Words
    End Function
    Public Function Digit(ByVal Number As Integer) As String
        Select Case Number
            Case 0
                Return ""
            Case 1
                Return "One"
            Case 2
                Return "Two"
            Case 3
                Return "Three"
            Case 4
                Return "Four"
            Case 5
                Return "Five"
            Case 6
                Return "Six"
            Case 7
                Return "Seven"
            Case 8
                Return "Eight"
            Case 9
                Return "Nine"
        End Select
    End Function
    Public Function Ten(ByVal Number As Integer) As String
        Select Case Number
            Case 1
                Return "Ten"
            Case 2
                Return "Twenty"
            Case 3
                Return "Thirty"
            Case 4
                Return "Fourty"
            Case 5
                Return "Fifty"
            Case 6
                Return "Sixty"
            Case 7
                Return "Seventy"
            Case 8
                Return "Eighty"
            Case 9
                Return "Ninety"
        End Select
    End Function
    Public Function EleToNin(ByVal Number As Integer) As String
        Select Case Number
            Case 10
                Return "Ten"
            Case 11
                Return "Eleven"
            Case 12
                Return "Twelve"
            Case 13
                Return "Thirteen"
            Case 14
                Return "Fourteen"
            Case 15
                Return "Fifteen"
            Case 16
                Return "Sixteen"
            Case 17
                Return "Seventeen"
            Case 18
                Return "Eighteen"
            Case 19
                Return "Nineteen"
        End Select
    End Function

Similar Messages

  • Standard report to check total cost (WIP) or before transfer to fixed asset

    Hi All,
    Is there any standard report to check total cost work in progress (WIP) or cost before we transfer to FXA (fixed asset)
    Please advice.
    Thank you.
    Nies

    Hi,
    You can use the report RKA_SETTLE_TABLES_COMPARE for finding the WIP awaiting settlement. You need tp pass object number for executing this report. For getting the object number, you can use report:RKACSHOW.
    If useful, please close the posting.
    Regards
    Muraleedharan.R

  • I lost spelling and grammar check on my word after upgrading to yosemite

    I lost spelling and grammar check on my word after upgrading to yosemite

    Also search/ask in the forums run by the people who make that app.  Word does not use any Apple spelling or grammar stuff.
    http://answers.microsoft.com/en-us/mac/forum/macword

  • Indesign CS6 Total Document Word Count... No?

    I left the following comment on a Youtube tutorial explaining how to execute a word count query for an Indesign document ASSUMING your article layout uses a single box of text:
    What if an article uses a creative layout with multiple text-boxes? Are you supposed to get out your pocket calculator and add them up one-by-one?
    I work for a magazine that publishes short, submission-style testimonials bridged together with staff-generated narrative copy; some of our articles use six or more discreet text-boxes. You REALLY MEAN TO TELL ME that there is NO WAY to yield a TOTAL DOCUMENT WORD COUNT using what is SUPPOSED TO BE the MOST ADVANCED page layout application ON EARTH??
    Pardon my exasperation in the above comment, but....Seriously?  
    I need someone knowledgeable to please look me in the eyes and tell me, "This is true", before I am going to be able to let myself believe it.
    Thank you.
    - Exasperated Journalist Slag

    Yes, there are ways, just not what you expected.
    One approach to counting words in multiple text frames in InDesign is to thread them together. To maintain the pieces of text in their assigned threaded text frames, you can create a paragraph style that starts in the next frame, and assign it to the first paragraph in each text frame. Or, you can break the threads when the count is stable.
    If the text frames need to adjust their size to the amount of their content, search Google for terms like "indesign auto resize text frame" without quotes for details.
    There was a recent discussion about auto-resizing text frames that mentioned the free AutoFit InDesign plug-in, from typefi.com. Search Google for terms like "indesign typefi autofit" for details.
    Search Google for terms like "threading and unthreading InDesign text frames" without quotes, for details.
    Search Google for terms like "indesign start paragraph in next frame" without quotes, for details.
    You can file a formal feature improvement request here: Wishform.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices
    evanexempt wrote:
    I left the following comment on a Youtube tutorial explaining how to execute a word count query for an Indesign document ASSUMING your article layout uses a single box of text:
    What if an article uses a creative layout with multiple text-boxes? Are you supposed to get out your pocket calculator and add them up one-by-one?
    I work for a magazine that publishes short, submission-style testimonials bridged together with staff-generated narrative copy; some of our articles use six or more discreet text-boxes. You REALLY MEAN TO TELL ME that there is NO WAY to yield a TOTAL DOCUMENT WORD COUNT using what is SUPPOSED TO BE the MOST ADVANCED page layout application ON EARTH??
    Pardon my exasperation in the above comment, but....Seriously?  
    I need someone knowledgeable to please look me in the eyes and tell me, "This is true", before I am going to be able to let myself believe it.
    Thank you.
    - Exasperated Journalist Slag

  • How to check total size of attachment stored in database?

    Hello guys,
    Firstly I'm new to this forum & SAP Basis. Therefore i want to apologize if i'm posting in wrong area.
    Actually I want to know how to check total size of attachment that have been uploaded in ECC.
    From the current database size, how can i check how much space have been used to store attachment such as pdf, doc, xls and tif. I  want to know how much space have been utilized by those attachments from August 2010 until now.
    FYI, those are PR, PO & MIGO attachments.
    Where do i start? What are the tables to check? Which table keeps record of the attachment size? etc.. etc..
    Really appreciate if you guys can give me some guideline.
    Thank you & Rgds,
    fafizah.

    Hi,
    As such there is no direct way to do this but if you will able to find out which all table stores the attachment then you can find out the size of those table from database level.
    Thanks
    Sunny

  • I want to display totals in words

    Hi Friends,
    I want to display sub-totals/totals in words also. If the total is 1,20,500, I want to display it one lakh twenty thousands five hundred.
    If I created a report, I want to display the total no.of pages at in the end-of-page event.
    ---End of page, page No: 1 of 15. like this.
    Plz help me, I need this very soon.

    Assuming that you want to display pages in the format '<current Page> of <total pages>' I would suggest you construct your code something this:
    1) In your TOP-OF-PAGE, display the current page normally during every new page using the variable SY-PAGNO.
      Eg.  WRITE AT: 120(003) SY-PAGNO,
                     125(2)   'of'.
    2) Then finally capture SY-PAGNO to a variable, say TOTPAGE = SY-PAGNO. (Or have a counter that increment everytime a TOP-OF-PAGE is encountered).
    3) After all the pages are populated, the variable mentioned in the above step will have the total pages.
    4) In your END-OF-SELECTION, use the following code after all the report generating stmts like 'WRITE', 'SKIP' are used:
    DO TOTPAG TIMES.
    <X> denotes the line in which your '<SY-PAGNO> of <TOTPAGE>' appear
       READ LINE <X> OF PAGE SY-INDEX LINE VALUE INTO G_LINE.
    Now move the total pages into the appropriate columns of the line (in our case it may be 128(5) - assuming 5 digit value for max pages) 
        G_LINE+128(5) = TOTPAG.
        MODIFY LINE <X> OF PAGE SY-INDEX LINE VALUE FROM G_LINE.
      ENDDO.
    This modifies the total page value in all the pages displayed.
    Regards,
    Vijay

  • Printing totals in words in footer window

    Hi all,
    I am trying to modify the standard form : RVINVOICE01.
    In main window i am getting the total Amount in Numbers. My requirement is to print that total Amount in Words in a Footer Window.
    Example:
    In Main Window if i get                       Total        : 1160 (KOMK-FKWRT)
    Then in Footer Window i have to display like this
    Total in  words :One Thousand One hundred sixty.
    how to do this ?
    Thanks in advance
    KR

    Hi Bujji,
    In Text elements of Footer window i have witen like this :
    /:     PERFORM ZK_WORD IN PROGRAM ZADIN01
    /:     USING &KOMK-FKWRT(I13)&
    /:     CHANGING &WORD1&
    /:     ENDPERFORM.
    AS  Total in Words: &word1&
    After  that i have created a Subroutine pool program called ZADIN01 , And in this i have written the folowing code.
    FORM ZK_WORD  TABLES INPUT STRUCTURE ITCSY
                                              OUTPUT STRUCTURE ITCSY.
    DATA: V_WORD1(100) TYPE C,
               V_FKWRT LIKE KOMK-FKWRT.
    READ TABLE INPUT INDEX 1.
    IF SY-SUBRC EQ 0.
    MOVE INPUT-VALUE TO V_FKWRT.
    ENDIF.
    CALL FUNCTION 'SPELL_AMOUNT'
      EXPORTING
       AMOUNT = V_FKWRT
    IMPORTING
       IN_WORDS = V_WORD1.
    ENDFORM.
    But the above code is giving the Error like : THE DATA OBJECT ''INPUT 'DOESNOT HAVE A COMPONENT CALLED 'VALUE'.
    How to slove this ? My code was  correct ?
    Thanks in advance

  • French checker on Microsoft Word for mac

    Hi,
    I was wondering if anyone got the french spelling/grammar checker on microsoft word for mac to work? I'm not exactly sure how to set it up, so any advice would be appreciated! Thanks!!

    yes - it is included with Word.
    If you haven't installed it get your install disks and do a custom install of proofing tools - lots of languages to choose from.
    Then in Word set the document, or text selection, language to the language you are using. It does the rest.
    Adam

  • AP Check Display check total on all pages

    Hi,
    I am working on AP check report. I need to display Check total on all pages(in case of overflow invoices). Only for the very first OutboundPayment group the check total is populated under PaymentAmount/Value and for rest of all overflow invoices(OutboundPayment group) this value is 0. I need to display the check amount on all pages. I have created a check_total2 variable to capture the check amount but this variable does not get the check amount on the first page. Now I am trying to use decode to display the check total. But when I use decode function, the values not displaying correctly, it is showing some random number/characters.
    Variable defintion - <?xdoxslt:set_variable($_XDOCTX, 'check_total2', PaymentAmount/Value) ?>
    Decode Condition - <?xdofx:decode(PaymentAmount/Value,'0',xdoxslt:get_variable($_XDOCTX, 'check_total2'),PaymentAmount/Value)?>
    Below is the data -
    PaymentAmount/Value check_total2 Using Decode Value Expected
    105050 NULL NULL 105050
    0 105050 709D3D73971C 105050
    0 105050 1004 105050
    0 105050 1006 105050
    0 105050 1008 105050
    Any idea what is wrong here and how can I fix this. Please let me know if you need more information.
    Regards
    Hitesh

    BIPuser,
    Thanks for your help. My problem has been solved. Below is the code which worked for me(all the credit goes to BIPuser).
    Define variable "check_total" at check template level
    Defined another variable "display_total" at check stub template level
    check_total - <?xdoxslt:set_variable($_XDOCTX, 'check_total', PaymentAmount/Value) ?>
    display_total - <?xdoxslt:set_variable($_XDOCTX, 'display_total', xdoxslt:ifelse(PaymentAmount/Value='0', xdoxslt:get_variable($_XDOCTX, 'check_total'),PaymentAmount/Value))?>
    Now the column where I needed to display the total, I used
    USD$<?format-number:xdoxslt:get_variable($_XDOCTX, 'display_total');’999G999D99’?>
    This solved my problem.
    -Hitesh

  • Somehow the Spelling/grammar check in Microsoft Word switched to French.  How do I switch it back?

    Somehow the Spelling/grammar check in Microsoft Word switched to French.  How do I switch it back?

    In the Word menu bar, click Tools and select Language. Make your changes there:

  • Spell Checker- "unlearn" a word?

    While writing a paper in Pages '08, I accidentally clicked "Learn" on a misspelled word. Is there any way to make the spell checker "unlearn" the word so it can continue correcting my mistakes?

    Hello Dennis,
    Thanks for the information, I was trying to figure out where this "forget" button could be, but of course if it is missing, then I can keep looking for it, right?....I am new to the Mac world, we just got our first iMac a months ago, so learning nice and slowly.
    Do you have any idea when we could expect the upgrade to fix this "forget" problem?
    Thanks: Eniko

  • Credit Check Total

    Well, I did the 7 day trial with Credit Check Total, and called today to cancel. I told them price was the reason and they offered a 50% discount good for 24 months. EQ/TU reports pulled and FICO 8 scores updated three times a month, with Experian pulls and score updates daily. Not a bad deal at all for $14.95 a month. I took the deal and cancelled the 3 bureau monitoring from here. They wanted to know why I cancelled and I told them I got a better deal from Experian for three bureaus at $14.95. At first she said "well, you know those are not FICO scores..." and I said "no, they are FICO 8 score and match the scores here exactly, its a new program they just started" She seemed surprised by that. Maybe it will start pushing the prices for monitoring services down to more reasonable levels. I'll just purchase a report whenever I need to see where my mortgage score are sitting. Ex FICO is up a point to 593 today, BTW. (tiny little happy dance)

    I've had experian credit tracker since about feburary this year and like it alot. I signed up for CCT about 15 hours ago, so i could find my EQ fico, noticed how similar it was to experian, and thought nothing of it. Today after reading this, i called up experian, threatened to cancel because of CCT, they claimed the only reason someone else received the long offer was because they were part of CCT for an extended period of time. I say okay, well cancel experian anyway, i'll pay for cct. I call up CCT(THE SAME EXACT NUMBER AS EXPERIAN)  to cancel and see if i get the offer, i go the automated system way, automatically offers me 50% offer for 5 years. not sure if its the automated system, or a person difference, or if it's because i had experian for the past 6 months, but either way, i now am rolling with CCT, with seems like it's basically just experian with more. Question on CCT though, i know my experian score can/will update daily, but will the EQ and TU only updated...whatever it was...3 times a month? or is that just about receiving the report? I really don't care what my report says since i can get that from CK, i'd just like to see daily changes with my EQ when things report, rather than having to time everything out. Edit: the rep also had no idea of any 5 year offer. She claimed the only offers there were for cct were for 1 or at most 2 years. Fwiw I had already talked experian down to 10 a month back in February and for $5 more to get the extra 2 scores is a no brainer. 

  • How to check total cost of a materaial month wise

    Dear all,
             Can any one know how to check total expense of a material in a month.
    Thanks
    Arun

    Hi,
    You can make a custom report for this.
    If you want to know generally there is a head count report available in OM

  • Credit Check Total reporting question

    I have a question about Credit Check Total reporting a late.  I have been working very hard to rebuild my credit.  So I am paying very close attention to how I pay my bills.  My question is this According to Credit Check Total I had a late payment 18 months ago on EXP and EQ.  I know I haven't been late on anything in almost 4 years.  I do have several cc chargeoffs from 2010 and early 2011 that still show balances and have been gradually one by one settling or                       paying these off. So I guess it's possible one of these has reported the account and makes it look like a new late,  But then again I           wasn't able to start doing this till bout 6 months ago.  So IDK.  My problem is I can't figure out where the late is coming from.                     Anyone got any ideas on how to spot this.  I will take any and all suggestions on how to find it.  

    NormanFH wrote:
    alottacards wrote:
    RobertEG wrote:
    An account that has been charged-off is, by definition, seriously delinquent.The fact that they charged-off the debt does not end their ability to report prior or add new delinquencies. If a delinquency is reporting, does it not show a month/year?Have you inquired with the creditor? RobertEG  I have read enough on here to know absolutely you are right.  My problem is I can't seem to find the late  Probably can't do anything about it either way.   I would just like to be able to put my finger on what it is.  I have looked at the last reporting date of each of them, the last date before chargeoff, the chargeoff date, nothing matches 18 months agl. I'm perplexed. It;s just one of those weird things that is on my brain because I can't figure it out.  LOLOK, looking at my CCT page I think I know what you're seeing. It's on the overview page where it lists whats affecting your credit, correct? In mine for instance it says "Time since late" and then "4 months". I know that there are no late payments from 4 months ago, however there ARE collection accountsthat updated that recently. I think that is what you are seeing is not a late payment, but rather collection or other derog that last updated 18 months ago.Yep,  that's exacly what I see,  Just wish I knew what it was.  Don't like not knowing.  Oh well, I'm gonna just keep doing what I'm doing.  Keeping Util low,.  Paying on time and continuing to pay for old debts.   Thankyou for taking the time to help

  • Spell check for microsoft word and excel not working?

    Hi all,
    I seem to have a problem of spell check for micrsoft word / excel not working. It all stemed with me deleting microsoft office from my computer, after thinking it was playing havoc on my system, (making it slower and sending a strange attachment with some emails) but after one week I relaised i needed it, i tried loading it again, but now the spell check doesnt seem to work?
    also if any one can tell me, regarding my strange attachment. i was told today that "ATT00034" is sent because it contains font information that is not supported to the people i send it to? im not sure?
    thanks to all

    Since Office is not an Apple product, you'll probably want to use a forum dedicated to Microsoft's Mac products such as <http://www.microsoft.com/mac/community/community.aspx?pid=newsgroups> rather than an Apple forum
    Be sure to search the forum first in case someone has already had a similar question answered.

Maybe you are looking for

  • HT202853 iMovie failing to update older projects and events on external hard drive.

    I've made sure my iMovie events and iMovie projects files are on the top level of my external hard drive, however iMovie says, "iMovie could not find any events or project files to update" please help. I only recently updated my computer to OSX 10.10

  • Noscript tag - exclusion

    Hello, is it possible to exclude <noscript> tag from generated adf page? Firefox has a problem with it in print preview.

  • How to find out where the project directory is located

    I can't get Flex 2.0 to see my class library. I have been going to property and adding a source path --- it doesn't work.

  • Commission on Sales

    D/ Friends, Scenario is that weu2019re selling thru agent. In sales order sold-to-party is agent & ship-to-party is the end customer. Bill-to-party & Payer is also the end customer. Now the issue is that, we want to give commission to the agent in th

  • Seek and flvPlayback - what's wrong with this please?

    Hi, I'm trying to build a player where there's a button that pause the video and then moves the video forward by one second. I am using the following: flvPlayback.pause();            var newTime = flvPlayback.playheadTime + 1;           var currentTi