Accumulated Balance for a Customer

Hi all
I know we can get periodwise accumulated balance for a customer in datasource 0FI_AR_1.
But I wanna get daily accumuulated balance for a Customer.
Any simpler solution apart from writing a code in start routine of transformation.
It becomes very messy and unreliable with many packages being loaded reading exising data from DSO and calculating it becomes difficult for a coder.
Can we have something like this in query run time.
Thanks
PB

Thats what I have been thinking. The problem is while doing deltas, i will have to read last record of the customer and pick his accumulated balance everytime.
That applies to all the packages being loaded

Similar Messages

  • Accumulated Balance for a Customer FI - AR

    Hi all
    I know we can get periodwise accumulated balance for a customer in datasource 0FI_AR_1.
    But I wanna get daily accumuulated balance for a Customer.
    Any simpler solution apart from writing a code in start routine of transformation.
    It becomes very messy and unreliable with many packages being loaded reading exising data from DSO and calculating it becomes difficult for a coder.
    Can we have something like this in query run time.
    Thanks
    PB

    Hi
    Enhance your cube with 0CALDAY and feed the data with enhanced datasource with calendar day as one of the field .ZFI_AR_1 may solve the purpose without coding
    Regards
    N Ganesh

  • How to calculate Opening balance for a customer?

    Hi Experts,
    How to calculate Opening balance for a customer? I am trying to develop a report where in i have to get opening AR balance,current sales,adjustments etc of a customer. Please let me know how can i do this. I have some tables with me KNC1, BSAD, BSID.
    Thanks in Advance.
    Sharat Chandra.

    Say for example ..
    Get the opening bal for Customer 'K' in CCode 'C1' in 2008 ..
    First get all items from BSEG ..
    Select * from BSEG where KUNNR eq 'K'
                                     and BUKRS eq 'C1'
                                     and GJAHR eq '2008' .
    Sum all the DMBTR values (This is the total value).
    Second get the cleared items form BSAD for the above entries;
    Select * from BSAD for all entries in BSEG where KUNNR and BUKRS and XBLNR eq BSEG-XBLNR.
    Sum all DMBTR values ( this is cleared value).
    Third substract the cleared value from total to get Open value.
    This is a overview .. you should go to the tables and look for fields and etc.. and then define the logic meeeting your requirements .... this is a genric undersatnding ....
    Thanks,
    Aditya. V

  • How to query opening balance for all customer or Vendor for an speci. date

    Hi,
    How to query opening balance for all customer or Vendor for an specific date?
    Example:
    put any date and query will show all customer/ Vendor  that date opening/current balance.
    Regards,
    Mizan

    Hi mizan700 ,
    Try this
    SELECT T0.[DocNum] As 'Doc No.', T0.[CardCode] As 'Customer Code',
    T0.[CardName] As 'Customer Name',(T0.[DocTotal]-T0.[PaidSys]) As 'O/S Balance'
    FROM OINV T0 INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
    INNER JOIN OCRG T2 on T1.GroupCode = T2.GroupCode
    INNER JOIN INV1 T3 ON T0.DocEntry = T3.DocEntry
    WHERE T0.[DocStatus] ='O'
    AND
    (T0.[DocDate] >='[%0]' AND T0.[DocDate] <='[%1]')
    Regards:
    Balaji.S

  • 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.

  • 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

  • Daily opening balance for GL /Customer / Vendor

    Hi,
    I need to pull the data for GL / Customer / vendor daily opening balance in a z report.
    Kindly let me know any table thru which I can pick up these values.
    Regards,
    Ajay Gupte

    If you want just Customer and Vendor G/L Accounts - You can check the Tables BSIK and BSID. However if you want it for all accounts, check GLT0

  • How to find opening balance for customer?

    Hello Abapers,
    I have a requirement as i need to find opening balance for particualr customer in a  company.This is related to FI/CO modules.Please solve my porblem.
    Waiting for your favourable replies
    Regards
    Maruthi

    Hi Maruthi,
       Opening balance for a cutomer for a given period, u need to first find closing balance of that customer in the previous period. For eg. Suppose u want to find opening balance for customer 'A' for month of Nov'06, then U have to find wot was his closing balance in at end of Oct'06. Hope this solves u r problem

  • Entering opening balance for a new company

    Hi all
    I am using AP, GL and CM. After successful testing on test environment the customer now is forwarding in live environment.
    He has prepared open balance for all accounts and i should migrate these balances in the system.
    This balance sheet prepared from the customer is balanced so debits equals to credits.
    The currency of this company is ALL, and in this document there are few accounts that are in EUR and USD, but in total the converted amounts of these accounts(accounts that has balance in foreign currency) together with other accounts in ALL are balanced.
    Now i have to enter in the GL module three different journals, one in ALL, one in EUR and the last one in USD, with the exchange rates given by the customer.
    The question is here. These three journals are not balanced, and i wanted a suggestion which is the best way to enter the open balance for this customer.
    Thank you and best regards

    Hi Octavio
    So the document sent from the customer is like this:
    Acc. No------------Debit ALL-----Credit ALL----------Debit EUR-------Credit EUR----------------Debit USD----------Credit USD
    Acc. 1--------------100
    Acc. 2--------------150-------------------------------------100
    Acc. 3--------------150-------------------------------------100
    Acc. 4--------------200-----------------------------------------------------------------------------------------200
    Acc. 5--------------200-----------------------------------------------------------------------------------------200
    Acc. 6---------------------------------800
    Now accounts in foreign currency should have their balances in foreign currency and the converted amount is giving the balance in local currency.
    so i have to register three journals or am i wrong?? As you can see the journals in each currency are not balanced.
    Thanks again
    Edited by: user567002 on Nov 26, 2010 3:13 AM
    Edited by: user567002 on Nov 26, 2010 3:15 AM

  • Opening Balance for customer and vendor

    Hi All,
    i wana Find the opening balance of a customer and vendor. How do i do it? Shoudl i calculate it or is there any database table for that. PLz do help me.
    I have been recomended few tables like BSID, BSAD, but i dint find any field for opening balance. i didnt even find it in FD10N.
    thanks n regards.
    Santosh Kotra

    Hi,
    Opening balance of Customer means:
    Get the data from BSID and BSAD tables.
    You have to segregate the data based on the Posting date field(BUDAT).
    If you calculate all the open items amount (all DMBTR or WRBTR)  till 31.12.2006,
    then as on 1st January 2007 this amount will become the OPENING BALANCE of that customer.
    Similarly for Vendor calculate all the Open Items from BSIK and BSAK and do the similar exercise using the posting date.
    So this concept of Opening balnce is always with respect to a Date.
    Hope you understood.
    Regards,
    Anji

  • Function module to read customer balances for current fiscal year.

    Hi,
    Could anyone please tell me about the function module which would display the customer credit balances from the FD10n transaction code for teh current fiscal year. that means from july 2010 to july 2011.

    Hi,
    use the BAPI 'BAPI_AR_ACC_GETCURRENTBALANCE'
      CALL FUNCTION 'BAPI_AR_ACC_GETCURRENTBALANCE' "Closing balance of customer account in current fiscal year
      EXPORTING
        companycode =               " bapi3007_1-comp_code  Company code
        customer =                  " bapi3007_1-customer  Customer
      IMPORTING
        actual_balance =            " bapi3007_9    Carry forward balance and balance
        return =                    " bapireturn    Return Code
        .  "  BAPI_AR_ACC_GETCURRENTBALANCE
    This method provides a customer's balance for the current fiscal year.
    It displays both the balance of standard transactions and the total balance of standard transactions and all special general ledger transactions.
    Read the Documentation of the BAPI.
    Regards,
    Dhina..

  • Regarding    opening Balances  for customer  as   on date

    hi
    Experts..
      hw  to caluclate the  opening balances for  customers as on date.
      wt is  the procedure &  please    give the  tables names  and send needed stuff.
    Thanks & Regards
    Spandana

    hi..
    Use the BAPI 'BAPI_AR_ACC_GETOPENITEMS'.
    it will give you opning bal for customer.
    example:
    DATA: GT_LINE TYPE TABLE OF BAPI3007_2,
          WA TYPE BAPI3007_2.
    CALL FUNCTION 'BAPI_AR_ACC_GETOPENITEMS'
          EXPORTING
            COMPANYCODE = bukrs
            CUSTOMER    = kunnr
            KEYDATE     = date
          IMPORTING
            RETURN      = lt_bapireturn1
          TABLES
            LINEITEMS   = gt_line.
    table gt_line  will have the details of the open items for the customer.
    regards,
    Padma

  • Help!!! - When Creating Customer  I get this ERROR "Provide a positive integer for minimum customer balance amount or percent when balance amount overdue type is amount or percent respectively."

    When Creating Customer  I get this ERROR "Provide a positive integer for minimum customer balance amount or percent when balance amount overdue type is amount or percent respectively."
    I tried troubleshooting when I saw the another post and created with a new customer profile class, but still getting an error, though I created another profile like below and attached this to another existing customer it worked, but when I tried creating a new customer it is still giving me the error. I am Using Oracle Applications R12.1.1
    Steps I followed in Creating a New customer Profile
    ==== Make sure the new Customer Profile class which you will create is in active state. Cross check below steps while defining a customer Profile class.. e.g. Name : DEFAULT (and it's active)
    *1) Profile Class Tab :*
    a) Balance FWD Billing : Not enabled
    b) Invoicing --> Tax Printing ( Summarize By Tax Name), Grouping Rule (DEFAULT)
    c) Set Terms as per ur requirement , do allow discount & Override terms
    d) Set Dunning as per your requirement,
    e) Filled in Collectors info as per your requirement with Credit Check enabled...
    f) Receipt --> Auto cash Rule set as 'Standard'..
    *2) Late Charge Profile* Set it as per requirement
    *3) Profile Class Amounts* e.g Say Currency set as "USD"
    a) Credit Limit : 100000
    b) Order Credit Limit : 100000
    c) Minimum Receipt Amount : 1.00
    d) Min statement amount : 1.00
    e) don't put any value in Exchange Rate type (e.g, monthly, Plan etc..)
    f) Minimum Customer Balance : Amount ------> Value: 5.00
    g) Minimum Invoice Balance : Amount ------> Value: 5.00
    h) Minimum Charge per invoice : 1, Maximum Charge per Invoice : 100 Under Interest Charge
    i) mention Type as Fixed Rate, Value : 10
    j) You can avoid setting the Penalty Charge for the time being..
    Step-2_ a) Open a customer ..*go to Bill to site details* --> Click on Profile Tab --> Under Profile Class field please include new profile class which is created by you (e.g DEFAULT) . b) Go to Profile Amounts Tab --> Click(Show) on Currency USD --> Verify the set up here as well   I could see this.
    When I tried creating an new Customer using the new profile, it's repeating the same error. Please help.

    Hi
    You get this error when profile class amounts are not set for all the currency.  Go back to your profile and ensure that the profile amounts are set for all the currencies found, whether you are using it or not.
    Regards

  • Regarding Two Account Receivable for One customer

    Hi all,
    Can I set up two A/R receivable for one customer .For example :
    Equipment sales - A/R----
    Part sales -
    A/R
    However,A/R receivable can be set only at business partner level.
    Is there any work around .Please suggest me
    bishal

    HI,
    Suda is correct, that it is not possible.
    Even if it's possible that a system can split a Sales transaction to multiple receivable accounts, how upon payment?  With an accumulated-multiple receivable on one customer's account, the customer will not tell us that this much go to this A/R account and this much go to another A/R Account.
    In order to address the multiple A/R requirement of your accountant, try to study the following options
    OPTION #1
    I would suggest that you create multiple Customer Records in order to provide the multiple A/R Account .
    Implement a coding standard on the Customers with multiple A/R Accounts, such as
    C10023 - Customer with A/R Equipment
    C20023 - Customer with A/R Parts
    Since there will be issue on Payment for this option, create a UDF in the Incoming Payment module and assign an FMS with a query displaying the amount due for A/R Equipment and A/R Parts so that payment can be manually splitted between Customer Accounts.
    OPTION #2
    Maintain the standard of SAP Business One, and focus on the reporting part of the Balance Sheet.  You can create your own Balance Sheet report in order to futher split the A/R into 2 or several A/Rs depending on the transactions posted to A/R Invoices.
    Hope this help.
    Laurence Resubal
    Edited by: Laurence Resubal on Jun 19, 2008 10:46 AM

  • Report Open balance for Customers back in time

    Dear All,
    I would like to have a question: How can I report Highest Balances for Customers back in time? So I have to list Date and Amount, in the last one year, when Customers had their Highest Balances (highest outstanding amount). I have a transaction that can show actual status but I cannot report it for a long period in the past.
    Does anyone have an idea how could I do it?
    It would be very helpful.
    Thank you!
    A.

    Hello,
    Solution Manager does not desal with Customer Balances. Perhaps you wanted one of the banking industry forums, or FI AR/AP?
    In any event this question will not help you much in this forum.
    Regards,
    Paul

Maybe you are looking for

  • Mac Pro w/ Quadro FX 4500 not sending 1080p signal

    Hi, I've got a Mac Pro with an nVidia Quadro FX 4500 video card and I'm having a lot of difficulty getting OS X to send a 1080p signal to my high-end Sanyo PLV-HD10 projector via DVI. When I say 1080p, I mean 1920x1080 in progressive (non-interlaced)

  • How to uninstall the program "Utilities" from the Satellite A210

    How can I unistall the program "Utilities" from the Satellite A210. In the control panel I can uninstall the program "Value Added Package" but not "Utilities". With the A210 I can't work with the FN keys and on a German Toshiba help website I have fo

  • How to convert Subvi into Labview function

    Hi, I made costum vis of UDP Read and Write using dot net functions.when i tried to Make them reentrant. It is halting the application. i want to run these vis in sepate thread. Can you please tell me how can i convert  sub vi in labview fuction(like

  • REP-1800 error

    I am trying to run a report from my web deployed form. The report is supposed to be displayed on the screen in a PDF format. The problem is when i try to run it from forms through a button it gives me "REP-1800 Formatter error". I dont get this error

  • My MBP Screen goes gray and asks for restart when trying to open Adobe raw

    My MBP Screen goes gray and asks for restart when trying to open Adobe raw files. Even when I try to populate raw images in the brige the scree wipes gray and says I have to restart. I am using CS2 and the latest version 3.7 of Adobe camera raw. I ca