India Check printing - words notation issue

Hello,
I have a report for check printing for our india localization. I was able to change the words notation to Lakhs and Crores using ap_lookup_codes, lookup_type 'NLS TRANSLATION', but unable to change the way <b>commas</b> are displayed for amount field.
Eg. an amount of 112476100.48, is displayed as 112,476,100.48 (in words displays as one hundred and twelve thousand four hundred and seventy six one hundred rupees and forty eight paise) whereas for India localization, we need this to be displayed as 11,22,76,100.48 (eleven crore twenty two lakhs seventy six thousand one hundred and forty eight paise)
Function CHK_DISP
declare
l_check_amount varchar2(15);
l_inr_amount varchar2(15);
begin
SRW.REFERENCE(:C_CHECK_AMOUNT);
SRW.REFERENCE(:C_CURRENCY_CODE);
SRW.USER_EXIT('FND FORMAT_CURRENCY
CODE=":C_CURRENCY_CODE"
DISPLAY_WIDTH="15"
AMOUNT=":C_CHECK_AMOUNT"
DISPLAY=":C_CHECK_AMOUNT_DISP"
MINIMUM_PRECISION=0');
IF :C_CURRENCY_CODE = 'INR' THEN
l_inr_amount := to_char(:C_CHECK_AMOUNT, '99,99,99,999.99');
l_check_amount := replace(rtrim(l_inr_amount),' ','*');
ELSE
l_check_amount := replace(rtrim(:C_CHECK_AMOUNT_DISP),' ','*');     
END IF;
end;
This errors out for some reason.
If I just do a srw.message('6','l_inr_amount: '||to_char((:C_CHECK_AMOUNT, '99,99,99,999.99')); --- this works perfectly fine and displays the required format in log file. Can someone please advice on how to achieve these comma positions for India check printing?
Thanks in advance
Hari

Hi
Try to use CALL FUNCTION 'SPELL_AMOUNT'  Currecny Key = "USD"  irrespective of the  currency  and then based on the country key or langauge  Concatenate the Currency to the SPELL AMOUNT..
surya

Similar Messages

  • AP - F110 - SAPFPAYM - Adobe Checks - Printing Issue

    We have ECC 6.0, and we recently started using Payment medium workbench to print adobe check forms.  All configuration and programming is done, except that we encounter an issue once in a while.
    Using F110, we will complete a proposal, review it and then execute the payment medium run.  Out of 60 or so check runs, we will have a batch that does not print the last few checks out.
    For example, in one instance, out of 100-200 checks, the last 4-6 did not print.  All tables (PAYR, etc.) and vendor were updated with a payment document and check number, and the spool does show an adobe image available for those particular items.
    The most recent occurrence involved 587 checks, where the last 54 did not print.  They are visible on the spool. 
    The logs of the payment run do not show any error messages or warnings.  We verified with our Basis team that there are no messages or logs associated with the actual printers, and yet, they just do not print!
    I have searched notes, forums and boards trying to find anyone with a similar issue but no luck thus far.
    I have created the issue in Qas as well, by using the same steps to create 588 checks via F110, but only 27 print out?  I tried the "Reprint" option on the F110 screen, and the same 27 checks print out.  (Its the first 27 of the spool that print each time.) 
    Again, the spool shows all 588 checks with images and all data/tables are updated appropriately.
    In OBPM4, we have the box for "Payment Document Validation" checked, and the correct printers assigned.
    Does anyone have any suggestions on what might trigger this? 
    Where else should we be looking to find some type of status or error message?
    Would it be helpful to run through the process with some type of trace running in the background?

    Thank you for your response.
    I wondered about a printer memory issue as well...however, I am not sure how much space an adobe check might take up versus the SapScript check form we used before. 
    Any suggestions on how to go about verifying this theory?  (Basis should monitor from their side when I start the print program?)  (Is there a report or status I can physically check or create from the printer itself?)

  • Regarding new bank to be created for new office ...check printing issue...

    dear all..
    i need to create bank for our new office say BARODA office for check printing purpose.
    our comp. has allready configured for mumbai and main office bank...
    but i dont know the full cycle.. can anybody tell me the process to implement the same ?
    thanks in adv..
    jigar patel

    Thanks Sandra for your response.
    From the PCL Font list it says
    USB Resident storage fonts
    Font = H E-13B-600  
    Pitch/Point = 8.00/8.4
    Esc sequence = <esc>(0Q<esc>(s0p8.00h8.4v0sb0T
    Font = USB1  1
    Font id = blank
    I am only using Print control = SF450 as the SAPSCRIPT is copied form an existing one, but event he SAP standard text will not print (vanilla) SAPSCRIPT-MICRTEST or SAPSCRIPT_MICRTEST the correct fonts.
    Do you think font pitch may be the issue, we are planning to change this tomorrow to 10.
    Does the escape sequence need to be added as a new print control to the Device type in SPAD or does SF450 HPLJMI still work?
    One other thing from note 94233 I checked the RAW spool file and it does contain
    ST0652139Schriftart MICR_E 10 Punkt (MICR E-13B)
    MT0198406457
    CP40040000E
    FCMICR_E  100  00180 SF450SF450400400180E
    ST0018001A
    MT0226706457
    CP11000000E
    FCCOURIER 120  00144 SF012SF012110000144E
    ST0100807transit
    MT0198406697
    CP40040000E
    FCMICR_E  100  00180 SF450SF450400400180E
    ST0018001B
    MT0226706697
    CP11000000E
    FCCOURIER 120  00144 SF012SF012110000144E
    ST0086406amount
    MT0198406937
    CP40040000E
    FCMICR_E  100  00180 SF450SF450400400180E
    ST0018001C
    MT0226706937
    CP11000000E
    FCCOURIER 120  00144 SF012SF012110000144E
    ST0072005on-us
    MT0198407177
    don't know what more to look for.

  • Digital Signature  Check Printing  issue

    Hi  ,
    I  have  one  issue  in check printing  for  Tcode :  F110  .
    When  i  take  printout  signature  comes  below  the  line   ,  i  want  to  move  digital  signature  above  the  line  .
    in  Script  Code  is  like  this
    T3
    T3
    /:           HEX TYPE PCL LEFT '5.00' CM
    /=           1B2831511B2873317033362E307630733062305453
    /:           ENDHEX
    Now  Can  you  tell  me  how to  move  signature  from  below  the line  to Above  the  line .
    Regards,
    Sandeep Jadhav

    Hi,
    When you say adjustment how did you pass the adjustment ? what transaction code was used? normally to post a payment without printing check you can use F-53 and that should not print any checks.
    Thanks and Regards
    K.Raghavendran

  • Issue with BDC program used for FBZ5 (Check Print)

    Hi all,
    I am having one requirement in Check printing. as per that i have made one Z program which will accept multiple Payment documents. I am passing selected accounting documents to BDC routine for Transaction FBZ5. (As in FBZ5 we can take a print for one Payment document not for multiple)
    We can have 3 scenarios in FBZ5
    1. Fresh Check printing (First time check printing)
    2. Old Check (printing for same Check no)
    3. New Check (After voiding older check)
    Category 1 and 2 are working fine but i am facing problem in category 3.
    For Category 3 : BDC Screen flow is like this
    A. Tcode FBZ5 Start program: SAPMFCHK Screen: 750 --> Click on 'Print'
    B. Program: SAPLSPO2 Screen: 0100  --> Here specify option 'New Check'
    C. Program: SAPMFCHK Screen: 0700
        - This program belongs to new Tcode FCH7
        - Here we have to give Void Reason code
    Now issue with Category 3:
    While executing BDC in online and background mode my control is terminating at step C mentioned above
    Troubleshooting:
    I have debugged standard program of FBZ5
    1. in Include MFCHKFD0 we can see call to Tcode FCH7  (PERFORM AUFRUF_FCH7.)
    2. in form AUFRUF_FCH7 i found code related to BDC
       also there one statement is getting triggered -->   CALL TRANSACTION 'FCH7' USING BDC MODE 'A'.
    So there is a BDC call inside my Z BDC program, so is this a reason why my program is not working for above scenario ?
    Or can't we handle above scenario in a way mentioned above?

    Hi Sandra,
    I was trying to upload customer master in fd01 using bdc. The screens were different while recording. So could not perform the upload. Thenone screen was skipped so that the bdc was working fine and the data was uploaded.
    This is the flow of the recording.
    'SAPMF02D' '0105'.
    SAPMF02D' '7105'
    SAPMF02D' '0111
    SAPMF02D' '0120
    SAPMF02D' '0130
    SAPMF02D' '0210
    SAPMF02D' '0215
    SAPMF02D' '0220'
    SAPMF02D' '0230'
    SAPMF02D' '0610
    After the second screen was deleted the bdc worked fine.

  • F110 - Check Printing Issue

    Hello Experts,
    I am facing one problem during Check printing....
    I am using standard driver prog. RFFOUS_C. & to show more data like Bank Details etc.... i have created a subroutine & called in script
    but problem is........
    When I ran a RFFOUS_C report through se38 transaction i am able to see Bank Adress details
    but when i ran through f110  then i cant see this information.
    Thanx in Advance

    Hi,
    Please check if the printer is defined as an output device in your SAP system or not. The below link explains this situation may be similar to your case:
    http://www.sapfans.com/forums/viewtopic.php?t=305787
    Regards,
    Kiron Kumar T.

  • Check print cartradge issues

    Hi, I've got a HP PSC 1215 printer and have been using it with my laptop for some time. However my laptop has just stopped picking it up and doesnt say that it is connected. The "check print cartridge" light is also flashing on my device, I have tried to follow the steps on the HP support website but it doesnt help. Do you know how to help me? Thanks

    These documents may help. You may have referenced one of these documents based on what you stated in your post. The first two are concerning the check cartridge light, the third is concerning the disconnected status:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c00095908&cc=us&lc=en&dlc=en&product=412187
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c00094661&cc=us&lc=en&dlc=en&product=412187
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=buu01859&tmp_task=solveCategory&lc=en&dlc=en&cc=...
    I hope those help you.
    007OHMSS
    I was a support engineer for HP.
    If the advice resolved the situation, please mark it as a solution. Thank you.

  • Pages won't print Word documents

    All of a sudden I can't seem to get Pages to print Word documents. Pages documents print fine, but if I send a Word document to the printer, the printer seems to start, but then never prints. I have an Epson Stylus C86. This problem only happens in Pages and only with Word documents.
    Any ideas?

    Since it only happens with Word docs, I'm wondering if it's a font issue. For the sake experimentation, try highlighting the entire doc, and change fonts, then try printing again.
    -Dennis

  • Migratiing AP Check print from RDF to XML publisher

    We are migrating customized AP Check print report from RDF in 11.5.7 to R12 XML Publisher report. We have 18 reports to convert.
    I have followed
    http://oracle.anilpassi.com/xml-publisher-concurrent-program-xmlp-2.html
    link to do the same.
    I am facing the follwoing issue.
    I am getting empty output after did all the changes as per the ablove link
    But only modification i did is, as in R12 we ahve separate top for Payments. But we dont have Report folder under IBY_TOP. So I am keeping my RDF report in AP_TOP and I have created executable under ap_top then Program under Payment_top. Remaining are same.
    But I am not getting the output.
    Pl. let me know, what I did is same or how to proceed
    this is very urgent. so expecting the reply at the earliest

    We are migrating customized AP Check print report from RDF in 11.5.7 to R12 XML Publisher report. We have 18 reports to convert.
    I have followed
    http://oracle.anilpassi.com/xml-publisher-concurrent-program-xmlp-2.html
    link to do the same.
    I am facing the follwoing issue.
    I am getting empty output after did all the changes as per the ablove link
    But only modification i did is, as in R12 we ahve separate top for Payments. But we dont have Report folder under IBY_TOP. So I am keeping my RDF report in AP_TOP and I have created executable under ap_top then Program under Payment_top. Remaining are same.
    But I am not getting the output.
    Pl. let me know, what I did is same or how to proceed
    this is very urgent. so expecting the reply at the earliest

  • Cheque printing. How to avoid last page in case of check printing in F110?

    F-68 prints only one page whereas F110 prints 2 pages.
    How to avoid last page in case of check printing using F110? Is there any other option than changing the Script.

    Hi,
    Im also facing the same issue. Generates 1 page with F-58 but 2 pages with f110. Kindly let me know how to resolve.

  • HP Photosmart Premium C309g-m unable to print ("check printer documentation")

    My printer is:  HP Photosmart Premium C309g-m 
    My computer is: Mac (Mac OS X system) 
    After removing a jammed paper (probably the incorrect way), I now receive a message to check "printer documentation" and then press "okay".  Tried everything I could find, including uninstalling and reinstalling.  Still receive same message, and still unable to print. 
    Can anyone tell me in very simple terms how to fix this?

    Hi there chnich,
    This article should cover the issue you are experiencing. Give the steps outlined a shot and let us know if it helps.
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • HP Officejet Pro 8500A: Initial Checking Printer Procedure does not stop

    I have a big problem.
    My printer does not stop to run the "Checking Printer" procedure.
    It tells me: "Open the print-carriage access door, clear the jam, and then touch OK to continue.
    Unfortunately there is no paper inside.
    Pressing OK, the printer continues the procedure and it NEVER stops.
    Switching OFF and ON the power does not help.
    But if you try to print the Auto Test Report it works. The printer prints the report without any problem!!!
    PLEASE HELP ME
    Andrea

    Hi there andrea_lugano,
    This article should cover the issue you are experiencing. Give the steps outlined a shot and let us know if it helps.
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • Problems with check printing RTF template

    To BI Publisher Gurus,
    I am working on the check printing RTF template and facing a few issues with page breaks, filling the insufficient invoice lines with template and positioning of the table(s) itself inside the RTF template.
    For page break, am using the following piece of code just before the end of all of my FE loops.
    <xsl:if xdofo:ctx="inblock" test="position()-1<count($inner_group)"><xsl:attribute name="break-before">page</xsl:att:attribute></xsl:if>
    the $inner_group is my group for G_INVOICES to loop through all the invoices of a check in G_CHECKS group.
    The problem I'm facing is, everytime a check is printed its printing a blank page in between. Searched all the earlier forum posts but none of the solutions worked in my case.
    Second issue, for filling the insufficient invoice lines (in my case, am printing 26 invoices per page per check), the call to the blank lines template is repeating twice and found no way to get rid of it.
    Third issue, if the check is running into a second page, the call to the blank lines template does not work and the position of the bottom part of check is getting misaligned.
    I am ready to send my template and the sample XML file to look at. Thanks for your time and effort.
    -Uday

    Hi Tim,
    Hi Tim,
    Could you please send me the sample rtf. We are also using APXPBFEG program for check printing..
    Also I have problem in generating dots(....) in the check where if total invoices lines are 37 and we have only one line of invoice then I have to generate 36 dots (.) in the invoice porition of the check..
    I appreciate your help..
    Thanks
    Krishna
    [email protected]

  • Check print report PaymentAmountText field gets spaces while using RPAD Fn

    Hi,
    In the check print report we are using the PaymentAmountText field to print the amount in text.
    After printing the remaining spaces should be filled with '*'
    I used the below command
    <?xdofx:rpad(PaymentAmountText,100,'*')?>
    But the output is as follows:
    Twenty-Five       Pounds    And      Fifty     Pence
    Only***********************************************
    There is a huge space between two words.
    So please suggest some ideas to remove the space between two words.

    There is a huge space between two words.
    So please suggest some ideas to remove the space between two words.
    you can use normalize-space(tag_name) like
    Result - <xsl:value-of select="normalize-space('Initial     werwe rrr r     r')"/>
    and result as
    Result - Initial werwe rrr r r
    also look at Re: Problem with Rpadding in RTF

  • AP Check Print: Same PDF O/P prints differently from Different Printers

    hi ,
    I am working on AP Check Printing. We are upgrading our system from 11i to R12.1.3.
    I have developed the Check Template for a US Check, the PDF output generated from the "Format Payments Instructions" look good and prints perfectly onto one printer.
    But when i print the same o/p to a different printer, it is cutting off all the edges.
    I have verified that both the Printers use Universal Pasta Configuration & the same past_pdf.cfg file.
    It has "Prepocess = pdftops - paper match {outfile} {infile}" as the command to convert PDF output file into a PS (Post Script).
    I am able to reproduce the problem by printing the PS file from unix using the command "lp - d <printername> <PS File Name>".
    Please advice ASAP, this is a BLOCKER issue for us and need to solve this at the earliest.
    Thanks in Advance.
    VIJAY

    Hi,
    Thanks a bunch for your quick response.
    In order to check the driver, i have seen in the following areas.
    System Admin => Install => Printers => Register /Type /Style / DRIVER.
    The driver postion is actually depending on the print style like "PDF Publisher" or "Portrait For Logo" etc.
    Is this the place you want me to check ? or is there anything else i am missing ?
    Thanks,
    Vijay

Maybe you are looking for