Debit/credit difference
<<Do not ask for or offer points>>
Hello Experts,
We have SQL script to check if the document total of created CM gives is as same as debit/credit column in the G/L report. The script will be used in the PLD development. Here is the query:
select l.Segment_0+'-'+l.Segment_1, a.debit, a.credit, case when b.transtype = '13' then -f.LineTotal
when b.transtype = '14' then (g.linetotal) when b.TransType = '30' then (select distinct case when s.debit <> 0 then s.debit when s.credit <> 0 then (-s.credit) end from jdt1 s
inner join ojdt t on t.transid = s.transid where s.account = a.account and t.TransId = b.TransId
and t.TransType = b.TransType) end as 'Detail Total All Docs. (LC)' from JDT1 a inner join OJDT b on b.TransId = a.TransId inner join oact l on l.acctcode = a.account left join oinv e on e.docnum = a.baseref and e.objtype = b.transtype
left join inv1 f on f.docentry = e.docentry and f.AcctCode = a.Account left join rin1 g on
g.docentry = a.baseref and g.AcctCode = a.Account
left join orin h on h.docentry = g.docentry where b.TransType = '14' and b.RefDate between '10/01/2009' and '10/31/2009'
and b.transtype = '14' and h.docnum = '210' and l.groupmask = '4'
The result is as follows:
(No column name) debit credit Detail Total All Docs. (LC)
312-21 0.000000 -5815092.000000 582480.000000
312-21 0.000000 -5815092.000000 504816.000000
312-21 0.000000 -5815092.000000 359196.000000
312-21 0.000000 -5815092.000000 514524.000000
312-21 0.000000 -5815092.000000 135912.000000
312-21 0.000000 -5815092.000000 165036.000000
312-21 0.000000 -5815092.000000 194160.000000
312-21 0.000000 -5815092.000000 203868.000000
312-21 0.000000 -5815092.000000 2524080.000000
312-21 0.000000 -5815092.000000 165036.000000
312-21 0.000000 -5815092.000000 465984.000000
404-53 0.000000 -106788.000000 106788.000000
404-53 0.000000 -5611137.010000 106788.000000
The sum of detail total all docs column for account 312-21 and 404-53 are as same as credit but the credit in the last row for account 404-53 is not as same as detail total all docs i.e. 5611137.010000 and 106788.000000.
Pls adv. TIA
Edited by: Matt on Oct 2, 2010 1:14 PM
Thx JimM. I see that there is new table introduced i.e. OITB and It works. It works because the CM # 210 have had 2 different GL codes. When I try your query in the other CM document that have only one GL account code, the result is not correct. The CM line total is not displayed:
account TransId debit credit Detail Total All Docs. (LC)
404-53 58281 0.000000 -10719054.000000 -10719054.000000
404-53 58281 0.000000 -4488909.600000 -4488909.600000
404-53 58281 0.000000 -10719054.000000 -10719054.000000
404-53 58281 0.000000 -4488909.600000 -4488909.600000
404-53 58281 0.000000 -10719054.000000 -10719054.000000
404-53 58281 0.000000 -4488909.600000 -4488909.600000
404-53 58281 0.000000 -10719054.000000 -10719054.000000
404-53 58281 0.000000 -4488909.600000 -4488909.600000
404-53 58281 0.000000 -10719054.000000 -10719054.000000
404-53 58281 0.000000 -4488909.600000 -4488909.600000
404-53 58281 0.000000 -10719054.000000 -10719054.000000
404-53 58281 0.000000 -4488909.600000 -4488909.600000
404-53 58281 0.000000 -10719054.000000 -10719054.000000
404-53 58281 0.000000 -4488909.600000 -4488909.600000
404-53 58281 0.000000 -10719054.000000 -10719054.000000
404-53 58281 0.000000 -4488909.600000 -4488909.600000
404-53 58281 0.000000 -10719054.000000 -10719054.000000
404-53 58281 0.000000 -4488909.600000 -4488909.600000
404-53 58281 0.000000 -10719054.000000 -10719054.000000
404-53 58281 0.000000 -4488909.600000 -4488909.600000
404-53 58281 0.000000 -10719054.000000 -10719054.000000
404-53 58281 0.000000 -4488909.600000 -4488909.600000
404-53 58281 0.000000 -10719054.000000 -10719054.000000
404-53 58281 0.000000 -4488909.600000 -4488909.600000
404-53 58281 0.000000 -10719054.000000 -10719054.000000
404-53 58281 0.000000 -4488909.600000 -4488909.600000
404-53 58281 0.000000 -10719054.000000 -10719054.000000
404-53 58281 0.000000 -4488909.600000 -4488909.600000
404-53 58281 0.000000 -10719054.000000 -10719054.000000
404-53 58281 0.000000 -4488909.600000 -4488909.600000
404-53 58281 0.000000 -10719054.000000 -10719054.000000
404-53 58281 0.000000 -4488909.600000 -4488909.600000
Rgd,
Andres
Similar Messages
-
Hello friends,
I need a sample code which can find out difference between debit and credit. i tried with FD10N that gives debit & credit difference by months but i need this differece for each new entry.
Thnx & Regards,
Rahul TaleleI don't know which table you are looking at, but there should be a field SHKZG which is the Debit/Credit Indicator.
Rob -
Which table where I can find diff between Invoice and subseq deb/ cred
Dears,
Is ther any table from where I can check whether Invoices is created based on
1, Invoice
2. Subsequent debit/Credit.
I could not find the difference in rbkp table. Pls suggest
Regards
KameshHi,
Invoice Header table: RBKP
Invoice item table: RSEG
and check following link also
[How to identify an invoice/credit memo/ subs credit / subs debit in tables;
Regards
Kailas Ugale -
Debit & Credit.( Basic Doubt)
Hi All......
Please can anyone explain the sequence of steps how the Accounts are credited and debited when the GR & the IR is Posted.
Can anyone also say me in what way the Debit and Credit Concepts has be looked on( When Inventory its different from the Invoice ) ....Please any one calrify the entire debit/Credit Concept. Ex wud be really helpful.
Regards
BalajiHi
When you do a GR for a stock material then the acconting movements will be
Debit : Stock account
Credit: GR/IR account
During invoice recipet the accounting movements are
Credit: Vendor account
Debit: GR/IR account
Here if any price difference is there then the difference will be posted to price difference account provided that the material is maintained at standard price.
IF the material is maintained at moving average price then the price difference will be posted to Stock account provided stock exists,otherwise the difference will be posted to price difference account
If you are receivinbg a material for consumption the accounting movements will be
Debit: Consumption account
Credit:GR/IR account
During invoice reciept of the same accounting documents will be
Credit:Vendor account
Debit:GR/IR account -
Dear All,
When we create a debit / credit entry for vendor with reference to a P.O. due to some price difference in P.O. & bill of vendor,the amount which pass thru debit / credit entry will load on material price. if yes then please give me example & also send me SAP screen shot.
Thanks & regards
Pavan KumarI will explain using an example. Please let me know if this is what you want.
PO 10 pcs @ USD 10 = total of USD 100
GR for 10 pcs
Dr Material 100
Cr GR/IR 100
Vendor sends invoice for 110 (10 pcs @ USD 11)
MIRO for 110
2 scenarios:
1) Stock available
Dr GR/IR 100
Dr Material 10
Cr Vendor 110
Difference is loaded on the stock. Please note that it is loaded on the existing quantity - whether 100 or 1 - it will load it on the complete stock.
2) Stock of material is 0
Dr GR/IR 100
Dr Price Difference 10
Cr Vendor 110
Hope this helps...
Lakshman -
Regarding Subsequent debit,credit and cdedit memos
Hello Gurus,
Could any body explain the above said subject and when this scenario will be used pls give some examples.
regards
rkHi,
A subsequent debit/credit arises if a transaction has already been settled, and a further invoice or credit memo is received afterwards.
A subsequent debit/credit changes the total invoice value of a purchase order item; the total invoice quantity remains unchanged. Therefore, only a value-based update of the purchasing transaction takes place. There is no quantity-based
update.
1. Subsequent Debit :-You must enter an invoice as a subsequent debit if a purchase order item has already been invoiced and further costs are now incurred. (Example: A vendor has inadvertently invoiced you at too low a price and then sends a
second invoice for the difference.)
2. Subsequent Credit :- You must enter a credit memo as a subsequent credit if a purchase order item was invoiced at too high a price and you have now received a credit memo. (Example: A vendor has inadvertently invoiced you at too high a price and then sends a credit memo for the difference.)
If you enter a subsequent debit/credit, the system suggests the entire invoiced quantity, but no value. The maximum quantity that you can subsequently debit or credit is the quantity that has already been invoiced. You can only enter a subsequent debit/credit for a purchase order item if an invoice has already been posted for this item.
A subsequent debit/credit cannot refer to a particular invoice.
Subsequent debits and credits are listed separately in the PO history.
3. Credit Memo :- You usually receive a credit memo from a vendor if you were overcharged. As is the case for invoices, credit memos refer to purchase orders or goods receipts.
You post a credit memo if too large an amount has been invoiced. When you post the credit memo, the total invoiced quantity in the PO history is reduced by the credit memo quantity. The maximum quantity you can make a credit for is the quantity that has already been invoiced.
In the same way as the corresponding goods receipt is expected or posted for the invoice, in the case of a credit memo, the system assumes that the credit memo belongs to a return delivery or reversal of the goods receipt. This means that the credit memo is settled using the GR/IR clearing account.
Regards,
Pardeep Malik -
Subsequent debit, credit and credit memo
Hi,
what is the difference between subsequent debit, credit and credit memo in MIRO transaction.
In case of vendor had given us credit note with relevant to particular for which we had already completed the invoice verification and payment also paid.
in this case what document should i use i.e crdit memo, subsequent credit memo or subsequent debit memo??
plz suggestHi
You need to use a credit memo.
Subsequent debit is used if you have already invoiced
You have already received an invoice from your vendor for all the goods received. Subsequently, freight costs are to be taken into account, however, the invoice quantity remains the same.
Subsequent credit is used if you already have done a credit memo on the PO
You have already received a credit memo from your vendor for all the goods received. Subsequently, freight costs are to be credited to your company, however, the credit memo quantity remains the same.
Thanks & Regards
Kishore -
Hi,
to all SAP Guru,
Account Postings Made when an Invoice Is Posted as a Subsequent Debit:
PO- 100 Piece @ 10 Rs
GR- 50 Piece
Invoice 70 Piece @ 11 Rs == 770 Rs
Invoice for Rs 105 for 70 Pieces (Subsequent Debit).
At GR:-
Stock Account- 500+
GR/IR Account- 500-
At invoice-
Stock account- 50+
GR/IR account- 720+
Vendor Account- 770-
Subsequent Debit-
Stock Account- 75+
GR/IR Account- 30+
Vendor Account- 105-
So my question is
At Invoice- How stock account Dr.with 50, GR/IR Dr. with 720 Came........
& At Subsequent Debit- How Stock Account Dr.with 75, GR/IR Dr. with 30, came.....
plz sir/mam help me out..bcoz i always get confuse in account posting
And Same plz give me example of Subsequent Credit that how
Account Postings Made when an Invoice Is Posted as a Subsequent Credit:
plz........At invoice-
Stock account- 50+
GR/IR account- 720+
Vendor Account- 770-
invoice price is 5 rs more than PO price, and you use moving average price so the additional price is hitting inventory account. If you use standard price, 50 will go to PRD account.
Subsequent Debit-
Stock Account- 75+
GR/IR Account- 30+
Vendor Account- 105-
If the quantity of the subsequent debit/credit is larger than the quantity delivered, the system distributes the relevant amount proportionally. The part of the subsequent debit/credit that does not have a goods receipt is posted to the GR/IR clearing account. The remaining amount is posted to the stock account u2013 or in the case of standard price control or insufficient stock coverage u2013 to a price difference account. picked from [http://help.sap.com/saphelp_46c/helpdata/en/a8/b99725452b11d189430000e829fbbd/content.htm]
In your case, system proportianately distributes the stock.. i.e 105/75 = 1.5.. you have stock of 50.. 50*1.5 = 75 which goes to stock account and the remaining goes the GR/IR clearing account. subsequent debit value 105 is credited with vendor account.. same happen in subsequent credit in a reverse way. -
Revaluation run (MRNB) v/s Subsequent Debit / Credit (MIRO)
Hello Experts
We are working on ECC 6.0.
I'am aware how to use MRNB & posting subsequent debit / credit note through MIRO.
I want to know when to use MRNB in comparison to Subsequent Debit / Credit?
Suppose vendor has suppiled certain goods at Rs 100 per unit. Invoice have already been posted against the GRs. Now the vendor asks for additional Rs. 2 per unit.
In such a scenario should MRNB or Subsequent credit is to be posted?
I've noticed that when MRNB is used material MAP remains unaffected unlike posting a Subsequent Credit / Debit. Why it remains unaffected during MRNB run? If the material price is changed then its impact should also come on inventory which doesnt happen in MRNB.
For both the cases is excise claiming to be adjusted through J1IH manually ?
Regards
KapilHello,
Subsequent Debit and Credits
After an Invoice is successfully posted and the transaction is completed, Vendor approaches with additional amount invoice or correction in Invoice.You would like to post this additional invoice with reference to the original PO and item. Subsequent Debit / Credit functionality allows you to capture this difference without canceling original invoice.
Please check this link
http://help.sap.com/erp2005_ehp_03/helpdata/EN/a8/b99890452b11d189430000e829fbbd/frameset.htm
Regards,
Shailesh -
Miro debit/credit note and subsequent debit/credit
Dear all,
May I know under what circumstances we use debit/credit note and
under what circumstances we use subsequent debit/credit
Need advice.
ThanksHi,
A subsequent debit/credit arises if a transaction has already been settled, and a further invoice or credit memo is received afterwards.
A subsequent debit/credit changes the total invoice value of a purchase order item; the total invoice quantity remains unchanged. Therefore, only a value-based update of the purchasing transaction takes place. There is no quantity-based
update.
1. Subsequent Debit :-You must enter an invoice as a subsequent debit if a purchase order item has already been invoiced and further costs are now incurred. (Example: A vendor has inadvertently invoiced you at too low a price and then sends a
second invoice for the difference.)
2. Subsequent Credit :- You must enter a credit memo as a subsequent credit if a purchase order item was invoiced at too high a price and you have now received a credit memo. (Example: A vendor has inadvertently invoiced you at too high a price and then sends a credit memo for the difference.)
If you enter a subsequent debit/credit, the system suggests the entire invoiced quantity, but no value. The maximum quantity that you can subsequently debit or credit is the quantity that has already been invoiced. You can only enter a subsequent debit/credit for a purchase order item if an invoice has already been posted for this item.
A subsequent debit/credit cannot refer to a particular invoice.
Subsequent debits and credits are listed separately in the PO history.
3. Credit Memo :- You usually receive a credit memo from a vendor if you were overcharged. As is the case for invoices, credit memos refer to purchase orders or goods receipts.
You post a credit memo if too large an amount has been invoiced. When you post the credit memo, the total invoiced quantity in the PO history is reduced by the credit memo quantity. The maximum quantity you can make a credit for is the quantity that has already been invoiced.
In the same way as the corresponding goods receipt is expected or posted for the invoice, in the case of a credit memo, the system assumes that the credit memo belongs to a return delivery or reversal of the goods receipt. This means that the credit memo is settled using the GR/IR clearing account.
Regards,
Pardeep Malik -
Debit/credit entry amount not balanced
Hi All,
I want post some adjustment excise amount through J1IH and for that I have created one sub transaction type and maintained "speciy excise accounts per excise transaction" and "specify G/L
accounts per excise transaction" but while doing the transaction J1IH for "additionl excise" at the time of saving one error is coming "debit/credit entry amount are not balanced".Can any one plz help me out
what another setting is required for saveing the transaction.
Regards,
SP Shukla.I will explain using an example. Please let me know if this is what you want.
PO 10 pcs @ USD 10 = total of USD 100
GR for 10 pcs
Dr Material 100
Cr GR/IR 100
Vendor sends invoice for 110 (10 pcs @ USD 11)
MIRO for 110
2 scenarios:
1) Stock available
Dr GR/IR 100
Dr Material 10
Cr Vendor 110
Difference is loaded on the stock. Please note that it is loaded on the existing quantity - whether 100 or 1 - it will load it on the complete stock.
2) Stock of material is 0
Dr GR/IR 100
Dr Price Difference 10
Cr Vendor 110
Hope this helps...
Lakshman -
Seperate posting line for debit / credit
Hi,
I would like to see a separate posting line debit/credit at the time of GR for one freight account
I created separate accrual and accounting key with separate debit /credit posting rule
But the credit entry is going properly and debit entry is going to Price difference account because my maerial
is priced at standard price
I want system to create debit entry separately to the debit account and credit to separate account as
mentioned in the accounting key in obyc
what would be the option?
Thanks in advance
BR
DiwakarHi
Goto OBYC
Go to Price Diffrence Transaction key
Select Rules Button
Select Debit/Credit check box
Then enter your accounts for Debit and Credit
Cheers
Srinivas -
Subsquent debit & credit in MIRO
Dear All:
Can anyone please tell me the use of Subsquent debit & credit in t code MIRO. I want to know in whihc situation we use these debit & credit. Normally we select invoice to debit vendor liability. Please guide briefly with scenario.
RegardsSubsequent Debit and credit memo
What is the difference between subsequent debit and credit memo in MIRO transaction?
In case of vendor had given us credit note with relevant to particular for which we had already completed the invoice verification and payment also paid.
In this case what document should I use i.e credit memo, subsequent credit memo or subsequent debit memo?
You need to use a credit memo.
Raise subsequent credit memo for the P.O.
That means the vendor is giving money to the company.
Subsequent debit is used if you have already invoiced.
You have already received an invoice from your vendor for all the goods received. Subsequently, freight costs are to be taken into account, however, the invoice quantity remains the same.
Subsequent credit is used if you already have done a credit memo on the PO.
You have already received a credit memo from your vendor for all the goods received. Subsequently, freight costs are to be credited to your company, however, the credit memo quantity remains the same.
What are the setting required to post debit / credit Memo?
No customization is required for Debit Memo/Credit Memo,
If you want to raise an credit memo Select the Option Credit memo in MIRO.
If you have configured for Posting of Vendor Invoices in MIRO, the same are required. -
Debit,credit ,opening balance,closing balance..doubt.
Dear friends,
I am working in FI report (vendor balance for date ranges) .Its a ALV report. I want to fetch the datas for debit ,
credit,opening balance,closing balance,for the paticular vendor or all vendors for date ranges.the table for this iam using is BSIK AND LFC1.
all the datas stored in the table is for month wise,but my programe (my user needs even for day wise) how to calculate this,
or is there any function modules avaliable or can u konw any other table storing day wise balances...this report is urgent ..
any one pls suggest me .advance thanks..
regards
veeraif user wants day wise then make use of BSAK+BSIK, here u will get all line items daywise , i mean to say Posting daywise.
BUDAT 31.03.2003---->posting date
BLDAT 31.03.2003
CPUDT 31.03.2003
WAERS INR
XBLNR T&E-29-30.3-PNPT
BLART PA
MONAT 3
BSCHL 31
ZUMSK
SHKZG H------------>D/C
GSBER--------------------->Business Area
MWSKZ-------------------->tax Code.
DMBTR 1,507.00
WRBTR 1,507.00
regards
Prabhu -
Profit Center wise Debit Credit report for Customers
Hi
I want to develop Customer Debit , Credit balance report based on Profit Center in the company. In KNC1 Table I got the required data except Profit Center.In S_ALR_87012169 Standard report profit Center is taken. I wanted to make output format of my report in the same format of output of mentioned transaction. Please Suggest from which table I have to take Profit Center and all data of KNC1 table.
Already Searched in Forum
Thanks in Advance
Regard's
Sai
Edited by: sai_abap on Aug 24, 2009 5:11 PMHi
If your requirement is to add the field in report no need to copy the program and change. As per as my knowledge after executing the S_ALR_87012078, select the call up report, and double click on line item report.
From menu select- settings-special fields then it leads to OBVU(It is cross client Customizition)
You can add the Table:BSEG, field name:PRCTR -save
after that you can Run the program RFPOSXEXTEND through SE38
and please follow the SAP note 984305 for further process
I saw the thread .I didnt get it.
will u explain me in detail.
Thanks in Advance
Sai
Maybe you are looking for
-
New ipod won't sync purchased music from itunes library
I just purchased a new ipod and when I try to sync my library it will not transfer any purchased songs that are in my library. All the songs are checked and I selected sync all music.
-
Hard disc died - how to restore iTunes from external hard drive
My son's Windows PC has died and needs a replacement hard disc. Fortunately he had backed up iTunes to an external hard disc. However, this is not an iTunes backup - but a straight copy of the PC's music folder. This folder contains an iTunes folder
-
File Sharing Between Lion and Mountain Lion
I'm wondering if anyone else has noticed this, when using AFP between OS X Server 10.8 and OS X Server 10.7.4 none of the files that I edit save their changes. I can login and access everything just fine, it's only when I edit files that I run into t
-
New MacBook Pro. Came with OS 10.7.4 Used Migration Assistant in initial set up Safari crashes immediately on launch System I migrated from, had Safari 6 Don't see any way to reload or to update Safari 6 on the new MBP Software Update says all soft
-
I chose by mistake ''voice over'' and now I can't unlock my iPod
Yesterday while I was changing some settings I saw that Voice Over, I didn't know what it was so I chose it and then I couldn't choose anything else. After that iPod locked and now I can't unlock it . I can't choose and select anything. Can someone g