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

Similar Messages

  • 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

  • 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

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

  • 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 on FI-CA

    Dear FI-CA gurus.
    On FI-CA, how debit and credit is defined for FPE1?
    I could not find any configuration about Debit&Credit on
    EK01 or EK02.
    BR
    Y.Kaneko

    Hi,
    You need to first  configure the main and subs for the company code, the contract account belongs to in the following SPRO path-
    IMG->Financial Accounting->Contract AR&P->Basic functions->Posting&Documents->Document->Maintain Document Assignments->Define Account Assignments for Automatic Postings->Maintain Transactions for IS-U->Maintain Transactions for Other Receivables.
    When you are configuring you will find one option whether to set the main\sub as debit\credit.
    It depnds on whether you configure the main\subs for the company code at contract account level (division-independent) or the contarct level (division-dependent).
    After , you have performed the above activity, you need to maintain the GL account assingment of main\subs through t.code EK01 and EK02 respectively.
    String fro EK01-Company code, Account determination ID, main transaction, Debtors account...
    String for EK02-Company code, Account determination ID, main transaction, subtransaction, revenue account.....
    Both EK01 and EK02 are used for GL account determination.
    Here also configure the main\subs for the company code at contract account level (division-independent) the contarct level (division-dependent) depends on the decision that you want to post document at CA level or Contract level.
    After you have performed the above activity, go to t.code FPE1 to post a document aginst the CA\Contract using the particular set of main\sub.
    Hope it helps.....
    Thanks,
    Amlan

  • QUERY FOR CUSTOMERS FULL DEBIT AND CREDIT WITH CLOSING BALANCE

    Hi Friends,
       I need query for CUSTOMERS FULL DEBIT AND CREDIT WITH CLOSING BALANCE for selection criteria from date and to date.
       I know the Trial Balance Report will sort out this issue... but i need routeday wise report
    1. Business Partner Master Data - i created one UDF field called U_Routeday (MONDAY, TUESDAY, WEDNESDAY,THURSDAY,FRIDAY)
    2. The query should be like selection criteria 
                                  - Routeday [%0]
                                  - Posting Date [%1]                           
                                  - Posting Date [%2]
    CardCode
    Debit
    Credit
    Balance
    D10503
    25031.50
    24711.50
    2962.00
    D10641
    5466.00
    7460.00
    285.00
    D10642
    2866.00
    142.00
    give any helpful query ASAP... Thanks in advance

    Hi,
    Try this query:
    Declare
    @fromdate as datetime
    Declare
    @Todate as datetime
    Declare
    @Code as nvarchar(25)
    set
    @fromdate = ( select min(Ta.[RefDate]) from OJDT ta where
    Ta.[RefDate] >= [%0])
    set
    @Todate = ( select max(Tb.[RefDate]) from OJDT tb where Tb.[RefDate]
    <= [%1])
    set
    @code = (select max(Tc.[ShortName]) from JDT1 tC where Tc.[ShortName]
    = [%2])
    SELECT
    [Name] as AcctName, [Jan]= sum([1]), [Feb]= sum([2]), [Mar]=
    sum([3]), [Apr]= sum([4]),  [May]= sum([5]), [June]= sum([6]),
    [July]= sum([7]), [Aug]= sum([8]), [Sept]= sum([9]), [Oct]=
    sum([10]), [Nov]= sum([11]), [Dec]= sum([12]), total = sum
    (isnull([1],0)+ isnull([2],0) + isnull([3],0) + isnull([4],0) +
    isnull([5],0) + isnull([6],0) + isnull([7],0) + isnull([8],0) +
    isnull([9],0)+ isnull([10],0) + isnull([11],0) + isnull([12],0))
    from
    (SELECT
    T0.[ShortName] as Name, sum(T0.[Debit]-T0.[Credit]) as T,
    month(T2.[RefDate]) as month FROM JDT1 T0  INNER JOIN OACT T1 ON
    T0.Account = T1.AcctCode INNER JOIN OJDT T2 ON T0.TransId =
    T2.TransId WHERE T2.[RefDate] between @fromdate and @todate and
    T0.[ShortName]  = @code  GROUP BY T0.[ShortName],T2.[RefDate] ) S
    Pivot
    (sum(T)
    For  Month IN ([1],[2],[3],[4],[5],[6],[7],[8],[9],[10],[11],[12])) P
    group
    by [Name],[1],[2],[3],[4],[5],[6],[7],[8],[9],[10],[11],[12]
    Let me know your result.
    Thanks & Regards,
    Nagarajan

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

  • 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

  • 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 in FB50

    Dear All,
    We use FB50 to post JV's. Is there any way to display the difference b/w Debit and Credit on the same screen without simulating. When there is a difference in Debit and Credit the indicator is red and when Debit is equal to credit indicator is green.
    Syed Abid Hussain

    Hi San,
    Yes we can use f-02 and it shows the balance. But as you know that FB50 is enjoy screen that is why the user is convenient in posting.
    What I want to know if I can see the debit credit difference on the screen in FB50.
    Syed Abid Hussain

  • 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

Maybe you are looking for

  • Can i get my purchased music on a new pc?

    I've recently gotten a new computer, and want to put my purchased music on the new itunes on that new computer. is there a way to do this?

  • I want to cancel Creative Cloud ... but can't get through to the gatekeepers

    Like so many others I've been tearing my hair out in an effort to cancel Creative Cloud, which has never worked on my computer. I tried the 1-800 number, but after costing me a lot of money (due to long waits and a per-minute charge on my phone plan)

  • When i edit my vocal files in logic pro 9, everything crashes. please help.

    i'm running logic pro 9 and only when i edit certain vocal files.. my entire session crashes!! what could be the problem?!?!? thank you very much i've attached the crash report maybe someone can make sense of it! thanks!! Process: Logic Pro 999 Path:

  • Pre-Install Endpoint Protection

    Good morning. We have a large number of Windows 8.1 Tablets used by our students. At the end of each course the Tablets are removed form Intune, Re-Imaged and rejoined back to Intune. The only thing that's causes us a headache is the amount of time i

  • GL Account FSV

    Hi all, I have my GL accounts in BW against 0GL_ACCOUNT. This has an attribute 0GLACCEXT - Financial Statement Item. The GL account has Master data while the 0GLACCEXT has the FSVs imported from ECC. In BPC, I have only GL account. How can I assign t