"Trip currency *** must match currency ### of total amount"

Hello T&E Experts,
We have the following scenario in T&E;
Scenario: This is related to the Amex upload (we are using the GL1025 file) for transactions happening in foreign currency. E.g. A Canadian employee travels to US and swipes his card, the Amex file captures all the details including the exchange rate to be used, when this file is uploaded
the transactions error out and we get the following message;
“Trip currency CAD must match currency USD of total amount”
We have all the currency related setting in place i.e. have maintained the exchange rate types for the combination and also the exchange
rate.
Wanted to check out with have you all faced similar issues in any of your T&E implementation and is there a configuration that we are missing to get this resolved.
Thanks in advance,
Amit Sheth

Hi Amit,
Need some clarifications on your issue.
Where you are getting this error message means in which transaction?
What is the type/structure of your Amex file using for upload?
Can you provide the exchange rate types screenshot.
For all the employees or only for specific employee, you are getting this error?
If possible, better to provide the process flow of "Data upload to Amex" which means, the from SAP system to Amex.
Regards,
Narayana

Similar Messages

  • How to calculate  forign currency total amount in sale order???

    how to convert  forign currency total amount in indian rupees on  sale order pld ???
    Edited by: VINAYAK CHA on Feb 21, 2012 1:30 PM

    Dea Srujal
    SELECT T0.[Docdate],T1.[ItemCode],T1.[U_jobno]As 'Job Card No',T1.[Quantity],T0.[CardCode],T2.[U_SP],T2.[U_MA],T2.[U_ID], T2.[U_OD],T2.[U_testfield],T0.[Docduedate]
    FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode  INNER JOIN OHEM T3 ON T0.OwnerCode = T3.empID
    WHERE T1.[U_INRPRICE]>='35,000'  And (T0.[Docdate]>='[%0]' and T0.[Docdate]<='[%1]' )and T1.[ItemCode]!='SEAL' AND T0.[DocStatus]='O'
    iam using above query  with  above formatted search as i post in previous answer.
    but still some item is missing in query
    kindly do the needful

  • TOTAL NOT MATCH SAME AS AGREEMENT AND INVOICE SUMMARY TOTAL AMOUNT

    HI ,
    my problem is,i have one project and one agreement against this project and i book invoice and credit memo and retention invoice
    In invoice summary total is 20.55 and agreement --> Invoice amount 22.oo so total is not match
    give me guidance to this is correct way invoice summary total amount and agreement --> invoice amount both are require same ?

    Hi
    On Invoice Summary form, the column Invoice Amount, shows the amount in Invoice Currency, and including taxes. Taxes are included for released invoices, which were interfaced to AR.
    In the Agreement form, the invoiced amount does not include taxes.
    Dina

  • Why the doc total amount is not matched with the total item line amount?

    Hi,
    Recently when i try to update something in sales order via my add-on, i got an error said u201CThere is a difference between the document total and its components.  [ORDR.DocTotal][line: 0] Iu201D Then i checked the sales order in SAP B1, I found the document total amount was not matched with the item line total amount. Actually the item line is quite simple, there is only one item line with qty 1. How comes the document total could be different with the amount from item line? I know the document total amount is a read-only field which is calculated automatically by SAP. This is really weird for us, we don't know how this happened.
    Has anyone experienced similar situation like mine and how this happens?
    Thanks,
    Lan

    I am having this same issue and I have additional information.
    I am on ver. 8.8 PL 16.
    Periodically (mulitiple times a week), when a Sales Order is created, the Doc Total amount is -zero- when there are clearly items that have a price associated with them. This causes an error when Adding the document. Sometimes, I can just change the quantity of one of the items, which forces the Doc Total to update.  Most of the time this does not work, though.  I end up having to restart the SAP client and then everything begins to work as it should.
    This behavior is occuring on mulitple machines in our office.
    Earlier in this thread, Rahul mentioned that they currency rounding was turned off and that this could be part of the problem.  In fact, we were having issues with Currency Rounding and did turn it off not long ago.  Rahul, can you explain better what you meant by "give the proper amount so that you can overcome the error..."
    Randy Davis
    Denver, CO
    Edited by: Randy Davis on May 16, 2011 2:01 PM

  • Set trip currency according to personnel area

    We have a consolidated worldwide operations into one company code (in the US) but this company holds many employees who reside in other countries. We have set up a personnel area for each country, although all are assigned to the US01 company code. These employees are paid in their local currency (e.g. GBP, EUR, HKD) via local payroll companies. Expenses are recorded manually via journal entry.
    I would like to set up these employees to use travel management, but I cannot find a way to set travel expenses/trip currency according to their personnel area. In other words, I wish to reimburse my UK employee in GBP, Europeans in EUR, etc. When I try to change Trip Provision Variant for one personnel area, I receive an error message and am forced to change it for all personnel areas.
    The only solution I can find is to change Global Settings such that foreign settlement of receipts is set to "per receipt". I find this to be risky since the change would affect my 300+ US users as well as my 10-20 non-US users. I am concerned that a US user may complete their receipts incorrectly for foreign trips and inadvertently force reimbursement in foreign currencies.
    Please advise ...

    Hi Michele
    Yes, you can find out the currency from T500P and then checking the WAERS in T500.
    In the screenshot above, the departure country(or home country) is Philippines and the visiting country is Singapore.
    So when the employee arrives in SG, the receipt amount is shown in SGD and a comparable amount in PHP is also shown(As the amount has be reimbursed in PHP). It automatically factors into account that day's  currency conversion rate for SGD->PHP.
    You may want to check the parameter RECEIPTS for amount in local currency in the method USER_CHECK_RECEIPTS of the BAdi : TRIP_WEB_CHECK.
    Now all you need to do is to check if the employee's home country currency isn't equal to the receipt currency(left one in the screenshot), process the local currency(right one in the screenshot). Works well for single line item.
    For multiple line items, add up the amount of local currency of all line items and process.
    NB: USER_CHECK_RECEIPTS works for multiple line items in receipt page of expense report whereas USER_CHECK_LINE_OF_RECEIPTS works when you know the receipt won't contain more than 1 expense type. So better implement USER_CHECK_RECEIPTS to avoid processing only the first line item. Company's gain, employee's pain
    Do note that this BAdi works only for portal and not for SAP GUI.
    I hope you are abap developer.

  • Total Amount before Discount do not match Row total

    Hi,
    I have this scenario for my A/R invoice. The amount in the the total (lc) column do not match with the total before discount field.
    So, when I tried to create Cm for this invoice I encountered an error: There is a difference between total and it's contents.
    What is the possible cause for this and how will I resolve this?
    Thanks!

    Hi Nelle,
    If you are create any UDF related to this calculation at row level then first remove it then check it.
    There are no any UDF created then upgrade your PL..
    Thanks,
    Srujal Patel

  • Base Currency Or Base Amount Does Not Have a Value?

    Hi
    I've received the following error on the PRC: Distribute Borrowed and Lent Amounts process: Base Currency Or Base Amount Does Not Have a Value
    Does anyone know what it means?

    Hi
    Do you have different currencies for your provider and receiver operating units?
    Is there a difference between the transaction currency Ithe expenditure item) and the receiving OU currency?
    Verify daily exchange rates exists for the relevant transaction dates.
    Dina

  • Reg Currency Description and Amount in words

    Hi
    Can anybody help me out in finding Function Module for Currency Descripton and Amount in words.
    For  Example, if currency type is <b>USD</b> and the amount is <b>29,012.50</b>
    then it should display the currency description as <b>The sum of US Dollars</b> and the amount in words as <b>Twenty Nine Thousand Twelve and Cents Fifty</b> and it should work for any currency type.
    Thanks in Advance.
    Swathi

    Hi swathi,
    Cents are not known in SAP only USD with decimal places in known.
    however check if this can solve teh problem...
    for indian currency inr use the below function module....
    HR_IN_CHG_INR_WRDS
    for usd currency use the following code as an example..
    data: amt_in type  pc207-betrg value '29012.50'.
    data: words type spell.
    data: result type string.
    call function 'SPELL_AMOUNT'
    exporting
       amount          = amt_in
       currency        = 'USD'
      FILLER          = ' '
      LANGUAGE        = SY-LANGU
    importing
       in_words        = words
    EXCEPTIONS
      NOT_FOUND       = 1
      TOO_LARGE       = 2
      OTHERS          = 3
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    concatenate 'USD' words-word 'AND' words-decword 'CENTS'
             into result separated by space.
    write:/ result.
    hope this helps,
    all the best,
    sampath
    award helpful answers

  • Trip Currency from the Scheme (TRIP, PR05)

    Hi,
    In Travel Management (FI-TV), i need to determine the currency of travel from the Scheme,
    National in local currency and international (all countries) with fixed currency (USD), I searched Exits however I find how
    to achieve.
    Tks,
    RAO

    Hi.
    I resolved to as follows: Travel Expenses > Master Data > Control Parameters for Travel Expenses > Define Global Settings in the option Settlement of Foreing Currency Repeits select Choose Between Trip Currency and Hard Currency per Receipt, This releases the two currency fields in the advance and so I can indicate manually that the currency is Dollars or currency of the Company.
    Now I can do is a validation to not allow the indication of a currency different from the dollar in the international scheme, it is easier to place it automatically currency in transactions TRIP, PR05 or PR03.
    Thank both for your help.
    RAO

  • Need help to sum up total amount in at end of.....endat!!! Please help

    Hi,
    There is one program need to calculat the SUB-TOTAL AMOUNT FOR SAME DOCUMENT NUMBER.
    Means: Need to sumup betrg for the same belnr.
    QUESTION:
    How can I write the sorce cord In AT END OF...ENDAT.
    TO SUMUP THE AMOUNT FOR SAME DOCUMENT NUMBER.
    Please help!!
    Thanks.
    Here is the sourc code.
    DATA: BEGIN OF t OCCURS 0,
            bukrs   LIKE knb1-bukrs,
    *<<<<< CR01
            zuonr   Like bsid-zuonr,                        "sort key  "CR01
    *>>>>> CR01
            belnr   LIKE bsid-belnr,
            kunnr   LIKE kna1-kunnr,
            bldat   LIKE bsid-bldat,
            budat   LIKE bsid-budat,
            netdt   LIKE bsega-netdt,
            waers   LIKE bsid-waers,
            wrbtr   LIKE bsid-wrbtr,
            shkzg   LIKE bsid-shkzg,
            xblnr   LIKE bsid-xblnr,                            "WD041005a
            sgtxt   LIKE bsid-sgtxt,
            dmbtr   LIKE bsid-dmbtr,
          END OF t.
    Description of Interface-record RECON
    DATA: BEGIN OF s,
            belnr(10),                     " document number
    *<<<< CR01 STRAT ADD ZUONR
            zuonr(10),                     "sort key  " CR01
    *>>>> CR01 END ADD ZUONR
            filler1(1),
          KUNNR(5),                      " customer no."WD290705a
            kunnr LIKE kna1-kunnr,         " customer no."WD290705a
            filler2(1),
            bldat(10),                     " date
            filler3(1),
            budat(10),
            filler4(1),
            netdt(10),                     " due date for payment
            filler5(1),
            betrg(14),                     " amount
            filler6(1),
            waers(3),                      " currency
            filler7(1),                    " document field - blank
            compcode(4),                   " company-code         "fw070905
            filler8(1),                    " comment - blank
            sgtxt(50),                     " Text             "INS MG020207
            filler9(1),
            kmmnt(30),
            filler10(1),
            vbeln(12) ,
            filler11(1),
            xblnr(16),                     "WD041005a hier Referenznr rein
            filler12(1),
            lifn2(11),
            filler13(1),                   " remark - blank
            dmbtr(14),
            filler14(1),
            twaer(3),
          END OF s.
    DATA: BEGIN OF outtab OCCURS 1000,
                s LIKE s,
          END OF outtab.
    *<<<<< INS MG020207
    TYPES: BEGIN OF ty_outalv,
             belnr(10),                     " document number
    *<<<< CR01 START ADD ZUONR
             zuonr,                         " sort key  " CR01
    *>>>>CR01 END ADD AUONR
             kunnr LIKE kna1-kunnr,         " customer no."WD290705a
             bldat(10),                     " date
             budat(10),                     " posting date
             netdt(10),                     " due date for payment
             betrg(14),                     " amount
             waers(3),                      " currency
             compcode(4),                   " company-code         "fw070905
             sgtxt(30),                     " comment
             kmmnt(30),                     " comment
             vbeln(12),                     " delivery number
             xblnr(16),                     "WD041005a hier Referenznr rein
             lifn2(11),                     " customer number
             dmbtr(14),
             twaer(3),                     " currency company code
           END OF ty_outalv.
    DATA: gt_outalv TYPE STANDARD TABLE OF ty_outalv.
    DATA: gs_outalv TYPE ty_outalv.
    *>>>>> INS MG020207
    DATA: l_date TYPE sy-datum.
    DATA: g_date TYPE sy-datum.
    DATA: g_budat TYPE bsik-budat.
    *<<<< CR01 START   ADD DATA STATEMENT
    DATA: wk_belnr LIKE bsid-zuonr,
          wk_x_belnr LIKE bsid-zuonr,
          ZUONR LIKE BSID-ZUONR,
          WRBTR LIKE BSID-WRBTR,
          WK_ZUONR LIKE BSID-ZUONR,
          WK_WRBTR LIKE BSID-WRBTR.
    *>>>> CR01 END  ADD DATA STATEMENT
    DATA: l_it_bsik TYPE STANDARD TABLE OF bsik.               "INS MG050706
    DATA: l_wa_bsik TYPE bsik.                                 "INS MG050706
    TYPE-POOLS: slis.                                          "INS MG020207
    DATA:                                                      "INS MG020207
    gt_fieldcat TYPE slis_t_fieldcat_alv,                     "INS MG020207
    gs_layout   TYPE slis_layout_alv,                         "INS MG020207
    gs_fieldcat TYPE slis_fieldcat_alv.                       "INS MG020207
    END-OF-SELECTION.
      SORT t.
      LOOP AT t.
        AT NEW bukrs.
          CLEAR anz_dl.
          CLEAR htext-anzahl.
          CLEAR htext-datei.
          htext-text1 = ' records writen in file '.
          CLEAR p_pfad.
          CONCATENATE
              i_pfad
              'CU_CC'
              t-bukrs
              sy-datum+6(2)
              sy-datum+4(2)
              sy-datum(4)
              sy-uzeit
              '.txt'
         INTO p_pfad.
          CLEAR outtab.
          REFRESH outtab.
          REFRESH: gt_outalv.                                  "INS MG020207
        ENDAT.
       IF t-shkzg = 'H'.
         h_betrg  = t-wrbtr * -1.
       ELSE.
        h_betrg  = t-wrbtr.
        h_dmbtr  = t-dmbtr.
       ENDIF.
        s-filler1 = s-filler2 = s-filler3 = s-filler4 = s-filler5 = ';'.
        s-filler6 = s-filler7 = s-filler8 = ';'.
        s-filler9 = s-filler10 = s-filler11 = s-filler12 = s-filler13 = ';'.
        s-filler14 = ';'.
        s-belnr = t-belnr.
        IF t-xblnr NE space.                                    "WD041005a
          s-xblnr      = t-xblnr.                               "WD041005a
        ELSE.                                                   "WD041005a
          s-xblnr      = t-belnr.                               "WD041005a
        ENDIF.                                                  "WD041005a
        WHILE s-xblnr(1) EQ '0'.                            "INS MG130606
          SHIFT s-xblnr LEFT.                               "INS MG130606
        ENDWHILE.                                            "INS MG130606
        WRITE t-kunnr TO s-kunnr NO-ZERO.
        s-lifn2 = s-kunnr.
        shift s-lifn2 RIGHT.
        s-lifn2(1) = 'R'.
      S-KUNNR = T-KUNNR+5(5).
        s-bldat+2(1) = '/'.
        s-bldat+5(1) = '/'.
        s-bldat0(2) = t-bldat4(2).
        s-bldat3(2) = t-bldat6(2).
        s-bldat6(4) = t-bldat0(4).
        s-budat+2(1) = '/'.
        s-budat+5(1) = '/'.
        s-budat0(2) = t-budat4(2).
        s-budat3(2) = t-budat6(2).
        s-budat6(4) = t-budat0(4).
        s-netdt+2(1) = '/'.
        s-netdt+5(1) = '/'.
        s-netdt0(2) = t-netdt4(2).
        s-netdt3(2) = t-netdt6(2).
        s-netdt6(4) = t-netdt0(4).
        s-waers      = t-waers.
        s-dmbtr      = t-dmbtr.
        s-sgtxt      = t-sgtxt.
        CLEAR s-twaer.
        SELECT SINGLE waers INTO s-twaer
                            FROM t001
                            WHERE bukrs = t-bukrs.
        IF h_betrg < 0.
          hs_betrg+0(1) = '-'.
        ELSE.
          hs_betrg+0(1) = ' '.
        ENDIF.
        WRITE h_betrg CURRENCY t-waers TO hs_betrg+1 NO-GROUPING
                                                        NO-SIGN
                                                        LEFT-JUSTIFIED.
        REPLACE ',' WITH '.' INTO hs_betrg.
        WRITE hs_betrg TO s-betrg.
        IF h_dmbtr < 0.
          hs_betrg+0(1) = '-'.
        ELSE.
          hs_betrg+0(1) = ' '.
        ENDIF.
        WRITE h_dmbtr CURRENCY t-waers TO hs_betrg+1 NO-GROUPING
                                                        NO-SIGN
                                                        LEFT-JUSTIFIED.
        REPLACE ',' WITH '.' INTO hs_betrg.
        WRITE hs_betrg TO s-dmbtr.
        s-compcode   = t-bukrs.                                 "fw070905
        IF p_downl = 'X'.
          MOVE s TO outtab-s.
          APPEND outtab.
          ADD 1 TO anz_dl.
        ENDIF.
        gs_outalv-belnr = s-belnr.                             "INS MG020207
    *<<<< CR01 START ADD as_outalv-zuonr
        gs_outalv-zuonr = s-zuonr.                             "CR01
    *>>>> CR01 EDD   ADD as_outalv-zuonr
        gs_outalv-kunnr = s-kunnr.                             "INS MG020207
        gs_outalv-bldat = s-bldat.                             "INS MG020207
        gs_outalv-netdt = s-netdt.                             "INS MG020207
        gs_outalv-betrg = s-betrg.                             "INS MG020207
        gs_outalv-waers = s-waers.                             "INS MG020207
        gs_outalv-compcode = s-compcode.                       "INS MG020207
        gs_outalv-budat = s-budat.                             "INS MG020207
        gs_outalv-sgtxt = s-sgtxt.
        gs_outalv-kmmnt = s-kmmnt.
        gs_outalv-vbeln = s-vbeln.
        gs_outalv-xblnr = s-xblnr.
        gs_outalv-lifn2 = s-lifn2.
        gs_outalv-dmbtr = s-dmbtr.
        gs_outalv-twaer = s-twaer.
        APPEND gs_outalv TO gt_outalv.                         "INS MG020207
        AT END OF bukrs.
          WRITE anz_dl  TO htext-anzahl.
          WRITE p_pfad  TO htext-datei.
          CONDENSE htext.
          IF p_downl = 'X'.
            SKIP 2.
            WRITE: / htext.
            CALL FUNCTION 'GUI_DOWNLOAD'
              EXPORTING
                filename                = p_pfad
                filetype                = 'ASC'
              TABLES
                data_tab                = outtab
              EXCEPTIONS
                file_write_error        = 1
                no_batch                = 2
                gui_refuse_filetransfer = 3
                invalid_type            = 4
                no_authority            = 5
                unknown_error           = 6
                header_not_allowed      = 7
                separator_not_allowed   = 8
                filesize_not_allowed    = 9
                header_too_long         = 10
                dp_error_create         = 11
                dp_error_send           = 12
                dp_error_write          = 13
                unknown_dp_error        = 14
                access_denied           = 15
                dp_out_of_memory        = 16
                disk_full               = 17
                dp_timeout              = 18
                file_not_found          = 19
                dataprovider_exception  = 20
                control_flush_error     = 21
                OTHERS                  = 22.
            IF sy-subrc <> 0.
             write: / 'Error creating File:', P_Pfad, sy-subrc.
              MESSAGE e405 WITH text-002 p_pfad.
            ENDIF.
          ENDIF.
    *<<<<< INS MG020207
          IF p_alvd EQ 'X'.
            PERFORM build_layout_data.
            CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
              EXPORTING
                i_callback_program     = sy-repid
                i_structure_name       = 'GT_OUTALV'
                is_layout              = gs_layout
                it_fieldcat            = gt_fieldcat[]
                i_callback_top_of_page = 'TOP-OF-PAGE'
              TABLES
                t_outtab               = gt_outalv.
          ENDIF.
    *>>>>> INS MG020207
    ENDAT.
      ENDLOOP.

    HI
    Have alook at below program
    *& Report  ZINTERNALTABLE
    REPORT  zinternaltable.
    TYPES:BEGIN OF itab,
          num TYPE i,
          name(10) TYPE c,
          amt type i,
          END OF itab.
    DATA : wa_itab TYPE itab,
           it_itab TYPE STANDARD TABLE OF itab.
    DATA : v_lines TYPE i.
    wa_itab-num = 1.
    wa_itab-name = 'nag'.
    wa_itab-amt = 1000.
    append wa_itab TO it_itab.
    wa_itab-num = 1.
    wa_itab-name = 'nag'.
    wa_itab-amt = 2000.
    append wa_itab TO it_itab.
    wa_itab-num = 1.
    wa_itab-name = 'nag'.
    wa_itab-amt = 1500.
    append wa_itab TO it_itab.
    wa_itab-num = 2.
    wa_itab-name = 'sri'.
    wa_itab-amt = 500.
    append wa_itab tO it_itab.
    wa_itab-num = 2.
    wa_itab-name = 'sri'.
    wa_itab-amt = 600.
    append wa_itab TO it_itab.
    wa_itab-num = 2.
    wa_itab-name = 'sri'.
    wa_itab-amt = 700.
    append wa_itab TO it_itab.
    wa_itab-num = 3.
    wa_itab-name = 'ganesh'.
    wa_itab-amt = 1200.
    append wa_itab TO it_itab.
    wa_itab-num = 3.
    wa_itab-name = 'ganesh'.
    wa_itab-amt = 1300.
    append wa_itab TO it_itab.
    wa_itab-num = 3.
    wa_itab-name = 'ganesh'.
    wa_itab-amt = 1400.
    append wa_itab TO it_itab.
    wa_itab-num = 4.
    wa_itab-name = 'suresh'.
    wa_itab-amt = 900.
    append wa_itab TO it_itab.
    wa_itab-num = 4.
    wa_itab-name = 'suresh'.
    wa_itab-amt = 300.
    append wa_itab TO it_itab.
    sort it_itab.
    LOOP AT it_itab INTO wa_itab.
    at first.
    write :/ 'details of sales order:'.
    uline.
    endat.
    at new num.
    write :/ 'serial num:', wa_itab-num.
    uline.
    endat.
    WRITE :/ wa_itab-num , wa_itab-name , wa_itab-amt.
    at end of num.
    uline.
    sum.
    write :/ 'total amount:',wa_itab-amt.
    uline.
    endat.
    at last.
    sum.
    uline.
    write:/ 'grand total:',wa_itab-amt.
    endat.
    ENDLOOP.
    describe table it_itab lines  v_lines.
    WRITE:/'no of records :', v_lines.
    Regards
    Nagesh.Paruchuri

  • PO HEADER LEVEL의 TOTAL AMOUNT 계산 LOGIC

    제품 : MFG_PO
    작성날짜 : 2004-10-13
    PO HEADER LEVEL의 TOTAL AMOUNT 계산 LOGIC
    ==========================================
    PURPOSE
    Purchase Order 화면의 Header level에 보여주는 Total Amount 계산 logic을
    알아본다.
    Explanation
    Purchase Order 화면에서 PO를 입력하거나 조회해 본 사람은 PO Header level
    에 보이는 Total amount 값은 어느곳에도 저장되지 않는다는 것을 확인 할
    수 있을 것이다.
    이 header level total amount 계산 logic은 다음과 같다.
    1.Purchase Order 화면에서 price와 quantity가 입력될 때 POXPOPOL.pld에
    있는 maintain_po_total이 불려진다.
    이 maintain_po_total procedure는 line amount를 뿌려주기 위해 line에
    정의된 quantity와 price를 고려한다.
    이 line amount sum 되고, header total에 뿌려준다.
    sum(round((quantity*unit_price),precision))-> Header_total
    2.PO를 query 할 때 header amount를 조회하기 위해 POXCOCOB.pls의
    po_core_s.get_total procedure가 불려진다.
    아래의 query가 PO header level total amount 계산을 하게 된다.
    SELECT sum(round((pll.quantity - nvl(pll.quantity_cancelled,0))*
    nvl(pll.price_override,0),x_precision))
    FROM PO_LINE_LOCATIONS PLL
    WHERE PLL.po_header_id = <<po_header_id>>
    AND PLL.shipment_type in ('STANDARD','PLANNED','BLANKET')
    여기에서 precision은 PO.(PO Currency = Functional Currency)에서 사용
    되는 것으로 fnd_currencies에 정의된 currency이다.
    Example
    Reference Documents
    Note 226697.1

    Thought so.
    And therein lies your problem.
    You should avoid updating Oracle tables directly unless you are 100% sure that no relationships are getting violated.
    Updating po line price should be done via interface. I would suggest that you use the po documents interface to change the po line prices. Then you will see the header totals get updated automatically.
    Hope this answers your question
    Sandeep Gandhi
    Independent Consultant
    513-325-9026

  • Convert total amount into words

    Hi
    My requirement is to convert total amount into words.
    For this i used function module SPELL_AMOUNT.
    But its giving wrong (i.e. problem is in the paise).
    I tried with other function module also, its not giving output.
    how i can get exactly correct output.
    Reward points if helpful.

    Hi
    execute this code .
    REPORT  ZCOVERTION.
    TABLES SPELL.
    DATA : T_SPELL LIKE SPELL OCCURS 0 WITH HEADER LINE.
    DATA : PAMOUNT LIKE SPELL-NUMBER  VALUE '23.45'.
    SY-TITLE = 'SPELLING NUMBER'.
    PERFORM SPELL_AMOUNT USING PAMOUNT 'USD'.
    WRITE: 'NUMBERS', T_SPELL-WORD ,'and', T_SPELL-DECWORD.
    FORM SPELL_AMOUNT USING PWRBTR PWAERS.
      CALL FUNCTION 'SPELL_AMOUNT'
           EXPORTING
                AMOUNT    = PAMOUNT
                CURRENCY  = PWAERS
                FILLER    = SPACE
                LANGUAGE  = 'E'
           IMPORTING
                IN_WORDS  = T_SPELL
           EXCEPTIONS
                NOT_FOUND = 1
                TOO_LARGE = 2
                OTHERS    = 3.
    ENDFORM.                               " SPELL_AMOUNT
    Hope this will solve ur problem
    Thanks
    Krushna
    oputput:

  • Total amount in Cash Journal printout is different

    Hi Gurus,
    When we print the cash journal, the total amount field is not showing the total amount. It is showing first line item amount as total amount. How to fix this issue. Pl help.
    Thanks.
    Irene

    Hi,
         Go to FBCJC3 transaction 1. SO10, open necessary text for editing.
    2. Menu Insert - Symbols - Program symbol.
    3. Select program RFCASH00 (or add it in the list)
    4. Press DDIC fields.
    5. Select RFCASH (double-click) and then SALDO. Also there are other fields, like cash journal currency.  OR
    use opening and closing balance like in program RFCASH20.
    Regards
    Sridhar

  • PO: Rounding of Total Amount

    Hi SAP Experts,
    We are encountering a problem with regards to the printing of Total Amount PO. In the break down of each item, the amount is correct. But when it comes to the total amount, the value is rounded to the next cent (local currency).
    Ex.
    Qty    Unit Price    Amount
    3     1,249.25 / 1   3,747.75
    Total       <b>3,747.76</b>
    Can you give us some tips on how to correct this discrepancy?
    Hoping for your immediate reponse.
    Thanks and regards,
    Pat

    Please check the data type of amount and total.
    I guess you are using PO Form medruck and Print program : SAPFM06P.
    If you want to print amount value same as total or vice versa..
    you need to copy program to zprogram,check the text element in main window,if you see print program some where they are calling in write-form.
    here you need move value to one variable,use that vaibale in your layout.
    Thanks
    Seshu

  • Smartform: total amount conversion to Japanese language

    Hi all,
    I am facing an issue in the smartform with the japanese language. The total amount which is calculated and dispalyed on the form is not translated to the japanese language. All the other quantity and value fields on which no manipulation is performed are successfully translated.
    Like for 1 item the value is 1,000 JPY
    2 item value is 1,000 JPY,
    The total value GV_TOTAL = value of item 1 + value of item 2
    Now this GV_TOTAL is displyed as 20.00 JPY
    Can anyone help as to how can we display the Total value correctly on the form in japanese?
    Thanks in advance.
    Regards,
    Pakhee

    Whatever the Curreny you can convert the amount to the corresponding currency by using
    WRITE <source>TO <dest>CURRENCY <currency field>.
    This will ensure you always you are printing the total value with appropriate currency.
    Thanks
    Mani

Maybe you are looking for

  • Is there any way to stop the top from scrolling left in the iTunes store?

    The top part of the iTunes store...where it lists new stuff keeps swiping left.  It's driving me crazy!  How can I stop it?

  • Pismo does not boot after replacing hard drive

    We have had an old Pismo for several years now. Two or so years ago we decided to replace the stock 6GB hard drive, which was getting full, with a new 60GB drive. We cloned the old drive via target disk mode, popped in the new drive, copied the data

  • Line Item postings in PCP0

    Hi, can anyone give me an idea where can we configure  the settings for display of Line items of G/L accounts  in PCP0 We have the requirement where we need to  change the GL accounts X and y.At present they  both post a single line per individual .T

  • ABAP proxy to HTTP sycnchronous scenario.

    Hi All, I have an ABAP proxy to HTTP syncronous scenario in which the proxy through PI makes an HTTP request to a third party to download a PDF.Once the PDF is sucessfully downloaded we need to send an acknowledgement to ECC system that the download

  • Remote App with ATV died

    I just updated my Ipod Gen 1 with 3.0, and updated remote...along with updating my ATV to 2.4. Now, my Apple TV will not see the ipod remote! It used to work fine before, I changed nothing on my network. I use a TC on N for my macbooks and ATV. I use