Balance in local currency error in BAPI_ACC_DOCUMENT_POST

Hi,
When I call BAPI_ACC_DOCUMENT_POST, I take below error from bapi return message,
the code related filling bapi header,item and currency also is below.Is tehere any body can help me to solve my problem.
Thanks,
form fill_header .
  "Header
  t_doc_header-comp_code  = 'NETS'.
  t_doc_header-header_txt = 'CS stok'.
  t_doc_header-fisc_year  = gv_year.
  t_doc_header-fis_period = gv_month.
  t_doc_header-doc_date   = sy-datum.  "?
  t_doc_header-pstng_date = sy-datum.  "?
  t_doc_header-bus_act    = 'RFBU'.
  t_doc_header-username   = sy-uname.
  t_doc_header-doc_type   = 'SA'.
  append t_doc_header.
t_doc_header-ac_doc_no  = ''.
t_doc_header-acc_principle = ''.
t_doc_header-neg_postng    = ''.
endform.                    " fill_header
form fill_item using p_no .
  "item
t_accountgl_item-ac_doc_no  = ''. "Accounting Document Number
t_accountgl_item-doc_type   = ''. "Document type
  t_accountgl_item-comp_code  = 'NETS'.   "Company Code
  t_accountgl_item-plant      = '1300'.   "Plant
  t_accountgl_item-fisc_year  = gv_year.  "Fiscal Year
  t_accountgl_item-fis_period = gv_month. "Fiscal month
  if p_no = '1'.
    t_accountgl_item-itemno_acc = '1'.
    t_accountgl_item-gl_account = '1522000111'.
    t_accountgl_item-item_text  = 'CS Vuk Item-1'.
    t_accountgl_item-pstng_date = gv_last_day.
    append t_accountgl_item.
  elseif p_no ='2'.
    t_accountgl_item-itemno_acc = '2'. "Accounting Document Line Item Number
    t_accountgl_item-gl_account = '6220000111'. "General Ledger Account
    t_accountgl_item-item_text  = 'CS Vuk Item-2'.
    t_accountgl_item-pstng_date =  gv_first_day_for_next_month.
    append t_accountgl_item.
  endif.
endform.                    " fill_item_1
form fill_currency using p_no p_fark .
  data: miktar1 type ckmlcr-salk3,
        miktar2 type ckmlcr-salk3.
  "currency
t_currencyamount-exch_rate   = ''.       "Exchange rate
  t_currencyamount-curr_type   = '10'.     "Currency type and valuation view
  t_currencyamount-currency    = 'TRY'.
  miktar1 = p_fark.
  miktar2 = - p_fark.
  if p_no = '1'.
    t_currencyamount-itemno_acc  = 1.
    t_currencyamount-amt_doccur  =  miktar1. "Amount in document currency
    append t_currencyamount.
    t_currencyamount-itemno_acc  = 2.
    t_currencyamount-amt_doccur  =  miktar2.
    append t_currencyamount.
  elseif p_no = '2'.
    t_currencyamount-itemno_acc  = 1.
    t_currencyamount-amt_doccur  =  miktar2.
    append t_currencyamount.
    t_currencyamount-itemno_acc  = 2.
    t_currencyamount-amt_doccur  =  miktar1.
    append t_currencyamount.
  endif.
  append t_currencyamount.
endform.                    " fill_currency
form call_bapi_post .
  call function 'BAPI_ACC_DOCUMENT_POST'
    exporting
      documentheader            =    t_doc_header
     importing
       obj_type                =  gv_obj_type
       obj_key                 =  gv_obj_key
       obj_sys                 =  gv_obj_sys
    tables
        accountgl               =  t_accountgl_item
      ACCOUNTRECEIVABLE       =
      ACCOUNTPAYABLE          =
      ACCOUNTTAX              =
      currencyamount            =  t_currencyamount
      CRITERIA                =
      VALUEFIELD              =
      EXTENSION1              =
      return                    =  t_return.
  gs_doc =  gv_obj_key.
  perform check_error tables t_return.
  perform call_bapi_trans.
endform.                    " execute_bapi

check below code....
FUNCTION ZF_BAPI_ACC_GL_POSTING.
""Local interface:
*"  IMPORTING
*"     VALUE(SIMULATE) TYPE  CHAR1 OPTIONAL
*"     VALUE(FILEPATH) LIKE  RLGRAP-FILENAME OPTIONAL
*"  TABLES
*"      DATA_RECORD STRUCTURE  ZFGL_ACCOUNT_POSTING
*"      RETURN STRUCTURE  BAPIRET2
This is a common function module is to simulate & post a GL document
using input file. If file got  more than 999 items for the combination
of company code, Currency & accounting base, the function module will
post first 998 Items of the above combination & balances the GL
document with 999 item having GL account 0000299998. First line item
of  the subsequent document would be similar to 999th item of the
previous *document.
Read all input records into an internal table.
  clear: IT_DATA,
         IT_DATA[],
         w_simulate,
         flg_err,
         IT_US_DATA,
         RETURN,
         RETURN[],
         it_return,
         it_return[],
         IT_US_DATA[].
  w_simulate = simulate.
  w_filepath = filepath.
  DATA: L_index LIKE SY-TABIX,
        L_NEWBS LIKE RF05A-NEWBS.
  loop at DATA_RECORD.
    move-corresponding data_record to it_data.
    move :  data_record-SAKNR to it_data-newKO,
            data_record-MWSKZ to it_data-VAL2.
Function module to convert NEWKO
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        INPUT  = IT_DATA-NEWKO
      IMPORTING
        OUTPUT = IT_DATA-NEWKO.
Function module to convert KOSTL
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        INPUT  = IT_DATA-KOSTL
      IMPORTING
        OUTPUT = IT_DATA-KOSTL.
    append it_data.
    clear it_data.
  endloop.
If no data is passed in an input table
  if  it_data[] is initial.
    PERFORM UPLOAD_DATA.
    IF SY-SUBRC = 0 .
      PERFORM INSERT_IT_DATA.
    ENDIF.
  endif.
The below logic written for US payroll. As the US Payroll file is not
standard file and do not have the credit and debit amount balanced.
The logic below would take care the debit/credit amount balances
  read table it_data index 1.
  if it_data-zzdatsrc = '3311'.
    loop at it_data.
      if it_data-newbs = '40'.
        L_NEWBS = '50'.
        PERFORM CREATE_GL_ITEMS USING L_NEWBS
                                      v_gen
                                      IT_DATA-BUKRS.
        CLEAR L_NEWBS.
      else.
        L_NEWBS = '40'.
        PERFORM CREATE_GL_ITEMS USING L_NEWBS
                                      v_gen
                                      IT_DATA-BUKRS.
        CLEAR L_NEWBS.
      endif.
    endloop.
The below logic written for P-card. As the US P-Card file is not
standard file and do not have the credit and debit amount balanced,
the logic below would take care the debit/credit amount balances
  elseif it_data-zzdatsrc = '3312'.
    sort it_data by   BUKRS
                      WAERS
                      ZZACCBAS
                      seq_num
                      NEWKO.
    loop at it_data.
      if it_data-newbs = '40'.
        IT_US_DATA-WRBTR = IT_US_DATA-WRBTR + IT_DATA-WRBTR.
      else.
        IT_US_DATA-WRBTR = IT_US_DATA-WRBTR - IT_DATA-WRBTR.
      endif.
      at end of NEWKO.
        if it_us_data-wrbtr = 0.
          clear: it_us_data,
                 L_NEWBS.
          continue.
        elseif it_us_data-wrbtr > 0.
          L_NEWBS = '40'.
        else.
          L_NEWBS = '50'.
        endif.
        move-corresponding it_data to it_us_data.
        clear: it_us_data-newko,
               it_us_data-newbs,
               it_us_data-kostl,
               IT_us_data-sgtxt,
               it_us_data-wrbtr.
        MOVE: v_pcard_ac TO IT_US_DATA-NEWKO,
              L_NEWBS TO IT_US_DATA-NEWBS,
              IT_DATA-WRBTR to IT_US_DATA-WRBTR,
              '3312' TO IT_US_DATA-ZZDATSRC,
              'GGA' TO IT_US_DATA-ZZACCBAS.
        append it_us_data.
        clear: it_us_data,
               L_NEWBS.
      endat.
    endloop.
    LOOP AT IT_US_DATA.
      MOVE-CORRESPONDING IT_US_DATA TO IT_DATA.
      APPEND IT_DATA.
      CLEAR IT_DATA.
    ENDLOOP.
  endif.
Populate  Sequence number
  loop at it_data.
    it_data-seq_num  = sy-tabix.
    modify it_data index sy-tabix transporting seq_num.
  endloop.
Sort table
  sort it_data by bukrs waers budat zzACCBAS seq_num.
Populate reconciliation account for 999th record
  v_rec_account = '0000299998'.
Process input data
  loop at it_data.
    L_INDEX = SY-TABIX.
Populate document heade for every combination of
company code & currency code
    At new ZZACCBAS.
      READ TABLE IT_DATA INDEX L_INDEX.
      CLEAR: it_documentheader[],
             it_documentheader,
             it_accountgl[],
             it_accountgl,
             it_currencyamount[],
             it_currencyamount,
             W_COUNT,
             W_TL_AMNT,
             w_seq,
             flg_eod.
      perform populate_header.
    endat.
    W_COUNT = W_COUNT + 1.
    IF IT_DATA-NEWBS = '40'.
      W_TL_AMNT = W_TL_AMNT - IT_DATA-WRBTR.
    ELSEIF IT_DATA-NEWBS = '50'.
      W_TL_AMNT = W_TL_AMNT + IT_DATA-WRBTR.
    ENDIF.
    perform populate_items.
    if flg_err = 'X'.
      exit.
    endif.
    AT END OF ZZACCBAS.
Call BAPI to check input data.
      perform call_posting_bapi.
      loop at it_return where type = 'S' or type = 'E' or type ='A'.
        move-corresponding it_return to return.
        append return.
        clear return.
      endloop.
      flg_EOD    =  'X'.
      CLEAR: W_TL_AMNT,
              W_COUNT,
              it_documentheader[],
              it_documentheader,
              it_accountgl[],
              it_accountgl,
              it_currencyamount[],
              it_currencyamount.
    ENDAT.
*Creating the reconcillation record
    if flg_EOD <> 'X'.
      IF W_COUNT EQ 998.
        IF W_TL_AMNT <> 0.
          W_COUNT = W_COUNT + 1.
          IF W_TL_AMNT LT 0.
            IT_DATA-NEWBS = '50'.
            it_data-newko =  v_rec_account.
            W_WRBTR = ABS( W_TL_AMNT ).
            IT_DATA-WRBTR = W_WRBTR.
            flg_fi = 'X'.
            w_seq = w_seq + 1 .
            perform populate_items.
            if flg_err = 'X'.
              exit.
            endif.
            perform call_posting_bapi.
          loop at it_return where type = 'S' or type = 'E' or type ='A'.
              move-corresponding it_return to return.
              append return.
              clear return.
            endloop.
            cleAR:it_accountgl[],
                  it_accountgl,
                  it_currencyamount[],
                  it_currencyamount.
            W_COUNT = 1.
            IT_DATA-NEWBS = '40'.
            it_data-newko =  v_rec_account.
            W_WRBTR = ABS( W_TL_AMNT ).
            IT_DATA-WRBTR = W_WRBTR.
            flg_fi = 'X'.
            perform populate_items.
            if flg_err = 'X'.
              exit.
            endif.
          ELSE.
            IT_DATA-NEWBS = '40'.
            it_data-newko =  v_rec_account.
            W_WRBTR = ABS( W_TL_AMNT ).
            IT_DATA-WRBTR = W_WRBTR.
            flg_fi = 'X'.
            perform populate_items.
            if flg_err = 'X'.
              exit.
            endif.
            perform call_posting_bapi.
          loop at it_return where type = 'S' or type = 'E' or type ='A'.
              move-corresponding it_return to return.
              append return.
              clear return.
            endloop.
            cleAR:it_accountgl[],
                  it_accountgl,
                  it_currencyamount[],
                  it_currencyamount.
            W_COUNT = 1.
            IT_DATA-NEWBS = '50'.
            it_data-newko =  v_rec_account.
            W_WRBTR = ABS( W_TL_AMNT ).
            IT_DATA-WRBTR = W_WRBTR.
            flg_fi = 'X'.
            perform populate_items.
            if flg_err = 'X'.
              exit.
            endif.
          ENDIF.
        endif.
      endif.
    endif.
  endloop.
  IF FLG_ERR = 'X'.
    loop at it_return where type = 'E' or type ='A'.
      move-corresponding it_return to return.
      append return.
      clear return.
    endloop.
  ENDIF.
ENDFUNCTION.

Similar Messages

  • Balance In Local Currency (Error Message F5 703)

    I've encountered an error during invoice reversal via MR8M(Version 4.5). Error Message (F5 703 - Balance In Local Currency).
    Balance in local currency - Message no. F5 703
    Diagnosis - There is a balance in local currency 'NOK' with the following details:
    Exchange rate type '10', amount '0,04-' and currency key 'NOK'. The data in local 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 share if you have any solution.

    Pls chk this link
    FNM3 Balance in local currency F5 703

  • 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

  • F5061  Balance in local currency EUR is too large for automatic adjustment

    My Company code currency is EUR. The customer has made a downpayment in USD (say 100) and i am now to clear the same against invoice of same amount in USD (100 $) but its is resulting into minor differences in Local currency. I am getting the following error
    Balance in local currency EUR is too large for automatic adjustment
    Message no. F5061
    Diagnosis
    For postings in foreign currency, it is possible that the balance in foreign currency is zero, but not in local currency. Providing the balance in local currency does not amount to more currency units than the document has line items, the system adjusts the amounts automatically. If an automatic adjustment is not possible, the amounts must be adjusted manually in local currency.
    System Response
    The document is not posted in local currency without adjusting the amounts.
    Procedure
    Adjust the amounts in local currency.
    How can i have the system automatically fetch the Gl accounts to post the exchange rate differeces.
    I have maintained the settings in FBKP- Exchange rate differenes
    Thanks & Regards
    Pooja

    Hi,
    I have the same problem; my company code is defined in HUF and I am trying to post a vendor invoice in Euros.
    I have a 10% maintained there and still receiving the error, either for differences of just one HUF. The strangest thing is that differences are automatically adjusted (also for discrepancies over the 10%) when posting through FB60 but not when using FB01.
    Any idea?
    Thanks in advance for your input.
    Best regards.

  • Relation between 'only balance in local currency'  check box and OBA1-KDF

    Hi,
    in the master data of the GL account, the check box 'only balance in local currency' should be unchecked it to set that account as Valuation account, i.e in the OI exchange rate defferences?
    or , if the account takes only in local balance also set as valuation account in OBA1-KDF
    Thanks...

    Hi Yogesh,
    Thanks for your quick replay, i use this transaction code "OB_GLACC12" when i was save it showing Error Message like
    "You want to save your changes. They will take immediate effect for all objects chosen. This action cannot be undone."
    0000115405 // 3130 : The data contains error, you cannot save  Message No.FH511
    0000115405 // 3130 : Changing the balances in local currency not possible; acct has a balance Message No.FH085
    0000115405 // 3130 : Keep balance sheet accounts in local currency only  Message No.FH132
    Can you help me how to change the Only balances in Local Currency Check box.
    Thanks,
    Bhaskar.

  • Balance in local currency while doing MIGO

    Hi Gurus,
    Below is the message which I am receiving when doing MIGO. Can some body let me know how to solve this
    Balance in local currency
    Message no. F5703
    Diagnosis
    A balance exists in local currency "INR" with the following details:
    Exchange rate type "10", amount "            82.39-" and currency key "INR".
    The data in local currency is transferred from the calling application.
    System Response
    Your data cannot be processed in FI.
    Procedure
    There is probably an error in the calling application.
    The GL account is "Only in local currency" check box is checked. OB08 settings are also maintained

    Hi
    The error is in GL code
    GO to FS00 GL Master, for your GL
    Go to Control Tab and remove the check box which reads "Only Balance Local currecy"
    Consult you FI teams once
    Niti Narayan

  • FS00 Only balances in Local Currency Check box

    Hi Sap Gurus,
    FS00 in that there  Only balances in Local Currency Check box i want to remove the check box,but in that g/l account we have balances how to remove the check box.
    I have a one solution 
    post the account to zero balance, uncheck the flag, post the old account balances again.
    I know this answer but is there any other way or any program is available in SAP
    If anybody knows please suggest me
    Thanks In advance,
    Bhaskar

    Hi Yogesh,
    Thanks for your quick replay, i use this transaction code "OB_GLACC12" when i was save it showing Error Message like
    "You want to save your changes. They will take immediate effect for all objects chosen. This action cannot be undone."
    0000115405 // 3130 : The data contains error, you cannot save  Message No.FH511
    0000115405 // 3130 : Changing the balances in local currency not possible; acct has a balance Message No.FH085
    0000115405 // 3130 : Keep balance sheet accounts in local currency only  Message No.FH132
    Can you help me how to change the Only balances in Local Currency Check box.
    Thanks,
    Bhaskar.

  • Only Balances in local currency

    Hi,
    By mistake we activated only Balances in local currency setting for a GL account at the time of Go-live. Also we had done  postings to this account with foreign currency and local currency. Now we want to do foreign currency valuation for this account, but the problem is up to now all the transaction are recorded in local currency only because of the reported setting to GL master, so system is not finding any valuation differences for foreign currency transactions.
    What can be done to update the transaction currency balances for the posted line items without reversing?
    Is there any program to update the balances in transaction currency as well?
    We have many line items in that GL account which have to be revaluated.
    Experts, please give me the suggestion.
    Rgds
    Murali. N

    Hi,
    Please check the below OSS notes:-
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1431450]
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=327591]
    Regards,
    SDNer

  • Daily Customer Balances in Local Currency problem?

    Hi,
    My user want S_ALR_87012172 - Customer Balances in Local Currency on daily basis but can you suggest me what shall I do?
    I have tried to write a query but I hope I am not getting all the tables can yiu suggest me tables where I can get the balance in local currency for customers and accumulated balance as well.
    Please suggest any way like report painter or query step by step?
    Regards
    Nitin

    Thanks alot Visawana S,
    I am sorry but are those tables enough to meet this requirement.
    I am making a query for Daily customer report in which my user want fields Total Debit posting, Total Credit Posting, Balance Carryforward and Accumulated balance based on the selection of Posting date. When I am trying to do that I am unable to find all the tables for this report as we have the field Balance carryforward in KNC1 or KNC3 but when we join the tables it doesn't show any link. Please help me on it. Also, I am unable to find out the Accumulated balance field in any table if we don;t have that field then how to get that field updated.
    Please write about the tables in detail.
    Thanks in advance
    Regards
    Nitin

  • Customer Balances in Local currency

    Hi Gurus,
    Can some one explain me about
    TCode-  S_ALR_87012172= Customer balance in Local currency
    It importance ,its benefits,
    Thanks,
    Seegal

    Hi,
    Check the program documentation(shift +F1), blue i icon in application menu after executing the T.code.
    Short text
    Customer Balances in Local Currency
    Description
    The balances from the following transactions can be issued with the customer balance list:
    Standard G/L transactions
    Special G/L transactions (per special G/L indicator)
    The following figures (for a particular month only) are displayed in local currency:
    Balance at period start ( balance carried forward and balance of the periods before the reporting periods)
    Debit total for the reporting period
    Credit total for the reporting period
    Debit or credit balances for the whole period
    The following data is issued at the end of the list for each local currency:
    Totals per company code
    Final total across all company codes
    Output and Sort Sequence
    You can choose from two sort sequences for the accounts. Sort sequence "1" uses the reconciliation account as the sort criteria whereas sort sequence "2" uses the account number.
    With both of these sort sequences you can choose between a standard version and a corporate group version. In the standard version, the accounts are listed per company code. In the corporate group version the company codes are listed per account.
    You can use the "Summarization level" parameter to specify whether the data is to be issued in detailed or summarized form.
    The following overview shows the relation between
    The account sort sequences
    The standard or corporate group versions
    The summarization levels
    Account sort sequence 1 - standard version
    Data sorted by:
    Company code
    Reconciliation account
    Account number
    Summarization levels:
    0 = No summarization (total per open item account)
    1 = Summarization of the open item accounts (total per reconciliation                                                account)
    2 = Summarization of the reconciliation accounts (total per company code)
    3 = End totals sheet only (totals across all company codes)
    Account sort sequence 1 - corporate group version
    Data sorted by:
    Reconciliation account
    Account number
    Company code currency key
    Company code
    Summarization levels:
    0 = No summarization (total per company code)
    1 = Summarization of company codes (total per currency key)
    2 = Summarization of open item accounts (total per reconciliation                                           account)
    3 = End totals sheet only (totals across all company codes)
    Account sort sequence 2 - standard version
    Data sorted by:
    Company code
    Account number
    Summarization levels
    0 = No summarization (total per open item account)
    1 = Summarization of open item accounts (total per company code)
    2 = End totals sheet only (totals across all company codes)
    Account sort sequence 2 - corporate group version
    Data sorted by:
    Account number
    Currency key
    Company code
    Summarization levels
    0 = No summarization (total per company code)
    1 = Summarization of the company codes (total per currency key)
    2 = End totals sheet only (totals across all company codes)
    Recording data on microfiche
    You can request information for recording on microfiche. The fixed part of the microfiche information is documented under the parameter for it. The variable part, i.e. the report-specific part, has the following structure:
    In the standard version:
    Company code                 4 characters
    Reconciliation account      10 characters (only with sort sequence 1)
    Account number              10 characters
    In the corporate group version:
    Reconciliation account      10 characters (only with sort sequence 1)
    Account number              10 characters
    Currency key                 5 characters
    Company code                 4 characters
    Regards,
    Raj

  • F.05 and "only balance in local currency"

    Hi Dear,my client like to do F.05 (foreign curreny valuation) for all balance sheet account,but if you select "only balance in local currency" in GL master,then those GL accounts can not be picked up for F.05.
    SAP's suggestion is :
    *For normal balance sheet accounts that record neither items in foreign currency nor open items, SAP recommends that you record the account transaction figures in local currency only.  You should select the "Only balances in local curr." checkbox to do this*
    But if i want do f.05 for all balance sheet account,i should not select  "only balance in local currency" in GL master,am i right?

    Hi,if you want do so then do. But do realy going to book all accounts in foreign currency???

  • Dynamic field in S_ALR_87012172 - Customer Balances in Local Currency?

    Hi,
    My problem is that we want to add the document Numnber field in the report S_ALR_87012172 - Customer Balances in Local Currency so that we can get the desired output. I have tried to add the Document number field under 'Documents' in the Dynamic Selection using table BSID. When we are adding it it is working fine for all other reports for customer balances but not showing anything here.
    Please tell me the reason why it is happening if possible and tell me how to get that field added.
    Please reply asap as it is quite urgent.
    Thanks in advance
    Regards
    Pankaj

    Thanks again Ravi,
    I have tried that option and made the Form and Report but when I am trying to Excute the report S_ALR_87012172 - Customer Balances in Local Currency it is not coming with the desired output. Is it the link problem. Can you plz tell me we have made a form and then a report with the desired parameters but how to link that report with the desired T. Code.
    Secondly, if I make the changes in the Standard reports which are mentioned below then system is taking the changes but when I am making the new form and report myself then system is giviing me the desired output. Can we make our own report and link it to the T. code we want or we only can make the changes in the standard reports .
    0SAPFD10-01     Transaction Figures: Account Balance
    0SAPFD10-02     Transaction Figures: Special Sales
    0SAPFD10-03     Transaction Figures: Sales
    Please help me as I don;t know much about the report painter.
    Thanks in advance..
    Regards
    Pankaj

  • S_ALR_87012172 - Customer Balances in Local Currency

    Dear All
    I want insert some field in sap enhancement for S_ALR_87012172 - Customer Balances in Local Currency. If have any enhancement. Please advise.
    Regards
    Avijit

    Hi,
    Please verify the documents..............
    http://help.sap.com/bp_blv1600/BL_US/Documentation/Scenarios/V4G_IMPL_EN_US.doc
    Regards
    udayakumar.k

  • Balance in transaction currency error for AUC settlement

    I was trying to perform AUC settlement and hit Balance in transaction currency error. When i open up the line items I found that there are 2 sets (duplicate) of data posted to the depreciation area. The second set is with value 0 except depreciation area 01 posted as 100000EUR.
    so now i have 2 line with 100000EUR for depreciation area 01. I guess this is the main culprit of generating the error Balance in transaction currency.
    I'd glad if someone can tell me why they are 2 sets of data generated in line items? I only post the vendor invoice against the AUC once.
    Or perhaps am I heading to the right way in identifying the root cause of this issue?
    This is part of the AC010 course part of asset accounting that teaching on AUC aasets.
    Any positive reply is welcomed!
    I attached the line item image. Please note that there are some lines hidden for dep area beyond 03. and all are with amount 0.
    [Line Item Image|http://www.bnl.com.my/photos/aucsettle.jpg]
    Edited by: Kam Weng Leong on Dec 13, 2009 5:00 AM

    I was trying to perform AUC settlement and hit Balance in transaction currency error. When i open up the line items I found that there are 2 sets (duplicate) of data posted to the depreciation area. The second set is with value 0 except depreciation area 01 posted as 100000EUR.
    so now i have 2 line with 100000EUR for depreciation area 01. I guess this is the main culprit of generating the error Balance in transaction currency.
    I'd glad if someone can tell me why they are 2 sets of data generated in line items? I only post the vendor invoice against the AUC once.
    Or perhaps am I heading to the right way in identifying the root cause of this issue?
    This is part of the AC010 course part of asset accounting that teaching on AUC aasets.
    Any positive reply is welcomed!
    I attached the line item image. Please note that there are some lines hidden for dep area beyond 03. and all are with amount 0.
    [Line Item Image|http://www.bnl.com.my/photos/aucsettle.jpg]
    Edited by: Kam Weng Leong on Dec 13, 2009 5:00 AM

  • GL Master - Only Balances in Local Currency

    I am curious when to check the 'Only Balances in Local Currency' (OBILC) box on a Open Item GL.  I've read information from multiple sources and interpret that it should be set on all OI accounts with a few exceptions like recon accounts for vendors and customers.  In my past experience OBILC was checked for most open item accounts but the company I'm currently with has the opposite logic.  With the box not checked, the clearing is process is quite complex and time-consuming.  We are on the classic ledger in 6.0 and have companies in multiple local currencies with group currency of USD.  Just looking for input because I'm doubting my interpretation of when to check this box.
    As an example, the GL would be an AP accrual account with postings in multiple doc currencies.  The company code local currency is MXN, and Group Currency is USD.  Should the OBILC be checked?
    Any input is appreciated.

    Hi,
    'Only Balances in Local Currency' (OBILC) is used when you do not want any foreign excange difference to be posted at the time of clearing. When this indicator is active, then the balances in database tables are updated in local currency only and thus the clearing can happen in local currency only.
    In your below example scenario, you can chosse not to activate this check OBILC, if your company is not interested in doing foreign currency valuation difference posting.
    Regards,
    SDNer

Maybe you are looking for

  • Best way to migrate SharePoint 2003 data into SQL Server 2008

    Hi Experts,     I am planning to migrate data from SharePoint 2003 into SQL Server 2008. After the migration SharePoint site will be deleted in couple of months and then that data will be feed into .Net Front end application 1) What is the best and e

  • Creating a Summary Cube from Line Item Cube

    Friends, 1. I have a GL Line Item cube that gives me item level information 2. As I needed to create a summary cube I copied line item cube adjusted dimensions (removed Line Item) and activated it. 3. When I loaded the summary cube from Line Item cub

  • Problem in polling sender file CC

    Hi, On a sender File CC, I set the poll interval to 300 secs. If I inactivate the CC and re activate the CC after some interval, the CC pools 2 times within 30 secs interval. Why is it behaving this way? I tried 3 times by inactivating and activating

  • Account Payable Invoice Creation

    Hi All, I just want to know the Account Payable Invoice creation screen. How many data hit by invoice screen for master table AP_INVOICE_ALL specially invoice_date and gl_date column. Please help. Regards

  • Icon on Blackberry

    How do I add a web page icon to my tablet, or place in favorites? Solved! Go to Solution.