How to separate debit and credit values in gl statement report (daywise)

hi
experts,
i have report.
selection criteria is
chars of account.
gl account
date .
how to separate debit and credit values in gl statement?.(i know there is a indicator shkzg).
but send me code.
op
date,   total credit,total debit , balances.
also calculate opening and closing balance.
u created such type of report then plz help me.
thanks&regards.\
ajay.

Hi,
Usually it can be determined using the field shkzg. If it contain 'S' its debit and if it contains 'H' then its credit.
Before showing the amount you need to do like;
IF wa_gl-shkzg = 'H'.
wa_gl-dmbtr = wa_gl-dmbtr * (-1). " dbmtr - amount
ENDIF.
This will solve your problem.
Regards
Karthik D
Edited by: Karthik D on Jun 3, 2009 12:29 PM

Similar Messages

  • How to know debit and credit transaction key for movement type

    Hi,
    With T. code OMWB  account assignment simulation we can see all the accounts which are involve for debit and credit enties   but I want to know is there any T. code or method  with which we can know  which transaction key will be debit and which will be credited  like  for movement type  101 the transaction keys are GBB, BSX  WRX  etc.  i want o know whethere GBB a

    Hi,
      Thanks for your reply,  but with this we can see the for GBB which is the credit account and which account is use for debit entry,  like this for all transaction event key like WRX, BSX etc. we can see the G/L account use for Debit and credit,  but i want to know for particular selction of Plant, material , movement type,  my GBB account will have entry in debit account or credit account  How we can know this.
    regards,
    zafar

  • Report FS Item debit and credit separated

    Dear Gurus,
    In FI Financial Statement Variant is usual to separate debit and credit balance in diferent nodes for some accounts. This is done because debit is taken as asset and credit as liability.
    I'm triying to do this in FS Item Hierarchy, but unable. Consolidation database stores total account balance (debit + credit), and query shows the same information. I tried with the sign in the FS item definition, but it changes in both nodes.
    Any clues on how to do this?
    Thanks in advance for your help.
    Best regards,
    Manuel.

    Hello Manuel,
    Thanks for your detailed information. Now it's more understandable what you meant.
    OK. Here we go.
    There are 2 characteristics in SEM-BCS which may change the sign of the incoming during data load amounts : MovementType and FS item itself. Debit sign represent plus and credit sign u2013 minus. The signs may act together: if the data load method usage of both signs is set up, then the resulting amount is determined as following:
    Resulting amount = Incoming amount * SignOfItem * SignOfMoveType.
    Certainly, itu2019s possible to use a sign only one of the characteristics or not to use at all.
    Again, it is related only to the uploaded information. And the sign of the turnover should be determined by the supplying system, since itu2019s clear that on the asset account might be credit activities, and for example, on a liability account u2013 debit activity.
    The system expects the internal presentation of amounts in the database as conforming the accounting logic (with small numbers of exceptions):
    Assets in B/S and Expenses in I/S as positive and
    Equity and liabilities in B/S and Revenues in I/S u2013 negative.
    The external presentation of  reports depend completely on:
    1.     hierarchies built on FS items (if used in queries)
    2.     structure of queries.
    Theoretically, I may construct a BEx query where all positive amounts will be in one column and all negatives u2013 in another one.
    >
    > As a workaround, I think that the following will do (if possible): 0BCS_C50 infocube has only total balance for each account. The solution would be to show total balance in assets if credit balance or show total balance in liabilities if debit balance.
    Then, if to remember about internal presentation of the amounts in the B/S, it's easier to apply the following logic:
    Negative amounts on the assets accounts is to be reclassified to liabilities and
    Positive amounts on the liabilities accounts  is to be reclassified to assets.
    Reclasses in SEM-BCS may do such a job.

  • How to Post a a debit and credit in background? Reclassificaton

    Hi Gurus,
    I have a question regarding how to post a debit and credit in background? In fact I create an internal table and displayed in ALV grid where there are the amounts in local and transaction currency which are atypical. And after I have to post them for a reclassification because those amounts are not correct depending it is a vendor or customer.
    I would like to know if there is a function that I can use. I found a bapi 'AcctngGLPosting' but to be honnest I don't know how to use it. There is no example.
    Ayone could please help me?
    Thanks in advance.
    Regards,
    Mohamed.

    Hi,
    Check this for a example for BAPI_ACC_GL_POSTING_POST
    [http://www.sapfans.com/forums/viewtopic.php?p=546963&sid=6f418d93956fdc91bdb5e7544a9d77ef]
    Regards,
    Vik

  • How system debit and credit gl accounts in integration entries

    Hi Friends,
    I hav little bit confusion in integration for ex; take while goods receipt
    here the entry will be
    inv. rawmaterial a/c --dr
       to gr/ir clearing a/c
    as per my knowledge with the help of movement type system wll debit n credit the accounts
    here i have just conceptual knowledge.. any expert can explain how it wll debit n credit a gl account .. on what parameters it wll decide..
    pls explain me in details
    send me to my mail i e. [email protected]
    points assured
    thanks in advance
    siva s

    Hi Agarwal,
    Thank u for u r quick response.
    But my doubt is here the postings are made by system automatically we are not giving either 40 or 50 right.
    What is the technique or mechanism the system follows to debit and credit gl accounts .. if soo.. where can we see that mechanism.
    pls clarify me experts.
    mail id [email protected]
    thnk u
    siva s

  • Debit and credit note - integration between mm & sd with fi

    Hi,
    How does the information flow from MM & SD to FI in the process of raising a DEBIT and CREDIT NOTES' respectively?
    (I'm aware of the fact that we need to define the document types "KG" and "DG" and raise the aforementioned by using F-41 & F-27).
    However, my doubts are:
    1. At what point do we need an FI-MM and FI-SD integration in raising the debit and credit notes'.
    2. What is the role of an MM and SD end user along with FI end user in raising the DEBIT AND CREDIT notes, i.e., how do we deal with the inventory in MM in the process of PURCHASE RETURNS and the goods and value of goods sold as far as SALES RETURNS IS concerned, i.e., once purchase returns and sales returns are booked in the relevant deparments, at what point does an accounts executive or FI end user come into picture to raise the aforementioned.
    Regards
    Sandhya

    Hi,
    How does the information flow from MM & SD to FI in the process of raising a DEBIT and CREDIT NOTES' respectively?
    (I'm aware of the fact that we need to define the document types "KG" and "DG" and raise the aforementioned by using F-41 & F-27).
    However, my doubts are:
    1. At what point do we need an FI-MM and FI-SD integration in raising the debit and credit notes'.
    2. What is the role of an MM and SD end user along with FI end user in raising the DEBIT AND CREDIT notes, i.e., how do we deal with the inventory in MM in the process of PURCHASE RETURNS and the goods and value of goods sold as far as SALES RETURNS IS concerned, i.e., once purchase returns and sales returns are booked in the relevant deparments, at what point does an accounts executive or FI end user come into picture to raise the aforementioned.
    Regards
    Sandhya

  • Debit and Credit notes not to update COPA cost of sales when doing price ad

    Hi Experts,
    Please help me to fix the below issue.
    When we correct price adjustments on customer accounts we use debit and credit notes to do these price corrections. We first process a ZCR order type with reference to the original invoice to reverse the transaction and then we process a debit meme request ZDR with the correct details to invoice the customer correctly.
    These credit and Debit memo request are purley for pricing problems and do not effect cost of sales. Currently these Debit and credit memos are updating the cost of Sales value field (COS on Market Price - VV013) .
    This creates a problem since the credit and debit memo happen in subsequent months e.g. The credit memo is reversed at the old cost of sales value since SAP keeps a reference to the cost of sales at that time but the debit memo creates the cost sales at the new standard cost which is obviously not the same as the original cost of sales. We therefore sit with differences which will not equal FI since FI cost of sales was updated with the goods issue price in the month that the goods issue happened.
    We therefore need to zerorise the following value fields when doing ZDR dedit memo and billing type ZL2 and ZCR credit memo billing type ZG2.
    Gross Weight in KG VV004
    Invoiced Qty KG net VV002
    Invoiced Qty in L VV001
    Invoiced Qty in L15 VV003
    Invoiced Quantity VV005
    COS on Market Price VV013
    VV001 to VV005 are quantity fields and VV013 is Value field.
    Please help me how to fix the issue.
    Regards,
    Amar.

    Hi,
    Sorry, I probably confused things by mentioning Revenue. Your settings are correct, with Revenue defined as a revenue element (11) rather than a cost element (1).
    With respect to WIP (P&L), I would create it as a cost element, since it represents the absorption of cost centre costs and materials into the production of goods, even though the goods are not yet complete. When the goods are completed they will be credited in CO-OM and debited to stock using a similar entry. The impact of these credits (to WIP or to Stock) is to move costs out of CO-OM into the goods produced (CoGS). In CO-OM, the net result of Costs less credits to WIP/Stock, indicates the efficiency of your cost centres or the accuracy of your standards.
    I would also create the manufacturing variance accounts as Cost Elements and settle them back to your production costs centres (or possibly CO-PA if you used it), since they are also a reflection of the efficiency of your cost centres - i.e. if a Cost Centre manager is not achieving the standards, (s)he should be accountable for the variance, and if you are concerned about reconciling CO-OM and the costs in P&L, you won't reconcile if the variances aren't posted back to CO.
    Regards,
    Marc

  • FI Customer Account Statement with Debit and Credit Columns

    Hi SAP Expert,
    We are using form (developed from T-code: SE71) to send customer account statment for only open items this is working fine.
    Now My wants customer account statement for all transactions but with debit and credit in a separate columns. is there any way we fulfill these kind of request?
    if any particular logic then let me know please.
    thanks in advance
    b/r
    prashant rane

    Dear Vivek,
    You logic is helpful can I apply this in SE71 form development?
    Below is my customer layout format
    Document # | Document Date | Reference | Debit Amt | Credit Amt |
    In bottom toal Debit / credit balance figure
    can I use any code/login is SE71 form or I will need to create any development report which involves user exit?
    I am looking for SE71 optios first
    thanks in advance
    Prashant Rane

  • Not able to generate total for debit and credit columns in FSG

    SR 3-1507064871
    Version - 12.0.6
    Created a FSG report using "Note 311912.1 - How to Create FSGs to show Debit and Credit Balances in Different Columns"
    But not being able to get the totals of the columns.
    When trying to do totals, it always sum up and brings the result as zero.
    Edited by: user10637798 on Mar 15, 2010 3:17 AM

    Please relink all executables on test and retest the issue
    if issue still exist then
    please see
    A Few Tests Might Be Corrupted When Running A Diagnostics Test [ID 1377769.1]
    please reapply those patches with adpatch option given in the doc and retest the issue on test
    AppsMAsti
    Sharing is Caring

  • Use of cost relevant Item categories L2N and G2N for debit and credit memo

    Dear Forum memebers,
    For  credit and debit memo  one of the customised client repot is showing  cost value which is not expected for credit and debit memo in the invoice register.
    This is due to use of L2N and G2N which are cost relevant item categories.
    Why should debit and credit memo item category should be cost relevant.??
    Best Regards,
    Kanwal

    Well if your company do not want to adjust the cost of goods sold when any credit / debit is raised, then yes you can go ahead.
    Thanks
    Sai
    Edited by: Sai on Nov 18, 2009 7:47 PM

  • Debit and credit memos

    HI
    Can anyone give me some information on debit and credit memos?
    Thanks and Regards
    Davinder Singh

    Hi Davinder,
    Credit memo is a posting that reduces the balance of receivables or payables.
    Eg : We raise a PR for 10 Pc @ Rs.10.
           If the vendor enters the price as Rs.15/pc wrongly , the total amount payable
    becomes Rs.150. Here a credit memo is raised for Rs.50, so that we need to pay only Rs.100.
    Also you can imagine of situations, where there is a discount for a particular material, but the discount entry is missed, In such situations also a credit memo is raised to adjust either the value or qty (If in case the entered qty varies).
    Debit memo is an ordinary invoice.
    Pl. reward if useful.
    Regards,
    Senthilkumar SD

  • About G/L Account debit and credit

    Hi SAP Gurus,
    Please explain
    Ex.  When i am buying the material from vendor having net value 10000.Which includes Excise Duty, Cess, Freight, P&F Charges.
    Now the invoice is posted  and it was verified  against PO. No descrepencies found in between  invoice and PO ,now  invoice is posted.
    In above example which various accounts are posted by the system.Also which of them are debited and credited.
    I am confused about the concept of Debit and credit.

    Hi,
    Please go through the following link
    http://help.sap.com/erp2005_ehp_02/helpdata/en/a8/b99f58452b11d189430000e829fbbd/frameset.htm
    BR
    Diwakar

  • Show debit and credit of documents

    Hi,
    what is the transaction with which i can show the debit and the credit of each document.
    for e.g with FBL3N we can show documents but we must enter inside for showing details (debit and credit).
    for having a quick consultation of documents how to do?
    please help,
    regards

    Hi,
    what is the transaction with which i can show the debit and the credit of each document?
    for e.g with FBL3N we can show documents but we must enter inside for showing details (debit and credit).
    please help,
    regards

  • Debit and credit accounts with a movement type

    Hi,
        I want to know how we can get detiils about whenver there is a goods movement then which account will be debited and which account will be credited,  in  OMWB,  we can see all the account but how to know which will be debited and which will be credited.
      regards,
       zafar

    Hi,
       When I check in OMWB - Simulation for one material for movement type 201,
    Posting Lines Text                     VlGCd       AGC        VCl       PK                 Acct Deb.              PK                     Acct Cr.
    Inventory posting                        0001        -e-           2000    89                     300002                99                        300002
    Offsetting entry for inventory    0001                        2000     81                    --Missing-             91                        --Missing
    Offsetting entry for inventory    0001                        2000     81                    --Missing-             91                         --Missing
    Gain/loss from revaluation          0001          -e-         2000    83                         233000            93                           233000
    Inventory posting                        0001         -e-          2000     89                         300002          99                             300002
    Cost (price) differences              0001         -e-          2000    83                          893022         93                             893022
    Offsetting entry for inventory     0001        VBR         2000    81                          890000          91                               890000
    Inventory posting                          0001         -e-          2000                                                       99                                300002
    and when I have done one goods movement for materai; with movement type 201,  the accounting entry is generated as below
    MS10     1     99          300002     Intermediate Goods S     44.00-     INR     
    MS10     2     81          890000     Consumption of SFG     44.00     INR     
    as per this from account 300002  amount 44 is deducted  and in account 890000 Amount 44 is added     
    now i have not clear  in simulation it is showing so amny accounts  then how to know whcih account is getting updated debit and credi   also what is meaning of  -e- IN agc, 
      regards,
       zafar

  • Debit and credit together in MIRO

    Hi Friends
    I  created PO with details
    PO        Amount      Tax     Total with Tax Cost Center   Quantity     Value     GL Account
    4500121820        2,000.00     200     2,100.00             10        1000     1000     100000
                                 11         1000     1000     100000
    Credit / Debit                                                  
    PO     Invoice No     Amt     Tax     Total     Cost Center     Quantity     Value     GL Account     Tax
    4500121821     ABCD     0.00     0     0.00     1105000715     -500     -500     613000     -50
                             1109199575     500     500     613000     50
    is it possible to have both credit and debit in Single invoice ?
    Please confirm.
    Rgds
    Madhavan

    Hi Sam,
    Is it possible to have both debit and credit in single invocie creation.
    PO created with multiple cost center. GR not expected. During MIRO, in single invocie creation i like to have debit for one cost center and debit for another cost center. Is it possible to heve both debit and credit transaction in Single Invoice ?
    Example
    PO No  value 2000, tax 200 total value 2200, Line item created with K account assignement , Multiple cost center havign cost center No.10  value 1000 and cost center No. 20. and value 1000 
    I want to do MIRO Invocie
    Cost center No 10, Value -500(Credit) and Cost center No 20  value 500 (debit)
    Is it possible to do both debit and credit in Single Invocie ? Please confirm.
    Madhavan
    Edited by: Madhavan SR on Jun 25, 2010 6:14 AM

Maybe you are looking for