Invoice copy to Credit Memo Report
Dear All ,
I need some query which provide the detail of A/P Invoices which are copied to A/P Credit Memo.
Thanks
Gangadhar
Hi GangaDhar
Try This
SELECT OPCH.DocNum, OPCH.DocDate, OPCH.CardCode, OPCH.CardName, OPCH.VatSum, OPCH.DocTotal
FROM OPCH INNER JOIN
PCH1 ON OPCH.DocEntry = PCH1.DocEntry
where PCH1.TrgetEntry is not NULL
thanks
Ashish
Similar Messages
-
Copy AP Invoice to AP credit memo got a discount per line automatically
Dear All,
Our customer is in SAP8.8 SQL2008 CA localization. When they copy AP Invoice to AP credit memo (service type), the 1st line always has a discount (no matter which GL I choose). No matter which user I user no matter which posting date I choose, the discount of the first line comes automatically. How can I remove this? Thanks in advance.
Regards,
YukaHi Gordon,
Wish you all the best and Happy Chinese New Year!
I tried to reproduce the issue like below.
Duplicate the AP invoice. Change the posting date to 2010/10/29. Then I found the total of the first line (has 1.03 discount), the amount changed (From $ 21,497.67 to $ 21,498.64). Then I change it back. Save the invoice.
Copy the AP invoice to AP Credit memo. Change the posting date to 2010/10/29. The total of the first line changed again.
Is this sounds like a SAP bug? Or it is some settings wrong?
Thanks in advance
Regards,
Yuka
Edited by: Jie Jin on Feb 4, 2011 1:04 AM -
AP Invoice and AP Credit Memo Reconciliation
HI Expert,
I just want to ask if there's a way to automate reconciliation of AP Invoice and AP Credit Memo related to each other?
What I did was just open the AP invoice and i copied to AP Credit Memo. I assumed that this was automatically reconciled but when I check the GL affected, it remains unreconciled.
Thanks,
Arlmi2000Hi Arlmi,
Weird... Are you sure? Which version and PL you used? Try this query as well
SELECT T1.TransId,T1.LineMemo,T1.MthDate FROM JDT1 T1
INNER JOIN OJDT T0 ON T1.TransId=T0.TransId
WHERE((T0.TransType=18 AND T0.BaseRef=@param1)OR(T0.TransType=19 AND T0.BaseRef=@param2))AND ShortName='@VendorCode'
Replace @param1 with your A/P Invoice document number.
Replace @param2 with your A/P Credit Memo document number
Replace @VendorCode with your vendor code
Run the query, the result should be 2 rows. What is the value of MthDate column?
Best Regards,
Hendry Wijaya -
Define key figures -incoming order, invoiced sales and credit memo in BW
Hi everyone,
I combined two ODS into one ODS from 2LIS_11_VAITM & 2LIS_13_VDITM. I want to generate reports that contain net value, cost of incoming order, invoiced sales, and credit memo'(SD module).
I tried to create some calculated key figures in BW that contain the net value and cost of incoming order, invoiced sales and credit memo. However, i couldn't find relative fields to define them.
Can anyone provide help regarding how to create those key figures in BW? Thank you.Hello John,
I think the best way to check it out is by looking at the business content. There might be mapping already defined for the fields you are looking for. The one standing out is perhaps the net value 'ONET_VALUE'.
Please try to use as much of content KF as possible. A good approach to finding the right info-objects is by searching the business content by info-sources and marking the grouping as 'Collect before and afterwords', it should list down all the dependent info-objects.
Hope that helps.
Cheers, Ashu -
Invoice and a credit memo at the same time
Hello everybody,
I have a question about the MIRO transaction; there is a provider that give us a monthly invoice where he put all the articles we have ordered, but ALSO those that we have returned the month before with a negative amount, instead of doing a credit memo, which is what the rest of providers do.
I would want to know if it's possible to do an invoice and a credit memo at the same time, or at least do it separately but using the same barcode.
Thanks in advance!
Message was edited by:
TERESA RIBASHi,
Try the folowing,
Enter the first PO, then click on the "more allocation criteria" icon to the right of the PO number field.
Enter the remianing PO numbers that are to be invoiced AND the ones to be credited and leave the flags for "deliveries" and "returns" both set on.
This may work, and if you click on the help for one of these flags you will see that it does seem to do what you want.
I haven't tried it (I don't have the data set up) but it is worth you spending a couple of minutes with some examples in your "play" client, just to see if it does what you want.
Steve B -
Standard Invoice and a Credit Memo with the same amount
Hi,
I have a AP standard invoice with an amount of 100 € and the credit memo with -100 €.
The standard invoice and the credit memo have the same Supplier and distribution, and the status are Validated and Accounted is Yes.
How I can match this credit memo to that invoice?
If I try to create a payment with this invoice and credit memo, I get an error because I can not make a payment to zero.
I do with a suspense account? How I can do it?
Thanks in advance!Hi.
Enter a zero amount payment and select both documents.
Octavio -
Hi, What link between base document and target document (AR Invoice to Ar Credit memo) table/fields?
Please advise
Thanks,
BenHi Ben,
A/R Invoice :
For A/R Invoice --> OINV is the Table name and INV1 is the Invoice - Rows Table Name.
In OINV Table --> DocNum is the A/R Invoice Document Number.
In INV1 table --> DocEntry is the one which refers to the A/R Invoice Document Number. Target TYpe is the one which refers the A/R Credit Memo's Object Type and Target Entry refers the A/R Credit Memo Document Number.
A/R Credit Memo :
For A/R Credit Memo --> ORIN is the Table Name and RIN1 is the Credit memo - Rows Table name.
In ORIN table --> DocNum is the A/R Credit Memo's Document Number.
In RIN1 table --> DocEntry is the one which refers the A/R Credit memo's Document Entry/ Document Number. BaseRef is the one which refers the Base Document number, Base Type Refers the Base Document Type and BaseEntry refers the Base Document's Document Entry Number.
I hope this would help you to solve the problem.
Regards
Raja.S -
Free goods are not copying in credit memo from invoice
Dear Gurus,
I have made a invoice having two line items 1.normal goods with sale price and 2.free sample goods(part of promotional scheme) without any sale price.
but while making credit memo for receiving goods back in cancellation of invoice , i am facing problem for free goods. system is not copying the free goods in credit memo and copying only normal goods.
what can be problem for not copying? whether i am following some wrong procedure or some configuration is missing.
please advise me with your valuable suggestions.
Thanks in advance
Paraghello, friend.
first of all, the free goods are not relevant for credit memo since the customers never paid for these in the first place.
however, i observed that after cancelling the invoice, you still issued a credit memo? this may not be the proper process. when you cancel the invoice, entries into the customers Accounts Receivables are reversed as well (we are assuming no payments are posted yet). so there is no need to issue credit memos.
if you are referring to another process, please clarify the same.
regards. -
Item Pricing date from ref. Invoice not copied into Credit memo request
Hi SAP experts,
If a reference invoice includes several pricing dates on item level
only the first pricing date will be copied into the credit memo request.
Example: Invoice includes three items. First item has pricing date
2007-03-01 and item 20/30 have pricing date 2007-03-03. When creating
a credit memo request with reference to this invoice,
Pricing date 2007-03-01 will be copied to VBKD-PRSDT field
on header/item level.
When the customer has a foreign currency in use, the exchange rate
in the credit memo request will be from 2007-03-01 and not from
2007-03-03 for items 20/30. This is wrong.
Can you help in finding a solution? Copying routines?Hi,
Yes data transfer routine is the solution for this.You can create and assign a new routine in the copy control at item level for Invoice to Credit memo request.Here you can write the code as to transfer the data of pricing date field form billing document to credit memo request.
This should work.
Reward points if useful.
Regards,
Amrish Purohit -
Purchase Register minus Credit Memo Report
Hi Experts,
I am not getting the desired result from this query. I am trying to substract the partial and full Purchase credit memo amount but the result showing only memo placed document while i want all the document in the report' result.
SELECT
M.DocNum as 'A/P Invoice No.',
M.DocDate as 'Inv. Date',
M.CardName as 'Vendor Name',
M.NumAtCard as 'Vendor Ref. No.',
(Select Sum(LineTotal) FROM pch1 L Where L.DocEntry=M.DocEntry) - (Select Sum(LineTotal) FROM rpc1 r Where R.baseEntry=L.DocEntry) as 'Base Amt(Rs.)',
(SELECT AVG(TaxRATE) FROM pch4 where statype=1 and DocEntry=M.DocEntry) - (SELECT Sum(TaxRATE) FROM Rpc4 R4 where statype=1 and R4.DocEntry=R.DocEntry)as ' VAT_RATE ',
(SELECT Sum(TaxSum) FROM pch4 where statype=1 and DocEntry=M.DocEntry) - (SELECT Sum(TaxSum) FROM Rpc4 R4 where statype=1 and R4.DocEntry=R.DocEntry) as ' VAT(Rs.)',
(SELECT avg(TAXRATE) FROM pch4 where statype=4 and DocEntry=M.DocEntry) - (SELECT Sum(Taxrate) FROM Rpc4 R4 where statype=4 and R4.DocEntry=R.DocEntry) as ' CST_RATE ',
(SELECT Sum(TaxSum) FROM pch4 where statype=4 and DocEntry=M.DocEntry) - (SELECT Sum(TaxSum) FROM Rpc4 R4 where statype=4 and R4.DocEntry=R.DocEntry) as ' CST(Rs.) ',
(Select Sum(LineTotal) From pch3 Q Where Q.DocEntry=M.DocEntry) - (SELECT Sum(Linetotal) FROM Rpc3 R3 where R3.DocEntry=R.DocEntry) AS 'Freight(Rs.)' ,
(M.DocTotal - RP.Doctotal)as 'Total (Rs.)'
from opch M
LEFT OUTER JOIN pch1 L on L.DocEntry=M.DocEntry
LEFT OUTER JOIN pch4 T on T.DocEntry=L.DocEntry and L.LineNum=T.LineNum
LEFT OUTER JOIN pch5 J ON M.DocEntry = J.AbsEntry
LEFT OUTER JOIN pch3 Q ON M.DocEntry = Q.DocEntry
left outer join RPC1 R On R.Baseentry = L.Docentry
left outer join RPC4 R4 On R.docentry = R4.Docentry
left outer join RPC3 R3 On R.docentry = R3.docentry
left outer join ORPC RP On R.docentry = RP.docentry
WHERE M.DocDate >= [%0] AND M.DocDate <= [%1] and m.doctype = 'I'
GROUP BY
M.DocNum,M.DocDate,M.CardName,M.NumAtCard,
M.DocEntry,M.[DiscSum],M.WTSum,M.DocTotal,L.docentry,R.docentry,RP.Doctotal
ORDER BY
M.DocNum,M.DocDate,M.CardName,M.NumAtCard,
M.DocEntry,M.[DiscSum],M.WTSum,M.DocTotalIf no payment has made to the particular invoices, then you can use this
SELECT
M.DocNum as 'A/P Invoice No.',
M.DocDate as 'Inv. Date',
M.CardName as 'Vendor Name',
M.NumAtCard as 'Vendor Ref. No.',
(Select Sum(isnull(LineTotal,0)) FROM pch1 L Where L.DocEntry=M.DocEntry) - isnull(((Select Sum(isnull(LineTotal,0)) FROM rpc1 r Where R.baseEntry=L.DocEntry)),0) as 'Base Amt(Rs.)',
(SELECT AVG(TaxRATE) FROM pch4 where statype=1 and DocEntry=M.DocEntry) - isnull(((SELECT Sum(TaxRATE) FROM Rpc4 R4 where statype=1 and R4.DocEntry=R.DocEntry)),0) as ' VAT_RATE ',
(SELECT Sum(TaxSum) FROM pch4 where statype=1 and DocEntry=M.DocEntry) - isnull(((SELECT Sum(TaxSum) FROM Rpc4 R4 where statype=1 and R4.DocEntry=R.DocEntry)),0) as ' VAT(Rs.)',
(SELECT avg(TAXRATE) FROM pch4 where statype=4 and DocEntry=M.DocEntry) - isnull(((SELECT Sum(Taxrate) FROM Rpc4 R4 where statype=4 and R4.DocEntry=R.DocEntry)),0) as ' CST_RATE ',
(SELECT Sum(TaxSum) FROM pch4 where statype=4 and DocEntry=M.DocEntry) - isnull(((SELECT Sum(TaxSum) FROM Rpc4 R4 where statype=4 and R4.DocEntry=R.DocEntry)),0) as ' CST(Rs.) ',
(Select Sum(LineTotal) From pch3 Q Where Q.DocEntry=M.DocEntry) - isnull(((SELECT Sum(Linetotal) FROM Rpc3 R3 where R3.DocEntry=R.DocEntry)),0) AS 'Freight(Rs.)' ,
(M.DocTotal - isnull(M.PaidToDate,0)) as 'Total (Rs.)'
from opch M
LEFT OUTER JOIN pch1 L on L.DocEntry=M.DocEntry
LEFT OUTER JOIN pch4 T on T.DocEntry=L.DocEntry and L.LineNum=T.LineNum
LEFT OUTER JOIN pch5 J ON M.DocEntry = J.AbsEntry
LEFT OUTER JOIN pch3 Q ON M.DocEntry = Q.DocEntry
left outer join RPC1 R On R.Baseentry = L.Docentry
left outer join RPC4 R4 On R.docentry = R4.Docentry
left outer join RPC3 R3 On R.docentry = R3.docentry
left outer join ORPC RP On R.docentry = RP.docentry
WHERE M.DocDate >= [%0] AND M.DocDate <= [%1] and m.doctype = 'I'
GROUP BY
M.DocNum,M.DocDate,M.CardName,M.NumAtCard,
M.DocEntry,M.DiscSum,M.WTSum,M.DocTotal,L.docentry,R.docentry,RP.Doctotal, M.Paidtodate
ORDER BY
M.DocNum,M.DocDate,M.CardName,M.NumAtCard,
M.DocEntry,M.DiscSum,M.WTSum,M.DocTotal
Regards,
Bala -
How to Identify A/P Invoice that was Credit Memo
Hello,
how will i identify a certain A/P Invoice is already link to Credit Memo. Is there a flag which indicates that a certain A/P Invoice was Credit Memo based on it?
please help.
thank you
FidelHello Nagarajan,
the option is not available. im using SBO 8.81 and the option is not yet available in lower version.
thanks -
AP invoice vs AP credit memo - Journal entry difference
Hello Experts,
This regarding Create A/P Invoice for an item with value 1000. Correspondingly create a A/P Credit memo for the same bill with 800 value. if you see journal entry the difference amount is tracking in Exp. And Inv. Variance Acct. if it is single of warehouse.
My scenario is GL account set by warehouse. And in our project there are six different warehouses.
Above scenario happens in all six different warehouses, can you guide me where to set Exp. And Inv. Variance Acct. in the warehouse accounting.
Please help me in this regard,
Thanks
RayuduHi,
What is your valuation method.is it standard or moving average?
if it is moving average A/P credit memo will create a journal crediting the stock and debiting the vendor in case of stock item.
incase of noninventory expense gets credit and vendor gets debit.
regards -
All items are copied into Credit Memo request
*Dear All*
*Suppose I have created one scenario in which there is material code with one free goods and run uto the billing.*
*I just need to know while creating Credit memo request wth reference to Billing,All items are copied into the sales order.My concern is that we can not hide free goods item in return order through Item selection.*
Plz suggest on that issueHi
Yes you can set it up in the copy control of the item category so that it is not copied in the return order. But there is a specific reason why SAP would copy it into a return order. Suppose you sell goods and give something free, then based on the principle that the goods which were free were sent with the charged goods, it is expected that if the charged goods are sent back the free goods should also be returned.
Thanks
Indranil -
Credit Memo - Invoice VAT and Credit Memo VAT differs
I have a scenario where the invoice generated had 16% VAT. In July, VAT was changed to 18%. When generating a crdit memo request for an old invoice... the header and item conditions tab showed 16% VAT. When credit memo request is released and save, and it transferred to biling, i get VAT at 18%.
I tried to change the billing date and bill doc creation date in Credit memo request...to June.. prior ot VAT increase date. but i am still getting current 18% VAT.
Does anyone know where i can maintain or have the effective date maintained for the correct VAT? I am using CRM billing.Hi PP,
thankyou. My Credit memo request has the previous date. Date of Confirmation and service rendered.
When billing, i am not able to change settings.. as the fields were greyed out.
I am not too familiar with CRM billing .. but in ECC .. we use the Date Service Rendered. this date would take the correct VAT effective date.
When i go to the item overview, all the fields have been greyed out. and i am not able to change any fields. is there somewhere in the settings that i could make the Pricing date and Date Serv. Rendered editable in the credit memo
thank you
F Bushfield -
Invoice Verification and credit memo in MM
Dear Experts,
Required your inputs.
1) What is the document type used to raise a invoice ?
2) What is the document type used to raise a Credit memo ?
3) When we raise a invoice, Does it pick up default the document type ? if yes Plz advice the setting to be carried out ?
4) When we raise a Credit Memo, Does it pick up default document type ? if yes Plz advice the setting to be carried out ?
Best Regards
AhamedHi,
1. For Invoice & Credit Memo - doc type is RE only.
2. Based on the following settings we can make the doc.type to be defaulted when we create a invoice or credit memo
SPRO - MM - LIV - Incoming Invoice - Maintain Number Assignments for Accounting Documents - Doc types in Invoice Verification.
Thanks & Regards,
Maybe you are looking for
-
Publishing large files.
Ok, My team has run into a significant problem with CS3 and we need some help fast. We have a rather large file (28meg swf) that we have created in CS3. And whatever i try i cannot find a solution for this to work on our LMS or even Stand alone. To b
-
How to connect i phone5 with other device
My phone cant connect with sony smartwatch 2
-
My iMac has recently begun to slow down frequently, where I get the spinning beach ball and can't do a thing for periods at a time. This is intermittent, but it is more and more frequent. Something I've noticed that has begun to occur around this sam
-
Referencing Sales Order to a Quotation via BAPI
Dear all, I encouter problems to reference a Sales Order to a Quotation when I try to use the SAP BAPI 'BAPI_SALESORDER_CREATEFROMDAT2'. Even though later when I managed to create the referencing on both the Sales Order Header and Sales Order Line to
-
Macbook pro early 2011 freeze up - any other's having issues? Any solutions?
Hi - My Macbook Pro 13" Early 2011 routinely crashes. The mouse works, there's no spinning pinwheel, the display is fine, but the computer doesn't do anything. It just sits there with the cursur available, but powerless. Any similar experiences?