Display minus sign from "$-" while printing the discounted amount

Hi,
We are trying to print the discount amount today using following function: <?xdoxslt:pat_format_number(sum(LINE_TOTAL_ADJ_AMT),'¥##,##0','ja-JP')?>
Since the discount is negative amount always, we show it as '-¥', but the user wants to see it as '¥-'.
Please to understand how can achieve that?
Thank you for your help in advance,
Saroj

Check the code, i hope it serves your purpose...
data:
var(10),
length type i.
var = '300-'.
write var.
length = strlen( var ).
length = length - 1.
replace first occurrence of '-' in var+length(1) with ''.
concatenate '-' var into var.
write:/ var.
Reward points if useful, get back in case of query...
Cheers!!!

Similar Messages

  • You purchase properties in Arab game (Sultan desert), while the procurement process and the discount amount lost contact wrote the running game has been cooperation from them but the problem!  I can't buy any properties in the game itself and the science

    You purchase properties in Arab game (Sultan desert), while the procurement process and the discount amount lost contact wrote the running game has been cooperation from them but the problem! 
    I can't buy any properties in the game itself and the science I don't use jailbreak and two free jailbreak is there a program hindered the procurement process so that I can buy anything from the store

    Hello milkisoo,
    Wow! Purchasing a new computer and monitor should be a fun and exciting experience, and instead, it sounds like it’s turned into a complete nightmare. I can only imagine your disappointment when you found two charges relating to its purchase on your debit card account, and I’m sorry for any aggravation this caused. 
    As I want to provide you some piece of mind, I pulled up your order number using your email address attached to the forum. After review of its payment information, I found we collected only one payment.  However, when orders are first placed on BestBuy.com, a pending authorization should show up on your bank card to make sure funds are available for the order until it is fulfilled. From there, the authorization should drop off and the collection charge should appear.  This is the case for your one charge of $1,051.69.
    It also sounds like an error may have occurred when you initially attempted to place your order,  resulting in one of your gift cards not registering properly and the order not being completed.  Your card’s issuing bank doesn’t appear to have recognized this and pushed through the pending authorization. This occurred a second time when your account information didn’t quite match up with what we had on file. Please know that we haven’t ordered a collection of these funds and your issuing bank should release the two pending authorizations within 5 to 7 business days.
    Thank you for posting.
    Alex|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Error While Printing the Report

    Post Author: saqib
    CA Forum: .NET
    HI All,I have joined this forum recently. I found this forum so helpful. I have one query which is: I am using crystal report 10 with Dot Net 1.1, I have created one web report which consists of 19 pages. Once i press the print button on the report after previewing it shows me the error reporting screen of windows. I have checked in event viewer it gives me the following error detail:The description for Event ID ( 1000 ) in Source ( Microsoft Internet Explorer ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: iexplore.exe, 6.0.2800.1106, printcontrol.dll, 10.0.0.533, 0003bb45. Can any one helps me as i am totally stuck in that. Thanks in advance.  

    Try the following if your printer is a network printer
    1. Add Printers - select Local Printer
    2. In the Add Printer wizard, select "create a new port" option and select "TCP/IP" as type
    3. Write the IP address of the network printer in the "Add standard TCP/IP Printer Port wizard". The port name becomes IP_<ip addr>. Click Next.
    4. Select the printer and printer type in "Add Printer" wizard.
    5. Select a driver and Write a printer name. This completes the setup. Use this printer name to print from Oracle reports.
    Hope this helps..
    Yogesh
    I am getting this error message while printing the report on Network Printer.
    "REP-1849: Failed while printing"
    Reports Server is not installed on my machine.
    On shared printer, it has no problems.
    Platform is Win2000. Report Builder 6.0.8.11.3
    Plz help !
    Thanks in advance !

  • Move minus sign(-) from end to start of field

    Hi,
    How to Move minus sign(-) from end to start of field. i e if       var = 120-, i want to display it as -120.
    if any one has the code , send me.
    Thanks in advance
    Krishna.

    Check the code, i hope it serves your purpose...
    data:
    var(10),
    length type i.
    var = '300-'.
    write var.
    length = strlen( var ).
    length = length - 1.
    replace first occurrence of '-' in var+length(1) with ''.
    concatenate '-' var into var.
    write:/ var.
    Reward points if useful, get back in case of query...
    Cheers!!!

  • HT201359 I purchased the program from before, why was the discount amount on a program previously purchased

    I purchased the program from before, why was the discount amount on a program previously purchased
    Item     Developer     Type     Unit Price
    Learn English with busuu!, A1 - Beginner
    Report a Problem      Busuu Limited      In App Purchase     $4.99
    Order Total:     $4.99
    Please retain for your records
    Please See Below For Terms And Conditions Pertaining To This Order.
    Apple Inc.
    You can find the iTunes Store Terms of Sale and Sales Policies by launching your iTunes application and clicking on Terms of Sale or Sales Policies
    Answers to frequently asked questions regarding the iTunes Store can be found at http://www.apple.com/support/itunes/ww/
    Apple ID Summary •  Purchase History
    Apple respects your privacy
    Information regarding your personal information can be viewed at http://www.apple.com/uk/privacy/
    Copyright © 2011 Apple Inc. All rights reserved
    <Personal Information Edited by Host>

    Sorry, but I don't understand your question. What "discount amount" are you referring to?

  • While Printing The Ontest labels in the thermal printer it is printing Rev

    While Printing The Ontest labels in the thermal printer it is printing Rev
    the problem is my if my heading is on top
    and footer is at the end in preprinted
    my print has to be rotated 180 degrees

    Resolved Myself.

  • Print the Discount column in PO Printout

    Hi,
    I want to print the Discount column in PO Printout. Where this field (Discount) shows in PO.
    Regards..

    Dear,
    After Maintain Parameter "X" in front of your conditopn type in Print Parameter coloumn, where Discount Column s
    hows.
    After maintaining above parameter, create PO....
    Now go to ME22N...click on print preview button..
    Now you will see your discount printed in the form.
    Also please tell me the Tables for Discount against material (with line item)..
    Table KOMV
    Regards
    utsav

  • Error in Printer Selection while print the document

    Dear All,
    Error in Printer Selection,  while print the document in Quotation.
    Also both side Printing is not happening.
    My Report is in Crystal Report format.
    Suggest any solution on this as earlier as possible.
    Regards,
    Sumeet Vaity

    hi,
    are you printing locally or shared printer?
    pls check the ff.
    1. make sure your printer is on and Online (For local and shared)
    2. make sure the host PC is connected in the network., ping the host PC to make sure your host PC is Connected (Shared)
    3. make it as your default printer.
    regards,
    Fidel

  • Not getting Landscape format while printing the file.

    I am not getting Landscape format while printing the file. I am using the follwing code. Can anyone help me in this regard. its urgent.
    public void printText(){
    String outputPath="d:\\output\\";
    DocFlavor flavor = DocFlavor.INPUT_STREAM.POSTSCRIPT;
    PrintRequestAttributeSet aaset = new HashPrintRequestAttributeSet();
    DocumentName docName = new DocumentName(outputPath+"outfile.ps", Locale.US);               
    PrintService pservices = PrintServiceLookup.lookupDefaultPrintService();// lookupPrintServices(flavor,aset);
    try {
    DocPrintJob pj = pservices.createPrintJob();
    InputStream file = new BufferedInputStream(new FileInputStream(outputPath+"outfile.ps"));
    Doc doc = new SimpleDoc(file,flavor,null);
    try {
         aaset.add(MediaSizeName.ISO_A4);
         aaset.add(OrientationRequested.LANDSCAPE);
         aaset.add(Sides.DUPLEX);
         pj.print(doc,aaset);
         } catch (PrintException e1) {
              e1.printStackTrace();
         } catch (FileNotFoundException e) {
         e.printStackTrace();
    }

    As a quick workaround... put the paper in the other way

  • Error while printing the dunning form

    Hi all,
    I have a smartform for printing dunning form in FI from tcode F150...but while I schedule and try to take the print the job log entry shows error as "Form Z_DUNNING language EN is not active and has no errors".
    Can anyone tell why this error is comming, because I have checked the smartform and have activated it without any errors?
    Do help as its urgent.
    Regards,
    Anu.

    Hi,
    One more idea ...
    sometimes even though the smartform is active the error occurs which may be due to transports ....
    try generating  the smartform again in the first screen of the tcode SMARTFORMS ....from the menu ...smartforms-->generate ...
    then check ...
    regards,
    Ram

  • To change the printer name while printing the invoice

    Hi,
    I have a requirement like if there is already an entry in NAST table with o/p type ZURD and printer name USJC-PM03,then an error message has to be displayed like 'This Output already printed in USJC-PM03,Change the printer name 'USJC-PM03' to 'LOCL' and then print' on the vf03 screen.
    But even if  I change the printer name from 'USJC-PM03'  to 'LOCL',it is showing the same error message.This message should not be shown.
    I have used the following code in the program.
    lf_formname = tnapr-sform.
    determine print data
      PERFORM set_print_data_to_read USING    lf_formname
                                     CHANGING ls_print_data_to_read
                                     cf_retcode.
      IF cf_retcode = 0.
    select print data
        PERFORM get_data USING    ls_print_data_to_read
                         CHANGING ls_addr_key
                                  ls_dlv-land
                                  ls_bil_invoice
                                  cf_retcode.
      ENDIF.
      IF sy-tcode = C_VF03.
        SELECT SINGLE * FROM tnapr WHERE kschl = 'ZURD'
                                       AND nacha = 1
                                       AND kappl = 'V3'.
        SELECT count(*)
        FROM NAST
        INTO lv_count
        WHERE objky = ls_bil_invoice-hd_gen-bil_number
        AND    kappl = c_v3
        AND    kschl = c_ZURD
        AND   ldest = c_PM03.
        IF LV_COUNT GE 1.
          Message e000(zup) with text-001 text-002 text-003.
        ELSE.
    determine smartform function module for invoice
            CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
                 EXPORTING  formname           = lf_formname
                    variant            = ' '
                    direct_call        = ' '
                 IMPORTING  fm_name            = lf_fm_name
                 EXCEPTIONS no_form            = 1
                            no_function_module = 2
                            OTHERS             = 3.
    call smartform invoice
              CALL FUNCTION lf_fm_name
                   EXPORTING
                              archive_index        = toa_dara
                              archive_parameters   = arc_params
                              control_parameters   = ls_control_param
                    mail_appl_obj        =
                              mail_recipient       = ls_recipient
                              mail_sender          = ls_sender
                              output_options       = ls_composer_param
                              user_settings        = space
                              is_bil_invoice       = ls_bil_invoice
                              is_nast              = nast
                              is_repeat            = repeat
         importing  document_output_info =
    *Uncomented the line to get the spool id or OTF formatted data -
    *NY047532
                   IMPORTING
                          job_output_info      = w_job
    NY047532
                    job_output_options   =
                   EXCEPTIONS formatting_error     = 1
                              internal_error       = 2
                              send_error           = 3
                              user_canceled        = 4
                              OTHERS               = 5.
          ENDIF.
        ENDIF.
    When should be done for the error message not to be shown when the printer name is 'LOCL'.

    Hi,
    Here my requirement is first the user has to check the nast table if there is any entry with o/p type ZURD and printer 'USJC-PM03' .If there is an entry then an error message 'This Output already printed in USJC-PM03,Change the printer name 'USJC-PM03' to 'LOCL' and then print' has to be displayed.
    Then if i close this popup window which is showing error message and change the printer name from 'USJC-PM03' to 'LOCL', and click on execute button,the printer name is not getting changed and still the error message is getting displayed.How to remove this error message?

  • Display Header/Footer Information while Printing WAD BI7.0

    Hello all,
    My customer requirement is not to display Header/Footer on the Portal Screen via WAD, but while Printing, they want to display the Header/Footer. Is there any properties within Web Application Designer that this is done?
    Thanks,
    Af

    Hi
    1.Use a Table inside a Container Item.
    2.In the table use Text Box( available in Miscelleaneous tab in the left) in the header and the footer
    3 Drag button group Item and in the properties internal display press the combo button
    4.Press Combo Command-> all commands->Commands for Web Templates-> export web application. Come again to Favourite comands tab -> Place the cursor over Export Web Application -> Press Next Button in the footer
    5. Here in the Item Binding tab, give item which needs to be printed
    In your Portal, you can give the query for display without this settings
    Regards
    N Ganesh

  • Error while printing the letters in Recruitment

    Hi, SAP Gurus.
    I am working on implementation of Recruitment module.I am facing a problem while printing a letter for confirm receipt, invitation for Interview etc.
    error is "Internal error in SAP OLE document container control
    Message no. SOFFICEINTEGRATION019"
    Pl suggest whether this error of customization or of BASIS.
    I want to get letters printed through std SAP system.
    Thanks in advance
    Regds
    Punit

    Hi
    make sure whether printer was connected to the system and check with basis

  • Issue while printing the BSP page haveing radio buttons.

    Hi Experts,
    I have a BSP page which has radio buttons. When i try to print the page using browser print, the radio buttons are not getting printed.
    Could someone help me regarding this.
    Thanks & Regards,
    Karthik MD

    when you use radiobutton in BSP (<htmlb:radioButton) they are rendered as images. so to get it printed , in your browser (IE) go to tools->internet options->advanced->printing and check the check box against "print background colors and images".
    now try printing it should be fine.

  • INR format while printing the check

    Hi,
    am printing the check every thing fine.
    but on check the amount is coming us language mean millions and billions.
    but i want lakhs and rupees mean print 'Ten Lakhs Rupees' not 'One million rupees"
    If knows any one how to change that please explain
    Thanks in advance
    Regards
    Vijay

    Hi
    You need to make the necessary changes in the Check Printing Form which is attached to the payment method in company code in FBZP settings,
    Make the necessary changes along with ur abap consultant.
    Hope this clarifies. ASsign points if helpful
    regards
    radhika

Maybe you are looking for