Spelled-Out Cash Amounts in greek-romanian

Hi.In the documentation file b13895.pdf(Oracle® Reports Building Reports 10g Release 2 (10.1.2) B13895-01) in page 547 there is a chapter with creation of Spelled-Out Cash Amounts in a report.This is doing with the below functions.
FUNCTION Spell (val number) RETURN CHAR IS
sp varchar2(100);
BEGIN
if val > 0 then
return(initcap(to_char(to_date(val, 'SSSSS'), 'SSSSSSP')));
else
return('');
end if;
END;
function SPELLED_AMOUNTFormula return Char is
cents number;
c_str varchar2(80);
val number;
begin
val := :order_total;
cents := (val mod 1) * 100;
if cents > 0 then --creates string for cents
c_str := ' and ' || TO_CHAR(cents) || '/100 Dollars******';
else
c_str := ' Dollars******';
end if;
if val < 1000 and val > 1 then
return (initcap(spell(floor(val))) || c_str);
elsif val > 1000 then
return(initcap(spell(floor(val/1000))) || ' Thousand ' ||
spell(floor(val mod 1000)) || c_str);
else
return('Zero'||c_str);
END;
From what I saw this happened thru the first function in compination with the second(for decimal parts of the amount.)
My problem is how to make the first function to work for other language than english.
For example Greek or Romanian.
Of course that means the words Dollars,zero,thousand from the second function translate to the corresponding language but this is easy.
Thanks in advance thrylos97.

hi all ,
I am using below fms for FB05 posting. but I am getting 'assign payment amounts' popup. how to click on accept button in background or how to suppress the same popup. please help me on this.
POSTING_INTERFACE_START
POSTING_INTERFACE_CLEARING
POSTING_INTERFACE_END
thanks for your help.
please reply to my gmail : [email protected]
Regards,
Venkat rao
Message was edited by: venkat rao veeramaneni
please reply to my gmail: [email protected]

Similar Messages

  • (Only 4 Pak & India ) Useful Code 4 Spelling out the Amount figure.

    Hi Dear Members
    If any one is interested in spelling out the amount figure. then do mail me
    [email protected]
    Bye
    Note :( This Code will work best in Pakistan And India )

    Hi Dear Members
    If any one is interested in spelling out the amount figure. then do mail me
    [email protected]
    Bye
    Note :( This Code will work best in Pakistan And India )

  • What is BDI or BDS spelled out? Jabber for Mac 9.2(1) Installation and Configuration Guide

    I’m spending the day catching up on Jabber/IM&P release notes across the server/clients.
    So I’m used to EDI and UDS, but we have a new acronym in the Jabber for Mac 9.2(1) Installation and Configuration Guide called BDI and BDS. However they don’t define what BDI stands for other than BDI is LDAP for non-windows
    Clients and suggests it should be used for Jabber for Mac.
    What is BDI or BDS spelled out? Something directory integration, but what is the B ?
    Then to add to the mix they reference BDS which sounds like the old UDS (is UDS changing to BDS?)
    How can Jabber get any more confusing…
    I also noted in the  Jabber Video for iPad 9.3.4 release notes that Apple is removing the Always Connect option in the near future. Manually launching Cisco AnyConnect Secure Mobility Client before making a call. This is going to upset some customers who like how Lync uses https and just works from anywhere with enhanced directory integration…

    Basic Directory Integration. It's not new, we had it in the Windows clients as far back as CUPC. The distinction got introduced when EDI was introduced, relying on Windows ADSI APIs instead of the client making a native LDAP bind.
    To my knowledge BDI/BDS are the same thing; I'm guessing S is 'service'. UDS remains unchanged.
    I also noted in the  Jabber Video for iPad 9.3.4 release notes that Apple is removing the Always Connect option in the near future.
    Well, they lost a patent infringement lawsuit and chose to change the functionality instead of pay the troll. That's not Jabber's fault. Collaboration Edge will be the way to avoid this in the near future.
    Please remember to rate helpful responses and identify helpful or correct answers.

  • How to find out the amount assigned to WBS element

    Hello Friends,
    Will you please inform how to find out the (amount/value/budget) assigned
    to WBS element
    Which Table it is stored in?
    Thanks in Advance
    Bset Regards
    Diwakar

    Hi Diwakarnd,
    You can use any of the following reports to get the information you require.
    1. <b>S_ALR_87013557</b> - Budget/Actual/Variance
    2. <b>S_ALR_87013558</b> - Budget/Actual/Commitment/Rem Plan/Assigned
    3. <b>S_ALR_87013559</b> - Budget/Distributed/Plan/Distributed
    Some of these reports use a complex selection criteria from various tables which has been grouped together, logically by SAP. The Logical Database table name for PS is <b>PSJ</b>.
    Execute transaction code <b>SE36</b> -> <b>PSJ</b> -> (Subobject : Radio button <b>Structure)</b> -> Click on <b>Display</b>.
    You would see all the underlining tables used.
    I hope the above helps.
    Do not forget to award the points please.
    Regards,
    Jacob

  • Converting VARCHAR2 to a DATE type-then need month spelled out

    I have a field that should be a DATE type, but is instead a VARCHAR2(8). The data in the VARCHAR2(8) field is displayed as what looks like a date -- EX: 09/18/09. I need to be able to convert the VARCHAR2(8) field so that it brings back the spelled out month plus the numeric day and year -- EX: September 18, 2009.
    I've been able to successfully convert a DATE type to the needed format (September 18, 2009) using the following syntax line, but now need to convert the VARCHAR2(8):
    to_char(jud_report_hear_off_v.incdate,'fmMonth dd, yyyy,') as INCDATE
    Your help is appreciated!!!

    So here is what worked.  I added this syntax line to my COMMAND in Crystal Reports:
           to_date(jud_report_hear_off_v.INCDATE, 'MM/DD/YYYY') as "INCDATE",
    Once that line was added into the COMMAND, the new format type was now a DATE and no longer a STRING (VARCHAR2).  I added INCDATE into my report and the date appeared as 09/19/2009, as it did before, but I could now select the INCDATE field via the Format Editor and see the option to select a desired Date and Time format.  I could then change the format to the choice of spelling out the month (EX:  September 19, 2009).
    Hope this helps others!  Whew!

  • I need to find out dollar amount on iTunes "Give any amount" gift cards I purchased, store clerk did not write down the amounts

    I need to find out dollar amount on iTunes "Give any amount" gift cards I purchased at CVS, store clerk did not write down the amounts when I purchased.

    Without scratching them off to get the numbers and redeeming them there is no way for you to do so. You could go back to CVS and see if they can get the data from their computer or see if your receipt helps.

  • HT4528 I have an Iphone 5S that I got in January. I have been successfully dictating emails and texts, using punctuation in my dictation, all worked wonderfully well, but a few days ago it started spelling out my punctuation rather than putting it in, wha

    I purchased an Iphone 5S in January and have been successfully dictating e-mails and texts using punctuation in my dictation. A few days ago it started spelling out the punctuation in the email or text, what did I do to cause that to happen ? thanks.

    Don't expect support here. Nokia does not bother to pay a tech or two to support the people who have bought the 920. Not really a point to these forums.
    Anyways, i have huge bt issues as well. Cannot connect or see my jawbone. In truck with pioneer nav system (it is illegal here to use a phone without handsfree in vehicle) it links, but when i make a call or receive a call it shows the phone off the receiver icon so it knows call in progress, but i either get no sound from the caller... at all, or i get a robotic mess i cannot decipher. when i cannot hear anything, people can hear me, but when i hear robotic, people can hear me but with distortion. However, when it reads a text message, the phone voice is fine through the system. Because i have to turn bt off then to use phone, i have to return this handset and just go back to android.
    Have also had this drop calls a few times now as reception is probably the worst i have seen in a decade... even drops in downtown core. Battery life poor because i assume its always struggling for a signal.

  • How to find out cash balance

    how to find out cash balance at each plant for particular date.

    Hi
    Please tell me what is the system of your GL Creations, is it plant wise or not ? If plant wise, then you can see the individual plant wise GL from FBL3N or FS10N. Ideally there should be plant wise Cash Journals also, so you can see from FBCJ.
    If plant wise GLs are not opened, then if you have single GL for cash, then on the basis of profit center/ business area if plant wise, you can dispaly the cash balance
    regards
    Parag Bhargava

  • How to find out the amount of ram a computer can hold

    I want to know how to find out what is the max amount of ram my computer can actually take advantage of, rather than tell you my model and you tell me what is the max because I know it varies according to the model of the Computer
    But if you'd like to help the other way, here is my model: Macbook(13-inch, Mid 2010 [unibody]) basically the latest version of the white macbook.

    Pointdexter11 wrote:
    simple version: what algorithms do they use to figure out the max is 8GB 
    That is not a simple question.  I don't think anyone here knows the exact testing process that Apple uses to determine what the max ram will be at the time of release.  This is done during the development process.

  • Spelling Out A Decimal Number

    Hi all,
    SELECT TO_CHAR(TO_DATE(SUBSTR(5698.45,1,INSTR(5698.45,'.',1)-1),'J'),'JSP')||'.'||TO_CHAR(TO_DATE(SUBSTR(5698.45,INSTR(5698.45,'.',1)+1),'J'),'JSP')
    DATA
    FROM DUAL
    The query gives me out put partially incorrect
    i want to spell digits after decimal as individual numbers
    EX:
    45 should be spelled as 'four five' instead of 'forty five'

    start point can be different, i replaced the listagg to
    with testdata as (
    select '5698.45' s, 1 st from dual
    union all
    select '569.73', instr('5698.45','.') from dual
    , t (s, ss, nn) as (
    SELECT
    s
    ,to_char(TO_DATE (SUBSTR (s, st , 1),'J'),'JSP') ss
    ,  st as nn
    FROM testdata
    union all
    SELECT
    s
    cast (
    case
    when SUBSTR (s,  nn + 1, 1) = '.' then ss||' '||'DOT'
    when SUBSTR (s,  nn + 1, 1) = '0' then ss||' '||'ZERO'
    else
    ss||' '||to_char(TO_DATE (SUBSTR (s,  nn +1 , 1),'J'),'JSP')
    end
    as varchar(4000)) ss
    , nn + 1 as nn
    from t
    where
    nn<length(s)
    select
    max(ss) keep(dense_rank first order by nn desc)
    spelled
    from t
    group by s
    SPELLED
    SEVEN THREE
    FIVE SIX NINE EIGHT DOT FOUR FIVE

  • How to find out the amount of lines in a .txt

    Hi
    Is there a possiblility to find out how many lines there are in a text file without going thru the hole text? Something like a what's-the-last-line-number-method ?

    In the good old days ancient operating systems has the motion of the file type. that is, special kinds of file were handled with by the OS like sequential file or index-sequential files.
    Modern OS's (including Unix and Windows) handle files as a sequence of bytes and leave the processing to the applications to much extent.

  • Spelling Out Numbers In Arabic

    Dears,
    I need a PL/SQl Procedure that spell out Numbers in Arabic(Tafkeet)
    any help is highly appreciated,
    please send Function code to :
    [email protected]
    with lots of thanks
    Regards

    See the following thread for an example in spanish
    Converting a number into world In spanish Language

  • What's with this weird floating box on my screen spelling out everything I'm doing? How can I make it go away?

    A floating box has suddenly appeared on the lower left of my screen with white text on a black background telling me about whatever my cursor is hovering over at any given moment.  It's driving me nuts.  I'm sure it must be part of Help or Info, and it probably just takes a simple keystroke to get rid of it, but I can't seem to find that blasted keystroke!!  Please help.  [OS X 10.8.4; Mac Pro]

    welcome

  • Limit user to send out amount of smtp mail.

    I am running groupwise 8.0.2 and was wonder if there is any restrict on individual user to send out certain amount of message within a day?

    Originally Posted by sl0000
    I am running groupwise 8.0.2 and was wonder if there is any restrict on individual user to send out certain amount of message within a day?
    Not that I'm aware of, sry. Curious, why would you want to do this?
    Thomas

  • Outgoing cash payments on creditnotes

    Hi there.
    Does anyone know how to make outgoing payments linked to a creditnote in DI Server? (or at the very least in DI Api?)
    oIncomingPayments has the Payments_Invoices, that is great for registering payments on an invoice, but I haven't found a way to do the same for a creditnote.
    And I cannot use the oVendorPayments, because the customers in question are not vendors.
    I should think that pay out cash on a creditnote should be a simple thing to do,
    but I am at a loss here.
    I'm writing a cash counter application, so the users don't have access to the SAP UI.

    Thanx a lot, it always worked like a dream!
    However, it didn't work as it should.
    What I want to do, is create a creditnote, and pay the sum out to the customer in cash, eg when something he bought was defect.
    If I create a creditnote, say with a doctotal of 1000, the customers balance is then increased to 1000. I then add payment as you said. The creditnote is now closed, its Paid/Credited field is set to the total amount, and the Credit Balance is zero. Everything looks great. Until I have a look at the customer balance. It is now increased to 2000! Instead of being done with the customer after paying him, it looks like we owe him twice as much!
    I've tried reversing the amounts, but just get the "Amount must be positive" error message etc.
    And setting SumApplied to positive gives the 'Payment amount is greater than invoice amount'
    Here is the xml:
    <?xml version="1.0" encoding="UTF-16"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header>
    <SessionID>B57AA457-10AA-19B8-8F3B-ABE41D6325C5</SessionID>
    </env:Header>
    <env:Body>
    <dis:AddObject xmlns:dis="http://www.sap.com/SBO/DIS">
    <BOM>
    <BO>
    <AdmInfo>
    <Object>oIncomingPayments</Object>
    </AdmInfo>
    <Payments>
    <row>
    <CardCode>100000</CardCode>
    <CashSum>2331.0</CashSum>
    </row>
    </Payments>
    <Payments_Invoices>
    <row>
    <DocEntry>29</DocEntry>
    <SumApplied>-2331.0</SumApplied>
    <InvoiceType>it_CredItnote</InvoiceType>
    </row>
    </Payments_Invoices>
    </BO>
    </BOM>
    </dis:AddObject>
    </env:Body>
    </env:Envelope>
    I also tried adding <DocObjectCode>bopot_OutgoingPayments</DocObjectCode> to signal that this is an <b>outgoing</b> payment, but then I only got
    '46' is not a valid value for field 'ObjType'. The valid values are: '24' - 'Incoming Payment'
    [edit]
    Hm, I think maybe the trick is to use oVendorPayments instead of oIncomingPayments, but havent' found out how to signal that it is a customer, and not a vendor, so I only get 'Busines partner type does not match document.'
    [/edit]
    Message was edited by:
            Runar Holen

Maybe you are looking for