Delete posted invoice
I posted invoice 123 against PO due to some problem I tried to reverse the invoice 123 but system will not allow. I posted another invoice 678 with dif ref number for the same PO. Now I want to delete first invoice 123. so please help me how to do it. It should not be any problem with account posting etc. PO is created for text items no material (account assignment K ) so no GR. Please consider no excise duty posting nothing. My customer is not an Indian customer.
HI,
Reverse the Invoice by MR8M. Put the same date of Invoice as the posting date.
Hope this helps.
Regards,
Prasanna
Award if helpful
Similar Messages
-
Disable 'Delete' button for posted invoices in GOS Attachment List
Hi,
when i open the attachement list of a generic object i see the attached files. In this dialog i want to disable the "Delete" ( attachment) button for Posted invoices ( In MIR4 tcode -> If the invoice is already posted it should not allow to delete the attachment )
I read oss notes and some ides of copying diverse classes but nothing really helps.
I found two badis
GOS_SRV_REQUEST
GOS_SRV_SELECT
but i dont know where we have to write our code .
I read so many posts related to attachments but all the places described about authoriztion object .
Can you please give some ideas to disable the delete button for posted invoices.Hello,
For GOS there is no SAP Standard authorization concept. The only way to
manage GOS authorizations is implementing it via custom code as
described in SAP Note: 491271.
Please have a look at the SAP notes:
491271 Authorizations for generic object services
701609 Authorizations for services: Final classes
For the use of S_OC_ROLE: this object states if a user is an office
administrator he can create, modify or delete every document, even
those created by other users. If the user is not an office admin, the
user is still able to create his own attachments.
Regarding to the issue, there is an role object S_GUI for upload.
To match your inquiry, pleaes find the user's role and active the
object S_GUI.
Regards,
David -
End user deleted posted MIRO invoice, how?
Hi SAP Gurus,
Surprisingly user was able to delete the posted MIRO invoice (infact a paid invoice) using MIR4, then going to Edit- Display/Change and Invoice document-Delete. I can see the deleted invoice under Purchasing history in the PO but when i click on the Invoice it says invoice has been deleted.
How is it possible to delete the posted invoice. How can i track what steps she had carried out to delete the document?
I would appreciate your insight on this issue,
Thanks.Are you sure the document wasn't reversed versus deleted? In order to reverse the invoice, the payment document that cleared the invoice had to be reversed first.
Display the payment document FB03 that cleared the invoice and see if it has a reversal document. -
User deleted posted miro invoice
Hi SAP Gurus,
Surprisingly user was able to delete the posted MIRO invoice (infact a paid invoice) using MIR4, then going to Edit- Display/Change and Invoice document-Delete. I can see the deleted invoice under Purchasing history in the PO but when i click on the Invoice it says invoice has been deleted.
How is it possible to delete the posted invoice. When running MRBR report this particular invoice document is showing everyday in the report. how to resolve this particular issue.
I would appreciate your insight on this issue,
Thanks.
Prabhakar>
Prabhakarreddy Tirumalareddy wrote:
> Hi SAP Gurus,
>
> Surprisingly user was able to delete the posted MIRO invoice (infact a paid invoice) using MIR4, then going to Edit- Display/Change and Invoice document-Delete. I can see the deleted invoice under Purchasing history in the PO but when i click on the Invoice it says invoice has been deleted.
>
> How is it possible to delete the posted invoice. When running MRBR report this particular invoice document is showing everyday in the report. how to resolve this particular issue.
> I would appreciate your insight on this issue,
>
> Thanks.
> Prabhakar
what you describes does not really sound logical.
MIR4 allows only to change via Edit- Display/Change if the invoice is a parked invoice.
but a parked invoice cannot really been paid.
And once the parked ivoice is deleted, then it is not shown anymore in purchase order history.
if that is the case then you should read OSS Note 595535 - MIR7: Undeleted entries in purchase order history -
Reversing or deletating AP invoice which is posted and transferred to GL
I wanted to delete a invoice which is accounted and validated and transferred to GL. This invoice has 2nd distribution line causing problems, somebody managed to transferred to GL without entering an amount this has to reversed or deleted. how can I do it, if somebody had similar problem and solved it please assist me regarding this issue as soon as possible. Thanks very much for the consideration friends.
Thank you for the answer, how can I remove the 2nd distribution line along with that invoice, there are holds on these invoices and some are not accounted or validated. When I try to delete it says " the amount filed must be filled" try to insert an amount it says'The field is protected". Any ways to reverse or delete the 2nd distribution line in that invoice.
Please provide a solution.
Thank you.
Sam -
Handling deleted parked invoices in the BI report
Hi Experts,
I am working on a PO History report, which has an invoice total summary .The invoice total includes Posted and Parked invoices, but if the parked invoice is deleted they are still showing up on the report for the total, the requirement is to not include the deleted parked invoices in the total.
Pls guide me to proceed in this.
Thanks,
RajHi,
check this link on help.sap
Link: [http://help.sap.com/saphelp_dm40/helpdata/en/0e/8001bf2b144c24a23c32b1fcaa1868/content.htm]
Regards,
Neeraj -
Deferred tax: Post invoice and payment separately $1" Message no. DEFTAX020
while reversing a document thru FB08, it is giving the error message,
" Deferred tax: Post invoice and payment separately $1" Message no. DEFTAX020.
This is a stand alone invoice document , without any clearing document. What is to be done ?
Below is the snapshot of FB03:-
Document Number 2256162 Company Code MLTD Fiscal Year 2009
Document Date 24.05.2010 Posting Date 25.05.2010 Period 11
Reference PYX/10-11/032 Cross-CC no.
Currency INR Texts exist
Itm PK BusA Acct no. Description Tx Amount in INR
001 31 U106 503551 PYXIS SYSTEMS PVT.LTD. DD 55,150.00-
002 40 COMM 5656 Membership & Subscri DD 50,000.00
003 40 1371 Service Tax Availed DD 5,000.00
004 40 1372 Ecess on ST Availed DD 100.00
005 40 1373 S&H Ecess on ST Avai DD 50.00
Document Type I2 VEMDOR INV-CORPORATE
Doc.Header Text PYXIS SYS.P.LTD.
Branch number Number of Pages 0
Reference PYX/10-11/032 Document Date 24.05.2010
Posting Date 25.05.2010
Currency INR Posting Period 11 / 2009
Ref. Transactn BKPF Accounting document
Reference key 0002256162MLTD2009 Log.System MALCLNT999
Entered by NITINRB Parked by
Entry Date 25.05.2010 Time of Entry 13:05:08
TCode FBR2
Changed on Last update
Ledger Grp Ledger
Ref.key(head) 1 Ref.key 2Hi,
Check whether OSS note 913805 (see below) offers a solution to your particular issue.
Kind regards, Robert
Note 913805 - Error FF891 or DEFTAX025 when posting FI-Documents Version: 5
Summary
Symptom
The posting of FI-documents cannot be executed due to one of the following error messages:
FF 890 "Vendor and customer items in document with deferred taxes"
FF 891 "G/L account item without tax code in document with deferred taxes"
FF 892 "Error writing to table DEFTAX_ITEM"
DEFTAX 025 (no specific text)
Also update terminations and other errors which are related to function group TAX4 may be the topic of this note.
Other terms
RFUMSV25; RFUMSV50; VAT; deferred tax; BTE; DEFTAX_ITEM; TAX4; SAPSQL_ARRAY_INSERT_DUPREC; FI_POST_DEFTAX_ITEM; FF891; FF890; FF892; FF804; 00 671; FF099; DEFTAX020; DEFTAX021; DEFTAX022; DEFTAX023; DEFTAX025; DEFTAX012; DEFTAX_MX027; DEFTAX_MX047; DEFTAX_MX039; DEFTAX; DEFTAX_MX;
Reason and Prerequisites
Accidentally some business transaction events (BTE) for the new solution for deferred tax were delivered in an active state in support packages of SAP releases 4.70 and ERP 2004. The solution is available in the SAP-Standard only from release ERP 2005. Also in ERP 2005 the new deferred tax can cause problems in countries for which the solution is not released.
These BTEs perform strict tests for documents containing tax codes for deferred tax.
Solution
If you are using the old deferred tax, i.e. you use report RFUMSV25 to create transfer postings, you can safely deactivate these BTEs.
Remove the following BTEs:
00001025 DI-TAX CREATE_DEFTAX_ITEM
00001030 DI-TAX SET_DEFTAX_ITEM
00001040 DI-TAX CREATE_DEFTAX_ITEM_REVERS
00001050 DI-TAX CREATE_DEFTAX_ITEM_MR1M
In ERP 2005 (ECC 600) the application key is 'FI-TAX' instead of the above mentioned 'DI-TAX'.
To do this start transaction FIBF
-> Settings
-> P/S Modules
...of an SAP Application
Mark the entries from the list above and delete them.
This deactivates the functionality of 'new deferred tax' for all company codes in all clients on the system. This means that no data is written to table deftax_item at posting time. Report RFUMSV50 can still be started, but it will not process new documents any more.
If in ERP 2005 problems arise in one country but the new deferred tax is used in another country you must not deactivate the BTEs completely. In this case it is possible to restrict the BTEs to be active only in certain countries using the column 'country' in transaction FIBF.
Header Data
Release Status: Released for Customer
Released on: 16.01.2008 20:12:15
Master Language: English
Priority: Correction with medium priority
Category: Program error
Primary Component: FI-GL-GL-F Value Added Tax (VAT)
Affected Releases
Software Component Release From Release ToRelease And subsequent
SAP_APPL 46C 46C 46C
SAP_APPL 470 470 470
SAP_APPL 500 500 500
SAP_APPL 600 600 600
SAP_APPL 602 602 602
SAP_APPL 603 603 603
SAP_APPL 604 604 604
Related Notes
771319 - RFUMSV50: Documentation
Edited by: Robert North on May 26, 2010 11:49 AM
Edited by: Robert North on May 26, 2010 11:50 AM -
Hi,
I'm a new member of this forum and a newbie to Oracle Financials. I'd like to thank in advance those who will take time to reply to this post.
How do I delete Invoices in Payables? We already imported (using the Open Interface) a set of Invoices to Payables and after realising some mistakes, we would like to delete those invoices and import a new set.
We also have the same problem with Receivables.
Cheers,
MarkyJust to share with others. Here's an SQL to delete AP Invoices. As noted by others who replied, this should only be done if the Invoice is not yet posted to the GL. Thanks to those who replied!
(Disclaimer: this works for us but I cannot assure that it will work for everyone.)
Marky
delete from ap_payment_schedules_all
where invoice_id in (
select invoice_id
from ap_invoices_all
where to_number(invoice_num) < &INVOICE_NUM);
delete from ap_invoice_distributions_all
where invoice_id in (
select invoice_id
from ap_invoices_all
where to_number(invoice_num) < &INVOICE_NUM);
delete from ap_invoices_all
where to_number(invoice_num) < &INVOICE_NUM; -
Need user exit when deleting an invoice using MIR6 transaction
Hi all,
I m trying to delete an Invoice using MIR6 transaction. And I need a user exit to be triggered on deletion of an Invoice.
Can anybody help me and let me know if any user exit is available there?
Points will be rewarded.
thanks
AshishHi
Business Add-Ins
Business Add-Ins are a new SAP enhancement technique based on ABAP Objects. They can be inserted into the SAP System to accommodate user requirements too specific to be included in the standard delivery. Since specific industries often require special functions, SAP allows you to predefine these points in your software.
As with customer exits (SMOD/CMOD [Page 40]), two different views are available:
In the definition view, an application programmer predefines exit points in a source that allow specific industry sectors, partners, and customers to attach additional software to standard SAP source code without having to modify the original object.
In the implementation view, the users of Business Add-Ins can customize the logic they need or use a standard logic if one is available.
In contrast to customer exits, Business Add-Ins no longer assume a two-system infrastructure (SAP and customers), but instead allow for multiple levels of software development (by SAP, partners, and customers, and as country versions, industry solutions, and the like). Definitions and implementations of Business Add-Ins can be created at each level within such a system infrastructure.
SAP guarantees the upward compatibility of all Business Add-In interfaces. Release upgrades do not affect enhancement calls from within the standard software nor do they affect the validity of call interfaces. You do not have to register Business Add-Ins in SSCR.
The Business Add-In enhancement technique differentiates between enhancements that can only be implemented once and enhancements that can be used actively by any number of customers at the same time.
In addition, Business Add-Ins can be defined according to filter values. This allows you to control add-in implementation and make it dependent on specific criteria (on a specific Country value, for example). All ABAP sources, screens, GUIs, and table interfaces created using this enhancement technique are defined in a manner that allows customers to include their own enhancements in the standard.
A single Business Add-In contains all of the interfaces necessary to implement a specific task. In Release 4.6A, program and menu enhancements can be made with Business Add-Ins. The actual program code is enhanced using ABAP Objects. In order to better understand the programming techniques behind the Business Add-In enhancement concept, SAP recommends reading the section on ABAP Objects
DEFINING THE BADI
1) execute Tcode SE18.
2) Specify a definition Name : ZBADI_SPFLI
3) Press create
4) Choose the attribute tab. Specify short desc for badi.. and specify the type :
multiple use.
5) Choose the interface tab
6) Specify interface name: ZIF_EX_BADI_SPFLI and save.
7) Dbl clk on interface name to start class builder . specify a method name (name,
level, desc).
Method level desc
Linese;ection instance methos some desc
8) place the cursor on the method name desc its parameters to define the interface.
Parameter type refe field desc
I_carrid import spfli-carrid some
I_connid import spefi-connid some
9) save , check and activate adapter class proposed by system is
ZCL_IM_IM_LINESEL is genereated.
IMPLEMENTATION OF BADI DEFINITION
1) EXECUTE tcode se18.choose menuitem create from the implementation menubar.
2) Specify aname for implementation ZIM_LINESEL
3) Specify short desc.
4) Choose interface tab. System proposes a name fo the implementation class.
ZCL_IM_IMLINESEL which is already generarted.
5) Specify short desc for method
6) Dbl clk on method to insert code..(check the code in AAA).
7) Save , check and activate the code.
Some useful URL
http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
Now write a sample program to use this badi method..
Look for BBB sample program.
AAA
data : wa_flights type sflight,
it_flights type table of sflight.
format color col_heading.
write:/ 'Flight info of:', i_carrid, i_connid.
format color col_normal.
select * from sflight
into corresponding fields of table it_flights
where carrid = i_carrid
and connid = i_connid.
loop at it_flights into wa_flights.
write:/ wa_flights-fldate,
wa_flights-planetype,
wa_flights-price currency wa_flights-currency,
wa_flights-seatsmax,
wa_flights-seatsocc.
endloop.
BBB
*& Report ZBADI_TEST *
REPORT ZBADI_TEST .
tables: spfli.
data: wa_spfli type spfli,
it_spfli type table of spfli with key carrid connid.
*Initialise the object of the interface.
data: exit_ref type ref to ZCL_IM_IM_LINESEL,
exit_ref1 type ref to ZIF_EX_BADISPFLI1.
selection-screen begin of block b1.
select-options: s_carr for spfli-carrid.
selection-screen end of block b1.
start-of-selection.
select * from spfli into corresponding fields of table it_spfli
where carrid in s_carr.
end-of-selection.
loop at it_spfli into wa_spfli.
write:/ wa_spfli-carrid,
wa_spfli-connid,
wa_spfli-cityfrom,
wa_spfli-deptime,
wa_spfli-arrtime.
hide: wa_spfli-carrid, wa_spfli-connid.
endloop.
at line-selection.
check not wa_spfli-carrid is initial.
create object exit_ref.
exit_ref1 = exit_ref.
call method exit_ref1->lineselection
EXPORTING
i_carrid = wa_spfli-carrid
i_connid = wa_spfli-connid.
clear wa_spfli.
check the following user exits for MIR6
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on docs
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006 Logistics Invoice Verification: Process XML Invoice
MRMH0001 Logistics Invoice Verification: ERS procedure
MRMH0002 Logistics Invoice Verification: EDI inbound
MRMH0003 Logistics Invoice Verification: Revaluation/RAP
MRMN0001 Message output and creation: Logistics Invoice Verification
Regards
Anji
Message was edited by:
Anji Reddy Vangala -
Hi Champs,
Any suggetion on deleting Old Invoices from AP_INVOICES_ALL which are no more required by organization
Thanks in Advance,
AjitRHi Ajit
You can purge invoices , provided following conditions should match
If you are purging invoices, the Purge program purges related invoice
distributions, invoice approvals, and invoice batches. You can purge
invoices that meet the following criteria:
• Last Update Dates of the invoice and its distributions, and the
Invoice Date, is less than or equal to the Last Activity Date
• Invoice is fully paid or is a zero–amount invoice
• Invoice is fully posted
• Invoice does not have any 1099 distributions, and is not for a
1099 supplier
• Invoice was not generated by a recurring invoice template
• Invoice is not a prepayment, and no prepayments have been
applied to the invoice
• All of the invoice’s payments meet the Payment Purge Criteria
• No open encumbrances are associated with the invoice
• Invoice is not Oracle Projects related
• All purchase orders referencing the invoice meet the Purchase
Order Purge Criteria (this condition applies only when you
choose Matched Invoices and POs for the purge category)
• If Oracle Assets is installed, all of the invoice’s distributions were
tested by Mass Additions
Ganesh -
Tcode or report to delete conf,invoices and po?
hi friends
Tcode or report to delete conf,invoices and po.
Regards
VinnyHi Vinny,
Please go to Confirm goods/services tab then selct the GR which you want to delete then click on delete button ..so system will post the revere GR with movement type 101...
Please go to "enter invoces and credit memos tab then select the invocie which you want cancel and then clcik on cancel button so ssytem will post the credit memo ..
We can not delete PO in SRM where in classic scenario....
Thanks
Ravi -
Getting error while posting invoice in T-code F-02
Hello,
When i try to post invoice in T-code F-02 gives me the error message"There is no item category assigned to account bank a/c/company"
Can any one suggest me why this is error came up and how to resolve this.
Thanks,
LaviHi,
I think u have activated doc splitting i.e. new gl acconting. Go to
Financial Accounting (New) > General Ledger Accounting (New) > Business Transactions > Document Splitting > Classify G/L Accounts for Document Splitting
And make setting for u r account. Also see all the nodes there are configured, to avoid any other error.
Regards -
Error while posting Invoice verifycation
Dear All..
At the time of posting invoice verifycation in miro for service order .The error is coming "No business area in the line item please check" But in that line item business area already mentioned.
Please resolve this problem.
Usefull answers will be rewarded.
REgards
Kumarhi,
T.code:OMJ7, link plant and division to your business area...
In Service Master enter division while creating with AC03 t.code.
Note:In T.code OX03 - Create the new Business Area
hope it helps..
Regards
Priyanka.P -
Error while posting Invoice IDOC (The difference is too large for clearing)
Hi All,
While posting Invoice IDOC to Remittance Advice IDOC get fails with status 51 & message ' The difference is too large for clearing'.
Please suggest any solution or reason to fail IDOC.
Thanks & Regards,
Ajay
Moderator message: please search for information and try to find out yourself before asking, this will be a functional problem anyway that should be asked in the appropriate forum, e.g. ERP Financials.
locked by: Thomas Zloch on Aug 20, 2010 1:59 PMPls check the tolerance amounts limits:
SPRO--- F/A --AR/AP -
Business transactions -Open item clearing--- Clearing differance---- Define / Assign tolerance groups for emp -
Where you need to change the limits of max amounts with the %
Let me know for any info.
Regards
Suresh -
How to delete one invoice document in FI module!
Hi all,
Does anybody know the T-code to delete a invoice document in FI module.
Thanks in advance!
Best regards,
Wendong FengHi
You can't delete the invoice document. probably you can reverse(cancel) the invoice document using MIRO or MR8M.
Actual deletion can be done only by archiving.
Regards
Mani
Maybe you are looking for
-
Separate Work email from Personal email?
Problem: I want to keep my .mac email account on my main personal MacBookPro when I open the email program Mail in my dock. I work at a company on a mac too and I use Sync to sync up browser bookmarks and calendar (I do not have Mail selected in the
-
HT5622 how can you add a group to contacts to email or message?
How can you add a group to your contacts to email or message a group?
-
Error updating CC on Mac, apps not working anymore
Hi, I'm getting an error 595629d0-4f3e-4383-8ec4-ae90204c08de when I update CC. CC askes me to login again whem I want to update and it's sending this error back. I also can't open any CC apps. Thank you!
-
Hi PM Gurus, In customization i have set approval requirement for M2 type notificaiton .Can you please explain me how to handle it further means how to give the authorization workflow in system.Suppose first approval Maintenance incharge second inch
-
My new refurbished iPhone 4 lights up for no reason every min and stays on for 5 sec?!
My new refurbished iPhone 4 lights up for no reason every min and stays on for 5 sec! HELP!