Transaction Currency Tables

Monthly wise GL Balances ( DEBIT , CREDIT Separately) in Transaction currency tables i required if any body knows pls  help me.

HI anu,
The transaction currency tables are  KEKO , BKPF , BSEG
        Changing quantity into debit or credit
          IF wa_bkpfbseg-shkzg = 'H'.
            wa_bkpfbseg-wrbtr = ( -1 * wa_bkpfbseg-wrbtr ).
            wa_display-wrbtr  = wa_bkpfbseg-wrbtr .
          ELSE.
            wa_display-wrbtr = wa_bkpfbseg-wrbtr.
          ENDIF.
if the BSEG table if wa_bkpfbseg-shkzg = 'H'. that means it is credit amount
else
it is debit amount.
    Fetching quantity and amount in FI from BSEG table against entries
    in BKPF table
Regards,
Prabhudas

Similar Messages

  • Transaction Currency Tables which will give totals only

    Transaction currency purpose  bseg, bkpf, bsis, bsid contain document wise details hence will not be useful for my purpose,   i need a table which will give transaction currency  totals only.

    Hi Anu,
    I am unable to understand your exact requirement as if you need total of any transaction currency then there must be a criteria for the same like one want to add all currencies monthly/annually/weekly for reporting purpose and in this case you have to write a report and add currencies.No tables can hold such calculative recordes.
    Please elaborate more so I can u'stand requirement.
    Regards,
    Gaurav

  • Error in transaction currency while posting GL open items

    Hello,
    I have made an LSMW template to upload GL open items data; the flat files are perfectly getting converted but while uploading, I encounter error messages stating;
    Message type      Message ID           Message No             Message Text
    E                             RW                         609     [FI]:Error in document: BKPFF $ <CLNTNAME>
    E               F5                          702     [FI]:Balance in transaction currency
    Please help me resolve this issue.
    Thanks,
    Zahack

    Well Salil,
    Thanks for your reply;
    Actually; i got to manually assign -1 for the next line item for credit; for that I got to go to 5th step of LSMW; at WRBTR field; I had to run a select from tbsl table to check for bschl and shkzg fields; and then make an if; whether shkzg is 'H' - Credit type; if it is then bbseg-wrbtr = bbseg-wrbtr * -1. This resolved the issue.
    Well, this can also help developers working with the GL open items.

  • Error FI/CO interface: Balance in transaction currency from BAPI BAPI_ACC_DOCUMENT_POST

    Hi All,
    We are facing error FI/CO interface: Balance in transaction currency from BAPI BAPI_ACC_DOCUMENT_POST.
    This error we are getting only in case of passing tax data.
    Can anyone help me on this.
    Below is the code :
       *fill header
    gd_documentheader-username   =  sy-uname.
    gd_documentheader-header_txt = 'Test'.
    gd_documentheader-comp_code  = p_ccode.   "SQ
    gd_documentheader-doc_date   =  sy-datum.
    gd_documentheader-pstng_date =  sy-datum.
    gd_documentheader-doc_type   = 'KR'.
    gd_documentheader-ref_doc_no = p_xblnr. "SQ
    *gd_documentheader-bus_act = 'RMWE'.
    city = p_city.
    state = p_state.
    zipcode = p_zip.
    *get tax juridisction code
    IF NOT ( city     IS INITIAL ) AND
       NOT ( state    IS INITIAL ) AND
       NOT ( zipcode IS INITIAL ).
      SELECT SINGLE rfcdest INTO ttxd-rfcdest FROM ttxd
       WHERE kalsm = 'TAXUSX'.
      CLEAR x_com_jur.
      REFRESH t_com_jur.
      x_com_jur-city     =  city.
      x_com_jur-state    =  state.
      IF zipcode+5(4) EQ space.
        zipcode+5(4) = '0000'.
      ENDIF.
      CONCATENATE zipcode+0(5) '-' zipcode+5(4)
             INTO x_com_jur-zipcode.
      x_com_jur-country  = 'US'.
      CALL FUNCTION 'RFC_DETERMINE_JURISDICTION'
        DESTINATION ttxd-rfcdest
        EXPORTING
          location_data    = x_com_jur
        IMPORTING
          location_err     = x_com_err
        TABLES
          location_results = t_com_jur.
      IF sy-subrc = 0.
        READ TABLE t_com_jur INTO x_com_jur INDEX 1.
        it_accountgl-taxjurcode =  x_com_jur-txjcd.
      ENDIF.
    ENDIF.
    *fill AP (line 1) - vendor related data
    SELECT SINGLE zterm FROM lfb1 INTO p_zterm WHERE lifnr = p_lifnr.
    it_accountpayable-itemno_acc = 1.
    it_accountpayable-tax_code = p_txcd.
    it_accountpayable-pmnttrms   = p_zterm. "SQ
    it_accountpayable-vendor_no  = p_lifnr. "SQ
    *it_accountpayable-item_text = 'S2P Testing in UDR1'. - SQ
    it_accountpayable-pymt_meth = p_pmet. "- SQ
    APPEND it_accountpayable.
    *fill GL (line 2)
    it_accountgl-itemno_acc      =  2.
    *item_text - sq
    IF p_asset IS NOT INITIAL.
      TABLES : anlz,
               anla.
      SELECT SINGLE * FROM anlz  WHERE anln1 = p_asset.
      SELECT SINGLE * FROM anla WHERE anln1 = p_asset.
    *concatenate '00' anla-KTOGR into it_accountgl-gl_account .
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = anla-ktogr
        IMPORTING
          output = it_accountgl-gl_account.
      it_accountgl-asset_no = p_asset.
      it_accountgl-sub_number = '0000'.
      it_accountgl-cs_trans_t = '105'.
      it_accountgl-acct_type = 'A'.
    ELSE.
      it_accountgl-gl_account      = p_gl.
      it_accountgl-costcenter      = p_cc.
      it_accountgl-wbs_element     = p_posid.
    ENDIF.
    it_accountgl-comp_code       = p_ccode.
    it_accountgl-tax_code = p_txcd.  "SQ
    it_accountgl-pstng_date      =  sy-datum.
    it_accountgl-fisc_year       =  sy-datum(4).
    APPEND it_accountgl.
    CLEAR it_currencyamount.
    *fill currency ammounts for lines 1 & 2
    it_currencyamount-currency    = p_waers.  "SQ
    it_currencyamount-itemno_acc  = 1.
    *it_currencyamount-amt_base =  -1.
    it_currencyamount-amt_doccur  = - 116. "p_totamt.
    it_currencyamount-CURRENCY_ISO = 'USD'.
    it_currencyamount-tax_amt  = - 16.
    APPEND it_currencyamount.
    CLEAR it_currencyamount.
    it_currencyamount-itemno_acc  = 2.
    it_currencyamount-currency    = p_waers.  "SQ
    it_currencyamount-amt_doccur  = 100.
    it_currencyamount-CURRENCY_ISO = 'USD'.
    *it_currencyamount-amt_base =  100.
    *it_currencyamount-TAX_AMT =  -10.
    APPEND it_currencyamount.
    *tax data
    it_accounttax-itemno_acc = 3.
    it_accounttax-tax_code = p_txcd.
    it_accounttax-gl_account = '0023110000'.
    *it_accounttax-gl_account = p_gl.
    it_accounttax-TAXJURCODE = x_com_jur-txjcd.
    it_accounttax-acct_key = 'NVV'.
    it_accounttax-cond_key = 'XP2I'.
    **it_accounttax-direct_tax = 'X'.
    APPEND it_accounttax.
    CLEAR it_currencyamount.
    it_currencyamount-itemno_acc  = 3.
    it_currencyamount-currency    = p_waers.  "SQ
    it_currencyamount-amt_doccur  = 16.
    it_currencyamount-CURRENCY_ISO = 'USD'.
    it_currencyamount-amt_base =  100.
    it_currencyamount-TAX_AMT =  - 16  .
    APPEND it_currencyamount.
       CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
      EXPORTING
        documentheader          = gd_documentheader
    IMPORTING
       obj_key                 = wa_obj_key
      TABLES
       accountgl               = it_accountgl
    *   ACCOUNTRECEIVABLE       =
       accountpayable          = it_accountpayable
       accounttax              = it_accounttax
        currencyamount          = it_currencyamount
    *   CRITERIA                =
    *   VALUEFIELD              =
    *   EXTENSION1              =
        return                  =  it_return
    COMMIT WORK.
    Regards,
    Priyaranjan

    Hi,
    Reason 1:
    An revenue-recognition-relevant item has several active conditions whose values cancel themselves so that a net item value of 0 results. The conditions have both the same revenue account (SAKN1) and the same clearing account (SAKN2).
    For these conditions, the system writes a line with value 0 into the temporary FI/CO interface (internal tables: CACCIT, CACCCR). If table VBREVK does not contain control lines for this line, no further processing occurs and the line remains in the temporary FI/CO interface. Then the system reads this line for the creation of the next billing item which conatins a net value and generates a posting line with value 0. As a result, there is a balance in the FI/CO interface, and the billing document cannot be transferred.
    Reason 2:
    The billing document contains at least one item with an item category for which there is a setting stipulating that the values of this item should not be transferred to the header total of the document.
    That is, in the maintenance of the item categories, this item category has the characteristic 'X' or 'Y' in 'Statistical value' field.
    Reason 3:
    Case: Billing document contains items without pricing conditions.
    Then, on release to accounting, error RW022 occurs.
    regards,
    Saju.S

  • GLPCA- TSL - 1KEJ - Missing transaction currency values

    Hello all, i hope you can help me out.  We still have a part of our company on 3.1H and we have a little problem.  We have a report that looks at the GLPCA table and needs to get the Transactional currency amount TSL.  However it looks like all the transaction dealing with transaction 1KEJ - Profit Center- Transfer WIP, the values do not get generated with a transactional currency amount.  Now i am not sure if it is a configuration issue or if that is the way it processed back in the 3.1H days, but i just need to know, if i have to make changes so we aren't relying on the TSL field for values in GLPCA.
    Thanks,
    Sean

    Check contolling area settings in Transaction 0KE5 (field TKA01-PCATRCUR). Take into account the data volume if you are still using 3.1H.
    Additionally if you already have data in tables GLPCA/GLPCT then you will need to run transaction 1KE8 (with reversing check box ticked, additionally consider checkbox transfer MM,SD etc) BUT be careful of data volume if you have already updated PCA with your CoCodes transactions for many months or with many transactions. 1KE8 will reverse the current PCA document and then repost a new PCA document with your new configuration settings. You can run 1KE8 in test mode.
    I am not sure whether 0KE5 settings will solve your problems but worth a look.
    These transactions are for 46C onwards as its been a long time since using 31H for me. Award points if useful.

  • ICR and transaction currency in Special ledger

    Hi,
    We are implementing ICR and have a problem related to accounts with flag 'only balance in local currency'.  These are updated in special ledger used by ICR tool with amounts only in local currency, meanwhile we have to reconcile in document currency. I found OSS 7626 (Transaction currency in FI-SL), which seems to propose a workaround solution, but entering transaction GCI4 the table is not changable. Is this note still applicable? Has anybody other suggestions?
    Thanks a lot.
    Kind regards,
    Rochy

    Hi,
       After entering GCI4 ,  in the command window you have to enter   =MAST    ,   then the table is changeable.
    Kind regards

  • Idoc error- Balance in transaction currency

    Dear Experts,
    In we02, I found idoc error with the following messages:
    Balance in transaction currency
    Message no. F5 702
    Diagnosis
    A balance has occurred in transaction currency 'XXX' with the following details:
    Exchange rate '00', amount ' 1.413.696' and currency key 'XXX'.
    The data in the transaction currency were transferred from the calling application.
    System Response
    Your data cannot be processed in FI.
    Procedure
    The error is probably in the calling application.
    Please advice, how to correct this problem.
    Thank you in advance.

    Hi Natasha,
    Please check the "EDID4"  table to find the error why it is not allowing to post.
    Also check "WE09" to check the status of the IDOC.
    You can process it manually through "BD87"
    Bye
    Swapna murali

  • Balance in transaction currency while saving the invoice

    Hi sd experts,
    i am getting the following error msg while saving the invoice
    A balance has occurred in transaction currency 'INR' with the following details:
    Exchange rate '00', amount '           450.00' and currency key 'INR'.
    Thanks a lot.
    Regards,
    pulijala satish kumar

    Balance in transaction currency can happen normally at the time of billing(due to auto excise creation) or during excise invoice creation or at the time of Utilizations.
    This can happen due to many times we might be missing the data relevant of  GLs in CIN Master data & Credit-Debitor accounts for your excise amounts(for the combination with Excise transaction type)
    Please check the tables J_1ITRNACC & J_1IEXCACC.(this second table i am not sure--will be maintained in IMG>>Log-General>>>India>> account determination also you need to check the indicators like AED,SED,NCCD etc for your Excise registrations)
    As suggested--please search in google before posting.
    Phanikumar

  • Transaction Currency in Result Analysis - KKA2

    Hi,
    We have  a Z program to calculate WIP for projects at the end of the month.   This program in turn calls transaction KKA2 - Result Analysis.  We have EUR as controlling area currency and INR as object currency (CC currency).  Our projects have INR as project currency but the transactions are booked in USD EUR SGD and INR.  We want to calculate WIP in transaction  currency.
    We checked and found that COSB table is updated with values in controlling area currency EUR and object currency INR.  but transaction value(COSB-WTGXX) is not updated when we do KKA2.   COSB is always updated with object currency(INR) and CO area currency(EUR) while value in transaction currencies are blank.
    We tried to set transaction currency as default for project with transaction RPXN- CO-OM Information System: Settings but that did not help.  We checked and found that in controlling area configuration indicator 'All currencies' is selected. 
    Will you please let me  know if there is a way to update COSB with transaction currency values with configuration changes in Result Analysis version used for KKA2 or any other means?
    Thanks for your help.
    With Regards

    Hi,
    the requirement is bit surprising to me.
    transaction currency is normally related to FI related transactions.  Because either the you might bill to the customers in a currently other than co.code currency if it is required by the contract with customer or you might get bills from the vendor in a currency other than your co.code currency
    This should not have any bearing on the controlling stuff.
    When you post the values to CO, the values will be converted in to object currency and controlling area currency.
    Result Analysis calcution will necessarily be in co.code and controlling area currency.  There is no transaction currency involved here.
    Hope this clarifies your question
    Best Regards
    surya

  • VF02 error- Balance in transaction currency

    Hi all!
    We are getting below error message when trying to release a contract billing document through transaction VF02.
    Balance in transaction currency
    Message no. F5702
    Diagnosis
    A balance has occurred in transaction currency 'GBP' with the following details:
    Exchange rate '00', amount ' 7603.33-' and currency key 'GBP'.
    The data in the transaction currency were transferred from the calling application.
    System Response
    Your data cannot be processed in FI.
    Procedure
    The error is probably in the calling application.
    Can you please suggest how to go about solving this.
    Thx in advance,
    Raj.

    Hi Vijaya
    In my case we were getting the error because payer in the billing document had wrong customer account assignment group (CAAG)  in the master data.
    Since CAAG is one of the criteria for GL account determination in VKOA and it was maintained incorrectly, contract document was not able to find any GL account in VKOA tables.
    Hence contract document did not update table VBREVE when it got created. As a result we were getting this error when we were trying to release billing document.
    Let me know if you have any questions.
    Regards,
    Santosh

  • Error 'Balance in transaction currency' in VF02

    Hello Experts,
      I am getting an error message 'Balance in transaction currency' in VF02 while releasing to accounting.
    Can anyone tell me the reason and suggest the solution for this issue?
    Thanks and Regards
    Krunal Raichura

    Hi Vijaya
    In my case we were getting the error because payer in the billing document had wrong customer account assignment group (CAAG)  in the master data.
    Since CAAG is one of the criteria for GL account determination in VKOA and it was maintained incorrectly, contract document was not able to find any GL account in VKOA tables.
    Hence contract document did not update table VBREVE when it got created. As a result we were getting this error when we were trying to release billing document.
    Let me know if you have any questions.
    Regards,
    Santosh

  • Difference between transaction currency and document currency.

    Hi All,
    Would like to know the difference between transaction currency and document currency. If we want to draw both the figures from the GL account, which table can i use?
    Thanks,
    Mercy

    Hey,
    Having transaction currency and document curreny in one document would be strange.
    Document currency is something you would see in a FI document, whereas transaction currency is part of a CO document.
    In finance documents you would talk about document currenty and local currency for instance.
    In CO documents, the currency field you can find are transaction currency, object currency en controlling area currency.
    In most cases the document currency in FI would be considered the transaction currency in CO.  The local currency in FI would be the object currency in CO.
    Hope this helps,
    Koen

  • FAGLFLEXA - Transaction Currency vs Document (Original Transaction Currency

    Hi
    I have seen entries sitting in the FAGLFLEXA table - where for a single FI document there are multiple Transaction Currencies eg
               TC      LC       GC       OrigTrnsCrcy
    Doc 1 USD   GBP    GBP      USD
    Doc 1 GBP   GBP    GBP      USD
    In the header of the document, this document is showing with USD as the document currency.
    I thought TC was Document Currency - so is this normal behaviour ?
    Regards

    Murali
    in FAGLFLEXA, we have the following value fields;
    TSL     VTCUR12     CURR     23     2     Value in Transaction Currency
    HSL     VLCUR12     CURR     23     2     Value in Local Currency
    KSL     VGCUR12     CURR     23     2     Value in Group Currency
    OSL     VOCUR12     CURR     23     2     Value in Another Currency
    MSL     QUAN1_12     QUAN     23     3     Quantity
    WSL     VWCUR12     CURR     23     2     Value in Original Transaction Currency (Document Currency)
    As you can see there is Transaction Currency & Original Transaction Currency (Document Currency).
    I am trying to understand why these 2 fields would contain different currencies upon posting.
    Regards

  • Error while saving Excise Invoice- 'Balance in transaction currency'

    Hi to all.
          I am using TAXINN taxing procedure.Recently I applied notes for S&H cess legal changes. Everything working fine. But when I try to save excise Invoice system throws the following error. Amount Rs.53 is S&H Cess. If i removed condition type from pricing document is posted.So, can anybody tell me what settings to be made to correct this error?
    Error message:
    Balance in transaction currency
    Message no. F5702
    Diagnosis
    A balance has occurred in transaction currency 'INR' with the following details:
    Exchange rate '00', amount '            53.00' and currency key 'INR'.
    The data in the transaction currency were transferred from the calling application.
    System response
    Your data cannot be processed in FI.
    Procedure
    The error is probably in the calling application

    Dear Siva,
    Please refer Master OSS note# 1032265-- Higher Education Changes.
    May it wil help you to resolve ur problem.
    Regards,
    Venkat

  • Balance in transaction currency

    Hi,
    I am getting below error while posting MIRO transaction: 
    Balance in transaction currency
    Message no. F5702
    Diagnosis
    A balance has occurred in transaction currency 'SAR' with the following details:
    Exchange rate '00', amount '8,199.40' and currency key 'SAR'.
    The data in the transaction currency were transferred from the calling application.
    System Response
    Your data cannot be processed in FI.
    Procedure
    The error is probably in the calling application.
    Local currency & Transaction Currency: SAR, PO Currency: BHD, I have mainted exchange rates in OB08 SAR-BHD and BHD to SAR.
    Please suggest me how to rectify above currency isse!!
    Thanks
    VS Rao

    Check note 709982 or 723009
    thanks
    G. Lakshmipathi

Maybe you are looking for