Customer opening debit credit balance table

Dear Gurus,
I  want  to  develop  zreport  customer Vendor ledger in the format Opening Debit Credit balance Is there any table contains Profit Centre , Balance ,Monthly DebitCredit ? There is table which I know but profit centre are not maintained in that table
For Customer KNC1 and
for vendor LFC1
Please help
Regard's
Sai_abap

Hello Shahzaib,
Try Following,
Select acc_id,Opening_balance, DECODE(cb.C, 0, Opening_balance, cb.C), DECODE(Cb.D, 0, Opening_balance,Cb.D)
from COA,
(Select cb_acc_id,sum(nvl(dabit,0)) D ,sum(nvl(credit,0)) C from cb where
cb_acc_id=:p_1 and
vdate < :Date_from
Group by cb_acc_id)CB
Where acc_id=:P_1
Please mark if it help you or correct
Regards,
Danish

Similar Messages

  • Interest in F.2B not required if customer has a credit balance.

    Hi all,
    When i calculate interest in F.2B, its also calculating if the customer has a credit balance. I dodnot want interest to be calculated if customer has a credit balance.
    Could anyone please let me know if there is any setting or any userexit to meet this requirement.
    Regards,
    SKD

    innerCityLets wrote:
    =SUMIFS(Bookings::Y,Bookings::I,">"&Table 5 :: F1,Bookings::I,"<="&Table 5 :: G1,Bookings::B2:B645,"=Apartment1")
    That's better!
    Just for reference, we're working with the syntax: SUMIFS(sum-values, test-values, condition, test-values…, condition…)
    The way I understand the problem now, you just need to have two SUMIFS functions added together. The expression would go something like this:
    =SUMIFS(Bookings::Y,Bookings::I,">"&Table 5 :: F1,Bookings::I,"<="&Table 5 :: G1,Bookings::B2:B645,"=Apartment1")
    +
    (Now, we need the same expression again with different parameters...)
    SUMIFS(Bookings::Y, Z, "<>"&"",Bookings::I,">"&Table 5 :: F1,Bookings::I,"<="&Table 5 :: G1,Bookings::B2:B645,"=Apartment1")
    Note that I have partitioned the parameter pairs by color.
    The "Sum-values" parameter is Bookings::Y. Do you wish to use this same column under the second condition? If not, replace it with the proper range.
    Next, I added the test for content in Column Z.
    After that, there are three more condition pairs. I think I get that the reference to column P becomes a reference to column I. I'll let you work out those details. This method will the totals under one condition added to the totals under another condition. And I have suggested a method for determining whether there as been an input in a cell.
    Jerry

  • Payment orders when a customer has a credit balance

    Hello,
    I was able to generate a payment order for a customer.  But when a customer has a credit note attached to it that it effectively renders the total as a credit balance,  I am unable to do so.  When I select on the credit note, it comes up with an error "Enter a payment method for outgoing payments".   Is there a way, that I could overcome this error without creating another payment method?  Because its possible for this company that the customer can have credit balance even though we should just be collecting money from them.
    Thanks and regards,
    Tess

    Hi,
    It is a SAP a standard behavior in case of Debit  balance of Vendor or Credit balance of Customer it gives as an error.
    Hence, in this case we need to do manual clearing through F-44 for Vendor and F-32 for Customer.
    Regards,
    Tejas

  • General Ledger PLD month wise Debit,Credit,Balance total of a G/L account

    Dear all,
    How to customize template in General Ledger PLD monthwise Debit,Credit,Balance total of a G/L acct ?
    Jeyakanthan

    Hi,
    you can display or hide columns from  Formsettings.
    Rgds,
    Premraj

  • Opening + Debit - Credit where vdate :Date_from in report

    Hi All
    I have 2 Table one is COA 2nd is CB
    In COA i have two acc_id,Opening and in CB i have 4 Column
    Cb_acc_id,
    Debit
    Credit
    vdate
    When i Run this query in report
    Select acc_id,Opening_balance,cb.C,Cb.D from COA,+
    *(Select cb_acc_id,sum(nvl(dabit,0)) D ,sum(nvl(credit,0)) C from cb where*
    cb_acc_id=:p_1 and+
    vdate  < :Date_from+
    Group by cb_acc_id)CB+
    Where acc_id=:P_1+
    Its working but if My Debit and Credit = 0 its not showing my Opening Balance
    My opening balance is 15000
    i need when my debit and credit remain 0 its show me opening balance
    I hope you guys understand
    Regards
    Shahzaib ismail
    Developer 6I Database 10g

    Hello Shahzaib,
    Try Following,
    Select acc_id,Opening_balance, DECODE(cb.C, 0, Opening_balance, cb.C), DECODE(Cb.D, 0, Opening_balance,Cb.D)
    from COA,
    (Select cb_acc_id,sum(nvl(dabit,0)) D ,sum(nvl(credit,0)) C from cb where
    cb_acc_id=:p_1 and
    vdate < :Date_from
    Group by cb_acc_id)CB
    Where acc_id=:P_1
    Please mark if it help you or correct
    Regards,
    Danish

  • Customer Opening Or Closing Balances

    Moderator message: do not offer points
    Hi,
    Can anybody tell me the Table or T.code where the Customer Opening/Closing Balances are maintained.
    <<Text removed>>
    Thanks.
    Kamal
    Edited by: Matt on Nov 22, 2008 6:04 PM

    Hi Kamal,
    pls check following tables,
    KNC1,
    BSID,
    BSAD
    and tcodes is,
    FBL5N,
    Regards,
    Arpit

  • Reclassification of Debit & Credit balances TC:-FAGLF101 is not happening

    Hi
    We are trying to run the transction FAGLF101 for reclassification of debit and credit balances
    under one company we are have 4 company codes , we are able to post and generate entries for 3 company codes and not happening for one company code alone
    we have checked the setting in OBBU/OBBV/OBBW all are correct, kindly let me know
    1.Is there any particularly settings we have to make on company code basis ,
    2.what all the config in need to check out
    3. any config changes i need to make
    kindly do the needful
    thanks & regards
    salva bindu

    Hello Suresh
    Could you help me with these questions on the configuration of valuation method assigned to valuation area:-
    1. Significance of "determine exchange rate type from act bal" and "determine exchange rate type from invoice reference". How is exchange rate type determined at account balance? Is it that for regrouping of customer / vendor accounts it is required to detrmine exchange rate type from account balance?
    2. What is the significance of valuation area in regrouping? Can i not use the same valuation method mapped to valuation area as configured for foreign currency valuation i.e EVR (standard SAP)?
    3. What are the valuation method settings for US GAAP and IFRS for regrouping?
    Thanks
    Anisha

  • Customer statements for credit balances (F.27)

    We need to be able to run "Periodic Account Statements in SAP, transaction F.27, for customers that have a credit balance.
    For clarity, this is a balance that is less than ZERO, for example if a customer has an outstanding credit item on their account that exceeds any debit amount, eg: invoice for $100, payment for $150, net CREDIT balance of ($50)
    In accordance with direction from our auditors, we need to be able to print and send these statements, as we do with the present process of sending monthly statements to customers that have a debit balance, and send them to customers. I'd be really surprised if this functionality is not built into SAP.
    My Question is: Can this change be made using a built-in functionality in SAP like make config changes in SAP IMG or would this need to be programmed? If it can be done in SAP by making config changes please post the steps. Thanks.

    SOLUTION:
    When you run the transaction F.27 you specify a Company code and a Correspondence type. The correspondence type has a print program and a variant associated to it through SAP IMG (config). During its run F.27 calls the program + variant dynamically. The variant controls the selection screen of that print program. One of the fields on that selection screens is "Balance in local currency". The value for that field was set to greater than zero (Balance in local currency > 0). This is why F.27 was skipping any Customer Statements which had a balance less than zero (i.e. credit balance).
    You can check the program name and variant associated with a correspondence type by following this path in SAP IMG:
    SPRO > SAP Reference IMG > SAP Customizing Implementation Guide > Financial Accounting > Financial Accounting Global Settings > Correspondence > Assign programs for Correspondence Types
    and you can modify the variant by using transaction SE38.

  • Opening And Closing Balance Table

    Hi All
    Will any one tell me table name and field name which contain the Opening and closing balance quantity at any specific date ?
    Thanks and regards
    Deepak Tyagi

    Hi Deepak Tyagi,
    FYI: There is no such table/field exists.
    Thanks,
    Gordon

  • Debit/Credit Balances and Account Hierarchy

    Hi
    I need to show accounts in the Account Hierarchy according to whether the account has a debit or credit balance. For example, if an account has a debit balance, it must be displayed under debtors and if it has a credit balance, under creditors.
    How can I do this type of reporting in BPC, when the same d/c indicator as in the Financial Statement Version in ERP is not available in BPC?
    Any response appreciated.
    L.

    Hi Lambertus,
    BPC doesn't have something like the financial statement version built in. Neither does BW, actually, but there are business content transformations and queries that use some complex methods to do the kind of reporting you are talking about.
    In BPC I think you are going to need three accounts to accomplish this functionality - one in each branch of the hierarchy (accounts A & B in the example), plus one account that you actually load data into (account C in the example), which will not be displayed in the hierarchy. The two accounts in the hierarchy will either be formula accounts (not ideal) or populated using MDX script logic (better because the values will roll up the hierarchy). Your MDX, either in a formula or a script, would need to look something like this:
    [ACCOUNT].[#A] = iif([ACCOUNT].[C] >= 0, [ACCOUNT].[C], 0)
    [ACCOUNT].[#B] = iif([ACCOUNT].[C] < 0, [ACCOUNT].[C], 0)
    Have I tested this code? No. So buyer beware. But hopefully it sets you on the right track.
    Ethan

  • UP loading Customer open item and balance

    Dear All,
    We are going live in few days. My client had given me a file for  all the open items and a file for the balances. We lready have the customer masters in SAP. I have to upload the open items as well balances to SAP using LSMW. 
    I know for uploading in LSMW i have to call tr code FB01 but what about Balance Upload? Which transaction Code I have to call in LSMW for balance upload.
    But how to do.
    Please provide me steps for doing that.
    Thanks in Advance
    Pratiksha
    My email id is [email protected]
    If possible please send me any documentation on this

    Hi Pratiksha & Smile,
    At the time of Uploading Cut Over Data, in addition to all the required Gl accounts we would also create Cutover Data Upload clearing Gl Account.
    When you are trying to Upload the Debit items in the Trial balance you would credit this Gl account and Debit this GL account when you are trying to upload Credit items in the Trial balance.
    Please note the point that the Assets GL Accounts have to be converted to normal GL accounts so that data can be entered, as you may not be able to upload the balances as they would be configured as Recon account and balances cannot be posted directly.
    Similarly the Customer and Vendor balances also have to posted separetly as these Gl accounts are also Recon accounts.
    Inventory balancces would be  uploaded from MM module.
    Once all the balances in the trial balance are uploaded, this clearing GL would have a nill balance. Then this Gl account has to be blocked for further posting.
    Once the Assets are Uploded individually using AS91,go to T Code OAMK and reset the Asset Gl accounts to Recon accounts.
    Regards
    Phani

  • Retrieve Debit /Credit balance

    Hi
    I have loaded my values with debits and credits. credits are negative
    So here is an example of my data, i'm just showing the account dimension and the amount.
    Account............Amount
    121000..............1000.00
    121000..............-2000.00
    So if I pull the balance for this account I get -1000.00
    But I need to be also able to pull the debit or the credit amount on it own.
    Example
    Debit movement...........1000
    Credit Movement........._-2000_
    Total for account..........-1000
    is it possible to pull the debit or credit amount??

    Hi Louis,
    As nilanjan rightly pointed, you need to maintain the Flow Dimension. It is of Type "Sub Table". With this, you can differentiate the data depending on Debit n Credit.
    For Example. If you maintain a Sub Table Dimension like (Small example)
    ID            ParentH1
    All          
    Credit      All
    Debit       All
    You can show the credit n debit like:
    Account        Flow        Value
    121000          Debit        1000
    121000          Credit       -2000
    and when you dont want to show the difference, you can show something like this:
    Account        Flow        Value
    121000          All           -1000
    I hope this will help you. May be you can research more on the Flow (Sub Table) Dimension.
    Regards, Rishi

  • Debit & Credit Balance Query

    Hi Every One Im New Here..
    Firstly I Say .. If Im Post In Wrong Section Then Plz Move My Post. Its My First Post.
    Here Is My Question..
    I Have Two Tables.
    Please Tell Me How To Get Running Balance.
    Im Also Read Other Related Topic But Im Failed To Understand Plz Solve My Problem.
    Table Details Is Here !
    Table 1 : Users
    UID,Name,Description
    Table 2 : Balance
    BID,UID,Date,Dr,Cr,Description

    * I must say that you really do not invest on the question and gives us do all the work for you. This is bad! For example:
    >> You show us images, and tell us stories, what can we do with those? can we query an image? Instead of images you should post INSERT query with some sample data, as I did!
    I already wrote it in my forsy response! It was OK for first time, not for the continues discussion!
    ** In the next time please
    post queries to create the tables, and to insert some sample data, instead of "stories". It is faster and much more clear for us to see and if need reproduce the tables in our server in order to post a solution. This is example of
    what you should have post:
    >> You post "result that you want to get" without any result! what can we guess from this arrow?!?
    Why not to post the real result that you want to get, according to the sample data (which you did not post and we can only see in the image)?!?
    This is free supporting forum and you ask us too mu7ch in my opinion, while doing to little to help us to help you.
    If this is not what you need, then please start over and (1) post the create table query (2) post insert data queries that we will have the same data as the image (3) post the result that you want to get and not just a arrow.
    I think that this is what you need, please check if this help you:
    -- Current Balance
    select [UID],[Cr],[Dr], SUM(ISNULL([Cr],0)+ISNULL([Dr]*(-1),0)) OVER (partition by [UID] order by BID) as Current_Balance
    from Balance
    I hope this is helpful :-)
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]

  • Customer credit balance to include linked vendor balance

    Hi Expert,
    As per requirement, i need to include Vendor balance (associated to customer master) in customer credit balance (Table KNKK - Filed Receivables).
    Can you provide any pointer towards this on how the same can be achieved (either by SAP configuration OR Z Developments).
    Thanks in advance...
    Regards,
    Ravi Mantri

    Hi
    Enter Customer Number in Vendor Master (General data/Control data) and go to Company code data /payment transactions tab and select clearing with vendor check box
    Do the same in Customer Master as well by linking with above Vendor.
    Srinivas

  • Customer open item analysis by balance of overdue items

    Hi All,
    Is there any provision for knowing the customer open items by balance of overdue items in the customer line item display in the t-code FBL5N. The standard process is through the S_ALR_87012178
    Regards,
    Arvind

    Dear friend
    You may not get as ggod as report but u check ,there are some lay out. one lay out name is dunning data.
    you can get there  day of arrers.
    hope it will help you
    Jain

Maybe you are looking for

  • I need a older version of firefox, where do I get it?

    I just had to update my computer O.S. to windows 7, I need a version that isn't version 9. Version 7 or 8 will do, I think. Where can I get this version? Thank You, Bill parker

  • Currency Format in chart

    Hi, I have displayed bar chart in pdf. The chart is currently displaying chart data like 1,757.25. I want to change it to dutch format like 1.757,25 and also a euro symbol should be added as a prefix. Can this be done by modifying the alt text of the

  • Save Data from multiple frames

    Hi to all, I am very new to Java... What I want to do is to save the data entered in textfields and selected in comboboxes from various frames in my application in one single text file. Is that possible? Thanking in advance sotirios

  • Question for Kappy: reading DVD in a PC

    I am planning on scanning hundreds of 35 mm.slide films with my Mac (OS X) using brand new, unformatted DVDs to send to a friend in Sweden who has a PC. Will she be able to read those small JPEG scanned files?

  • Any function module to retrieve all Payment Run Data

    I am looking for a RFC enabled function module which would retrieve all the data related to Payment Run.( Tables REGUH REGUP, PAYR, BKPF, BSEG) Any idea or pointers ?