Sapscript - print negative amounts

Hi,
we have a sapscript solution for printing the content of amount items; they are defined with NETWR or KWERT data element (CURR 13/15,2). When we print negative values the format is "x,y-", with the less sign after, but now it is asked to have the format "-x,y", with the less sign before. (ex. AS IS: 123,45- => TO BE:-123,45)
I'm looking for the less impact possible solution, any idea?
Thank in advance for every suggestion.
Umb.
Moderator Message: FAQ. Wrong forum. Please search before you post.. in the right forum.
Edited by: kishan P on Jan 19, 2011 4:41 PM

I believe you have posted this question in the wrong forum.  There is an ABAP Forms Printing Forum.

Similar Messages

  • How to print total amount in last page of purchase orde using xml publisher

    Hi
    I customizing purchase order report using xml publisher.
    i have to print total amount at last every purchse order.
    how to compare carry forward amount in xml publisher

    I think the guys overhere :
    BI Publisher
    can help you a lot better

  • Negative amount in sales order

    Dear experts,
    We are in support project,
    ours is order related billing,
    we get a error message in a sales order, when we enter a base value is "zero", and add a discount in the same sales order with absolute amount which is a negative value,
    this displays a error message as "negative amount is not allowed", then sales order is terminates, we do not able to save the sales order,
    however the user forwards me a successful case, the  sales order created with negative value and subsequent invoice for that sales order,
    when i check it from my side,the same error flows, when i tend to go item level,when i view document floe the sales order and invoice is created.
    Please guide me to control this error message.
    Regards
    baalakrushnan.da

    Hi,
    In the condition type for price,there is a field for pricing procedure check which pricing procedure is assigned there.In the standard condition PR00 there will be PR0000,check in ur pricing condition,i think the terminating of the sales order and negative value may be bacause of that,or if due to the validity date of the pricing condition.
    Regards,
    Ramesh.

  • Dealing with negative amounts in payment proposal runs in f110

    Hi Techies,
    In the payment proposal run through f110 transaction is it possible to raise an exception and show the negative amounts seperately?

    Dear Ashok,
    The scenario is that during the payment proposal run,
    if there are two amounts with different due dates, say
    10.07.2008     8900 euros to pay
    20.07.2008     -800 euros ( the total of the documents at this due date is minus than zero)
    Now the program gives one record which says 8100 euros to pay.
    But our requirement is that, insted of displaying a single record that adds up the amounts, the negative amount is to be shown seperately like this:
    Due date      10.07.2008     8900        euros to pay
    Due date     20.07.2008      -800     Exceptions
    As this is a standard SAP functiionality, i would like to know any possible ways to achieve this requirement.
    Regards,
    Madhuri

  • How do I Credit Note negative amount line item in Invoice

    Hi Experts,
    I have an AP Invoices that have a negative line item total.
    Now that I realize there is something wrong with this AP Invoice, I will like to CN it. But I was stopped by SAP, because I cannot CN a negative amount line item.
    Can anyone advice me how can I Credit Note (in any sense) this negative line item?
    Much Thanks!
    Warmest Regards,
    Chinho

    Hi Chinho,
    I believe this functionality is to be made available in version 8.8. The SAP workaround for 2007 is:
    To cancel an invoice with negative line, please use the workaround as
    per below:
    1. For the rows with the positive Row Total, create an "independent"
    Credit Memo (not based on an Invoice).
    2. For the rows with the negative Row Total, create another Invoice
    with a positive Row Total opposite to the original negative Row,
    and reconcile between the two rows manually via Internal
    Reconciliations. (This option is available in Banking module in
    2005 version and in Business Partner module in 2007 version.)

  • Cannot create AR Invoice negative amount with WithHolding Tax negative amount via DI API

    Hi All,
    I tried to create AR Invoice Document via DI API, but with negative amount and negative withholding tax amount.
    Document added successfully, but when i open the document in SAP, and i open WTax Table information, withholding tax amount become zero,
    Please see image below.
    But when i add the same document through SAP Screen, i can fill WTax Amount with negative amount.
    SAP Version 9.0 PL 5
    Please kindly help,
    Thanks
    Best Regards
    Siddharta

    Hello.
    If this is different to the behavior of the B1 application it should be considered a bug - like any such difference between DI API and app.
    HTH

  • SAPscript printing (Works Fine in Preview, Disappear in Print Out)

    Dear Guru,
      i have a problem in SAPscript printing, especially i use ULINE(90) inside forms,  it's works fine in Preview, but when i print it out after 89 of ULINE showed, it's show blank area and the 90th uline appear in next line.
    any expert in this area can tell me what happen?
    thanks.
    Howard

    Hi Howard,
    this is printer problem.
    Appart from regular settings we have left margin and right margin settings for printer.
    If you rememmber we can do this setting if we print MS WORD document.
    There is no setting available in SAP.
    So solution is to increase right margin on your laout and try to fit your contents in same.
    The preview is dependening on device type in SAP so u get previeew right.
    Hope this will help.
    Thanks,
    Dhiraj.

  • SAPScript - Print Preview 2 Pages - Physical Print overlap as 1 Page

    HI Experts,
    I have a problem with Invoice SAPScript Printing - where the print preview is good with 2 Pages,
    But when it physical prints out - Only 1 page and overlapping the Second page content to the first.
    Any idea where did I miss out?
    Thank you in Advance.
    Regards,
    CWLIM

    HI ,
    Sheelesh  is right.
    I had both SAPScript and Smartform issue with the overlapping printing.
    What you need to do is to check your page format to see if it is the correct size for the specific printer.
    If it is too big for the printer paper size - it will overlap the printing as 1 page.
    For example : A4 Lanscape printing on normal HP Laser Printer - DINA4 Landscape should be used.
    Or at least when you define your own page format - refer to the correct size and orientation.
    HOpe this helps.
    Thank you all

  • SAPscript print program for multiple pages

    Hello friends,
    How to write SAPscript print program for multiple pages? please help me.
    Thanks and regards,
    Shivanand.

    I believe you have posted this question in the wrong forum.  There is an ABAP Forms Printing Forum.

  • Sort negative amount in webdynpro ABAP (EHP5)

    Hello,
    We ahve recently installed EHP5. We are now re-implementing Enterprise Compensation Management (ECM) with the new WebDynpro ABAP MSS iViews.
    We have the following issue: one of our column in the compensation planing iView displays positive and negative amounts. the problem is that when we sort this column (ascending or descending), the negative amounts do not appear in the correct order. This is an example how it comes:
    6,050.05
    7,159.59
    8,910.65
    8,980.85
    1,707.10-
    10,110.90
    13,644.30
    16,645.69
    17,135.79
    2,013.95-
    anyone having the same issue?
    Many thanks
    Lucas

    Hello Lucas,
    the numeric content of the relevant columns is interpreted as 'String-like' and sorted in that way, i.e.
    the digits of a number are compared to the digits of another number from left to right. This leads to wrong sorting results as the amount of digits a number consists of is not equal for each number within the same column. Usually issues like this occur if the function module which supplies the content marks the column as sortable (COLTYPE = 'SORTABLE'  but only table COLUMN_CONTENT is filled. Columns marked as SORTABLE which don't contain content that can be sorted 'straight foreward' by
    comparing the characters of one column entry to another from left to right MUST supply a second table SORT_COLUMN_CONTENT which contains the content converted in a sortable way. In your case table SORT_COLUMN_CONTENT must be filled with the numbers enriched with leading zeros, i.e. 000009270000 instead of 92,700.00 which is the 'display value'. please check if correct SORT_COLUMN_CONTENT is provided.
    If this is the case,
    Otherwise please provide correct SORT_COLUMN_CONTENT Further Information about sorting of columns can be found in the Configuration Guide for the Object- and Dataprovider on the Service Market Place (http://service.sap.com/mss).
    Best Regards,
    Deepak.

  • Paymont form via fpl9 for negative amount

    Hi,
    our customer wants to generate a payment form also when the account balance of the customer is negative.
    however, I'm getting an error message that:
    Creation of payment form not possible, amount is negative
    Message no. >6397
    Thanks,
    Vered

    Hi Vered,
    If I'm not mistaken (and I don't think I am ), that message comes from Function module FKK_SAMPLE_0756 - "FI-CA Correspondence - Sample Module for Payment Form Request".
    To override this bit of SAP standard logic, to the very least you'd have to program and assign in FQEVENTS own function module (without the check on negative Amount) to FI-CA Event 0756. We don't have payment forms for negative amounts in our system, but I believe it's doable - the rest of standard logic should function OK with negative payment amount.
    cheers,
    Janis

  • Purchase order approvals for Negative amount

    Hello All,
    Want your assistance on the above mentioned topic.
    We have a business requirement to have Purchase order approvals for Negative amount. I understand from the Below SAR that JD Edwards 9.1  doesn't support PO approvals on Negative amount
    Bug 11022294 : APPROVAL ROUTES FOR DEBIT MEMO - SAR: 8940968
    Appreciate if you can suggest best practice or workaround to meet this requirement.
    Thanks & Regards
    Nikhil M. Pawar.

    Dear Ashutosh,
    Couple of points from my side. We have a similar scenario at a client where I am working. In construction, there are three stages.
    a) Practical Completion
    b) Partial Completion and
    c) Final Completion.
    In the case above, you are not deducting an amount from existing PO, you would be applying a penalty on the Vendor for Failure for not meeting the Practical/Final Completion Certificate requirements. Based on the legal understanding, usually the penalty may vary above and beyond of 10% of value of work not done/ delivered. (This is company to company)
    So we establish that the scenario above is not a case for PO, but for Penalty. Now penalty in construction business again is of three types (My understanding again from experiences)
    a) Time/Schedule based penalty - Levied on vendor due to delays (Ranging for 100 SAR/ Day to 400 SAR/Day - if you are in Saudi)
    b) Cost/ Quantity Based penalty - Deviation from Standard Plan/ over consumption against budgeted quantity in Bill of Ladding
    c) KPI/ Quality Based Penalty - This can be a levied for number for reasons, including non completion of agreed deliverable in Contract. (This can be even 150% of contract value)
    Now, penalty is a revenue to the Organization so this needs to be accounted differently. You apply a Penalty against a PO and create a Debit memo and show the penalty as revenue in the books. This cannot be done if this is entered as a PO.
    So, my point is, you need a customization to capture the penalty and apply it against the PO and account it as a debit memo in Finance side.
    Please let me know your thoughts, I will be glad to hear if I need to be corrected.
    Rgds,
    Abhi

  • Migrating SAPscript print program to Smartform

    hello everyone,
    Requirement is to print transfer orders. Current functionality supports SAPscripts and its print program. Since we are going to be using Smartforms, I need to change the print program so that it calls the custom smartform created by me.
    Can anybody help me out by telling me a step-by-step process as to WHERE and WHAT changes I can do in the SAPscript print program so that I can use it for my Smartform?
    The SAPscript print program that needs to be changed is: RLVSDR40.
    Thanks in advance.
    Regards,
    Fred.

    Hi Fred,
    The system does not migrate the print program (data retrieval) or the form logic contained in the print program. You must make the required changes to the respective print program yourself. PL take a look at the following
    <a href="http://help.sap.com/saphelp_47x200/helpdata/en/9d/9599386185c064e10000009b38f8cf/frameset.htm">SAP help</a>
    Regards,
    Suresh Datti

  • Sapscript printing only the last value

    Hello,
    Im currently coding subroutine for medruck.. My problem is sapscript is only printing the last value of the item for all items.. For example:
    Item # 1    10 pcs  10,000.00
    Item # 2     5 pcs   10,000.00
    Item # 3     5 Pad  10,000.00
    where actually the value of item 1 and item 2 is not 10,000.. sapscript prints only the price of item # 3 for the  first two items.. here is my code..
      TABLES: konv, ekko, ekpo.
      DATA: BEGIN OF tab OCCURS 0,
          brtwr LIKE ekpo-brtwr,
          ebelp LIKE konv-kposn,
          ebeln LIKE ekko-ebeln,
          knumv LIKE ekko-knumv,
          kbetr LIKE konv-kwert,
    END OF tab.
      DATA: sum TYPE p DECIMALS 2, gross TYPE p DECIMALS 2, val(16) TYPE c, d_knumv LIKE ekko-knumv, tab1 LIKE tab, val1(20) TYPE c,
            ext TYPE p DECIMALS 2, val2(20) TYPE c, extend TYPE p DECIMALS 2.
      REFRESH: tab.
      READ TABLE in_tab INDEX 1.
      CHECK sy-subrc = 0.
      SELECT brtwr ebelp ebeln FROM ekpo INTO TABLE tab WHERE ebeln = in_tab-value.
      LOOP AT tab.
        AT NEW ebelp.
          tab-kbetr = 0.
          ext = 0.
        ENDAT.
        SELECT SINGLE knumv FROM ekko INTO tab-knumv WHERE ebeln = tab-ebeln.
        SELECT SINGLE kbetr FROM konv INTO tab-kbetr WHERE knumv = tab-knumv AND kposn = tab-ebelp                                AND kschl = 'ZDEL'.
        ext = tab-brtwr + tab-kbetr.
        AT END OF ebelp.
          READ TABLE out_tab INDEX 1.
          WRITE ext TO val.
          out_tab-value = val.
          MODIFY out_tab INDEX 1.
        ENDAT.
        CLEAR: tab.
      ENDLOOP.
    i used this code using abap only and it work. there seems to be a problem in sapscript.. Thank u for the help guys..
    Thanks,
    JP

    put ur write_form with in loop...
    loop at itab.
      write_form..
          element = 'ddd'
    endloop.
    in script check ...
    check wheather element is specified there r not
    /e  ddd.
         &itab-   &  &itab-  &

  • Negative amount in the open deliveries field

    Hi All
    Iu2019ve also come across a negative amount in the open deliveries field on the business partners master data screen but there are no open deliveries no orange arrow to click on and it's grayed out for this selected business partner could anybody help with how to fix this issue.
    Regards
    Ronald

    Hi,
    Please run the detect query mentioned in the Note No. : 999124 and if it returns and result, you need to open a support ticket on the portal to get the issue investigated.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

Maybe you are looking for

  • Can I backup an External Hard Drive using Time Machine and Time Capsule?

    I have a Powerbook G4 with Mac OS X 10.5.2 and use an external hard drive *all the time*. I'd like to use Time Machine and my new 500GB Time Capsule to back it up along with the internal hard drive. Can I do this? Thanks for your help.

  • Problem with adobe reader while faxing a pdf document

    hi all i am working with a windows application (.net windows service) to fax pdf documents periodically. when i started the service the first time the document was sent and next time onwords it is not at all sending fax . when i restarted the system

  • Is it possible to print a spread as single pages?

    The file was created in InDesign CS5 and has to be saved as a .pdf. I want to view all of the spreads in the .pdf, but actually print them as single pages.

  • Click wheel does'n turn off

    hi, one week ago i bought an ipod nano (4gb, red product limited edition) from apple online store and yesterday i noticed that my click wheel doesn't turn off when i hold play button pressed. actually it looks like my ipod only turns off screen(not o

  • XML Flight Finder Sample - Again

    Oracle XSQL Servlet Page Processor 1.0.0.0 (Production) XSQL-007: Cannot acquire a database connection to process page. Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135290880)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4)))) i stil