Customer Account Balances (FB5LN)

Hi,
All
When a customer invoice is canceled, there is any way to customer account (FB5LN ) to automatically clear the documents so that they don't continue to show as open items.
Thanks
Rajesh

Hi Rajesh
Check wheather you have any other billing documents of that customer . where a credit note is issued . May be because of that only it might be showing in the Negative value .But if once it has been cancelled using VF11 , then the entire line item in FBL5N will get cleared
Check the link
[Customer cancel invoice as Cleared item in FBL5N;
NOTE : Kindly dont post the same thread more than once          
Regards
Srinath

Similar Messages

  • F-32 to clear the Customer Account Balances through BDC

    Dear Experts,
    My requirement is that i need to clear the customer account balances . It can be cleared manually thru tcode F-32.
    But i need to automate the process by writing BDC or BAPI or any FM.
    Pl help me by providing some inputs on that. Also help me by suggesting how i can do that.
    We have created BDC it is not giving any error but effect is not going to original documents.
    It is preparing posting documents (FB03) but items are still open in open list(FBL5N).
    My email: [email protected]
    OR [email protected]
    Can someone guide us.
    Thanks in advance.
    Mahendra Darwatkar

    I've done something like this. The first thing you need to do is to get your functional analyst to walk you through the process he wants you to use and then do a recording (SHDB).
    Rob

  • Customized Account Balance Report

    hi all,
           My Client needs customized Account Balance Report so we planned to do Crystal Report.
           1. How to bring the previous balance (ex: when i am choosing the date 05-02-2009 means  04-02-2009 balance should arrive as previous balance).
           2. In SAP Account Balance Report they bought the previous balance, when we go to PLD of Account Balance the system variable 77 is shown. Is it possible to find out the table in which the system variable 77 is stored.

    Hi Rajesweri,
    First , you can not use system vraibale they have run time value. For previus balance , you have to calculate the differce of debit and credit till the previuos year date and sum up that . for this suppose you give 02/01/2008 as a parameter on report , now u want the prev. balance which is closing balance of  02/01/2007. So use datediff function year(current parameterdate). which will give u previous year  and use this formula to find the balance and strore it in a variable .
    hope this will help you .
    Rgds,
    Premraj

  • Reg F-32 to clear the Customer Account Balances

    Dear experts,
    My requirement is that i need to clear the customer account balances . It can be cleared manually thru tcode F-32. But i need to automate the process by writing BDC or BAPI or any FM.
    Pl help me by providing some inputs on that. Also help me by suggesting how i can do that.
    tks in advance,
    ram

    i am also having same requirement.but the logic is becoming too complex because single document number for clearing the open items.for a customer we can have n number of invoices and n number of payments.based on the base line date,assignment and xref3.
    18.05.2010   DZ  2000
    18.05.2010   DR 1000
    18.05.2010   DR   200
    20.05.2010   DZ  2000
    20.05.2010   DR  1000
    20.05.2010  DR      200
    now we are creating 2 documents for 18.05.2010 and 20.05.2010 .but customer expects to create single document or both.
    then we have to handle table control.page down and page up.
    is the process folowing is correct or we have to create individual documents or single document

  • F-32 to clear the Customer Account Balances

    Hi,
    My requirement is that i need to clear the customer account balances . It can be cleared manually thru tcode F-32.
    But i need to automate the process by writing BDC or BAPI or any FM.
    Pl help me by providing some inputs on that. Also help me by suggesting how i can do that.
    tks in advance,
    Rajani

    I've done something like this. The first thing you need to do is to get your functional analyst to walk you through the process he wants you to use and then do a recording (SHDB).
    Rob

  • SAP table for customer account balances by document currency

    Hi experts,
    We have a requirement to produce a monthly customer statement by customer currency or customer's document currency. Example is that the company code local currency is USD and the customer currency is EUR. The customer will be allowed to carry over a balance to next period under a certain threshold so there will be a carry over beginning balance from the previous period which needs to appear on the statement. Transaction FD10N only displays customers balances in the local or company code currency which is USD in this example.
    Question: Does anyone know if there is an SAP table that stores period beginning balances by customer account currency or customer's document currency?   
    We have not been able to find one and want to get additional input prior to building our own custom table.
    Many thanks in advance for your assistance.
    Regards,
    NormaF

    Hi:
        Make use of BAPI_AR_ACC_GETKEYDATEBALANCE to calculate customer opening balance. You need to develop Z report using table BSID and BSAD other SD related tables . There is not SAP standard report that shows the customer opening balance as carried forward from previous month.. You can make alteration for for showing balances in document currency.
    Regards

  • Customer account balance on a key date.

    I am looking for a report that shows AR/AP at any one point of time per customer. I do not need the invoice details. Is there such a report? ex:COY1005
    AR
    31.12.2009
    IC 1011                  500
    IC 1012                  500
    IC 1013                  500
    Total                      1500

    Hi,
    I need some clarification.
    You want to see the customer balances in current date as well as back dated also(except inovices).
    go to FBL5N. If you want to see only open items then give the date in Open items tab.  After executing this report through layouts you can consider only document types DZ..,
    With this you can achieve the ouput as you required. or you can create a Z report for the same.
    Regards,
    Sankar

  • Account Balance not showing correctly

    Sir,
    Suppose , i have posted an invoice  of Rs.200 against a customer and after some times i recieved payment from this customer of Rs.200 So,  accout balance of this customer should be zero.. But when i see the account balance from business partner master data , it should me Rs.-400 in accout balance field but when i navigate through orange arrow in to accoutn balance details , there i get  zero in balance due field?? ie. it is showing coorectly in details of account ballance but in the business partner master data it is not showing correctly??

    hi divya,
    Check SAP Note 904002 - Customer account balance is displayed with negative sign
    Summary
    Symptom
    Customer Balance is displayed with minus.
    Other terms
    Customer balance, Supplier Balance, Credit Balance, Debit Balance, Display Credit Balance with Negative Sign, Company Details, System Initialisation, business partner, accounts, SAP Business One
    Reason and Prerequisites
    Customer balance is displayed in negative though you expect it to be positive.
    Solution
    Under Administration->System Initialisation->Company Details and the 'Basic Initialisation' tab you will find the setting 'Display Credit Balance with Negative Sign'. This setting decides how Customer and Supplier balances will be displayed.
    NOTE!
    When creating a company it is important to know that this setting is irreversible once transactions have been made in the company.
    When this box IS checked the following applies:
    Customer balances will be displayed as Positive.
    Supplier balances will be displayed as Negative.
    When this box IS NOT checked the following applies:
    Customer balances will be displayed as Negative.
    Supplier balances will be displayed as Positive.
    This setting also influences the entry of opening balances for the G/L accounts. Depending on this setting, the opening balances must be entered as positive or negative numbers.
    By default this box is checked when a new company is created.
    Header Data
    Release Status: Released for Customer
    Released on: 02.12.2005  10:42:10
    Master Language: English
    Priority: Recommendations/additional info
    Category: Consulting
    Primary Component: SBO-ADM-INI-DET Company Details
    Secondary Components: SBO-BP Business Partners
    Affected Releases
    Release-Independent
    Hope it solves problem.
    Jeyakanthan

  • Allow paid Down Payments to be applied agains the BP's account balance

    Here is the followin scenario.
    A sales order is created.
    Copied to a 50% Down Payment Invoice
    Down Payment Invoice is paid.
    Customer cancels the order by we want to leave the deposit on the customer account.
    The requested functionality will allow to apply the deposit amount directly to the customer account balance as a credit

    No. I don't think you need to cancel it. You may create a credit memo to allow future invoice to reconcile with the credit memo.
    Beside, this forum is for DRQ. Your question does not belong here.

  • Customer trail balance

    Hello,
    My client requires customer trail balance like opening balance, sales, receipts and closing balanes format.
    please suggest me the table to get the exact information as per my client requirement.
      now i am refereing the tables namely BSAD, BSID, BSIS.
      is there any other table to consider.
    and the report has to execute on company code and business area level.
    Points awaiting1!
    Regards,
    Sankar

    Hi Durga Sankar,
    Customers - KNC1.
    This table stores total debits/credits for the month
    Also have a look on...
    BSID, "open items (Accounting: Secondary Index for Customers)
    KNA1, "customer master
    RF140, "temp stru (Work Fields for Correspondence (SAPF140*))
    BSAD, "cleared items (Accounting: Secondary Index for Customers (Cleared Items))
    KNVV, "sales data (Customer Master Sales Data)
    KNKK. "credit mgt (
    Also see below example...
    http://www.erpgenie.com/abap/code/abap35.htm
    Also have a look on below BAPIs and Function Modules through which program can details...
    BAPI_AR_ACC_GETBALANCEDITEMS   Customer account clearing transactions in a give
    BAPI_AR_ACC_GETCURRENTBALANCE  Closing balance of customer account in current f
    BAPI_AR_ACC_GETKEYDATEBALANCE  Customer account balance at a key date
    BAPI_AR_ACC_GETPERIODBALANCES  Posting period totals per customer account in cu
    CUSTOMER_BALANCE
    CUSTOMER_BALANCE_SPECIAL_GL
    BAPI_BKK_ACCNT_GET_BALANCE     Read Balances of Customer Account
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7

  • To restrict some customers sales order which are less account balance.

    Hi expert,
    I want to restrict some customers sales order which are less account balance.
    example:
    ABC customer account balance is 100. now they ordered 150. now this SO document will not be posted until approval from superior. how can i do restrict this?
    Please help regarding this
    IF @transaction_type IN ('A','U') AND @Object_type = '17'
    BEGIN
    IF EXISTS (select 'A','U' FROM ORDR T0 INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
    WHERE @Object_type = '17' and T1.Balance < 100 AND T0.DocEntry = @list_of_cols_val_tab_del)
    BEGIN
    select @error = 1,@error_message = 'Customer Balance is below RS/-100 1You are not allowed to post SO'
    END
    END
    If i follow this instruction it will work for all customers. but i need sales person can not add this document but superior can add this. and i also need credit customer is not allowed to add SO and debit customer is allowed
    to add SO.
    Regards,
    Mizan

    Hi mizan700     ,
         I can't understand your requirement as  how can Salesorder restrict for a SalesPerson . please explain your requirement .
    Thanks & regards
    Surajit Kundu

  • VENDOR/GL/CUSTOMER  ACCOUNT STATEMENT WITH OPENING BALANCE

    Can anybody  tell me the tcodes in SAP for Vendor/Gl/Customer Account Statement with opening balance.
    Best Regards,
    Sudhanshu Dang
    0124-3081015

    hii
    As per my knowledge no such reports  for GL are there in sap.. we also had a same requirement but could not find it... we wanted reports with opening and closing balalnces...
    u can go to SAP1 and check all the standard reports available. check wheather any report fulfills ur need or else go for abap reports...
    Check f.42 T code for Vendor Report. and s_alr_87012172..for customer.
    thanks
    sejal

  • Please tell me a BAPI to get Closing balance of customer account based on Sales Organization?

    Hi Experts,
    A requirement has come up where I want to get Customer closing balance based on its sales organization as this particular customer is extented to 2 different sales organizations. I want to get the closing balance of individual sales organization vise.
    Please tell me a BAPI to get Closing balance of customer account based on Sales Organization?

    AFAIK there is no such BAPI, cause there is no database table with balance for customer per sales organisation. (No KNCx table for VKORG)
    First ask functionals (*) how to recover sales organisation from a FI document (I suppose for SD invoice it is easy if no merging between organisation) will be a little tricker for pure FI document like payment transactions (hope thet are quickly cleared...)  Then start from non cleared records of BSID (also BSAD if you use a past date of reference, in case you have to add the records of BSAD with clearing date greater than reference date) and cross it with SD information to break FI into sales organisation.
    Regards,
    Raymond
    (*) Ask for where do they store VKORG in FI documents

  • How to get On Account Balance for a Customer in Accounts Receivables(AR)

    Hi,
    Pls let me know how i can get the On Account Balance and Customer Balance for a particular customer in AR.
    Pls let me if there is any SQL query or function availabe to get On Account Balance in AR.
    Is On Account Balance and Customer balance is same in AR.
    Pls let me know how i can get both the values.
    regards
    Udit

    try to join your query from these tables:
    1.Customer - RA_CUSTOMERS_ALL
    2.Customer Name - RA_CUSTOMERS_ALL
    3. Ship to /Bill to & Location - HZ_CUST_ACCT_SITES_ALL and RA_TERRITORIES
    4.Account Balance - AR_PAYMENT_SCHEDULES_ALL
    5.Current Balance - AR_PAYMENT_SCHEDULES_ALL
    if you additionally need aging try to set from here
    a)1-30 Past - AR_PAYMENT_SCHEDULES_ALL
    b)31-60 Past - AR_PAYMENT_SCHEDULES_ALL
    c)Over 90 Past - AR_PAYMENT_SCHEDULES_ALL
    This way you can achieve the outcome

  • Sql query to find the balances for a customer account wise.

    Hi,
    Could someone help me with the sql query to find the balances for each customer account wise. This is need to generate the report.
    presently we are using this query, but the output doesnot return the expected result.
    SELECT sum(nvl(ps.acctd_amount_due_remaining,0)) "Balance"
    FROM      ra_cust_trx_line_gl_dist_all gld,
              gl_code_combinations c,
              ar_payment_schedules_all ps,
              RA_CUSTOMER_TRX_ALL rat,
              ra_customers rc
    WHERE      c.CHART_OF_ACCOUNTS_ID = 101
    and gld.code_combination_id = c.code_combination_id
         and rat.CUSTOMER_TRX_ID=gld.CUSTOMER_TRX_ID
         and rat.CUSTOMER_TRX_ID=ps.CUSTOMER_TRX_ID
    and ps.customer_id=rc.customer_id
         and ps.status='OP'
         and ps.gl_date <= :PDATE
         and ps.org_id=:PORGID
         and ps.class in ('GUAR','INV','DM','DEP')
    and c.SEGMENT4=:Account_id
    and ps.customer_id=:Customer_id
    Thanks in advance.
    Kalyan.

    Can someone help us with this.

Maybe you are looking for