cancel
Showing results for 
Search instead for 
Did you mean: 

How to cancell Invoice by VF11

Former Member
0 Kudos

Salute Masters !!

I have created one new Sales Order Type PW00 Warranty Order for Plant P&YE (Port & Yard Equipment), Copied from Existing Sales Order Type EW00 Warranty Order Type for Plant BMHE (Bulk Material Handling Equipment) in which I have given separate No. Range From 3330000000 To 3339999999.

In PW00, I have given Delivery Document Type PY00 by No. Range from 3270000000 To 3279999999; Delivery Related Billing Type PY01 by No. Range 3290000000 To 3299999999 and have assigned to respected document.

Now, Sales Order has been created by 3330000000, subsequent Delivery has been done by 3270000001 and Invoice has been done by 3290000003, Released to Accounting and Excise Invoice done by 3290000003.

Now user wanted to get the same No. by which Accounting document generated internally which was created by FI side through FBN1, No. Range 3601000001 To 3791099999, for their Financial Accounting Document Type (OBA7), as it was given in my Billing Document type PY01, that is PB (Standard was EB), instead of 3290000003,

as his other plants Nos. are same as well as Invoice No. & Accounting Document No.

I have changed No. Range from 3290000000-32999999999 To 3601000001-3601999999 in VN01.

After wards user cancelled the excise invoice and tried to cancel Commercial Invoice by VF11, now system is giving error,

No Billing Document were generated

When check error log, its saying, Data inconsistency during processing of Document 3290000000

The Billing Document 3290000000 is already cleared

I have changed again the No. Range from 3601000001-3601999999 To 3290000000-32999999999

Still system is giving error,

No Billing Document were generated

When check error log, its saying, Data inconsistency during processing of Document 3290000000

The Billing Document 3290000000 is already cleared

Please suggest how to cancel invoice & give the same No. Range as per user requirement and we can do Excise Invoice.

Thanks & Regards

Srivastav

+91-9973504950

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks!!!

Solved.

jpfriends079
Active Contributor
0 Kudos

Check your copying control for Delv to billing, Tcode VTFL and billing doc type, tcode VOFA for your transaction.

If the routine 029 in the copying control or billing doc type.

Then remove that and try.

Thanks & Regards

JP

Former Member
0 Kudos

Mr. JyotiPrakash

As you have suggested to check the copy control for Delivery to Bill by VTFL, if the routine is 029.

I could not understand this, what is requirement of that?

User already have cancelled twice this bill before making Excise Invoice by J1IIN.

Now the problem is with the No. Range & Account Document Posted No., where we can reverse that from FI side?

It might be by FB08 Reverse Document Type : Header Data

Or else from where we can get back Account Document posting No.?

Please check & provide solution for this, I will highly thankful to you.

Rgds

Srivastav

09973504950

jpfriends079
Active Contributor
0 Kudos

As I already mentioned, you need to remove Copying requirements in Cancellation section of Billing Doc type-PY01 (tcode VOFA).

As the routine is for cancelling an invoice that has been cleared in accounting. So, this copying requirements are FORM routines that check certain requirements as a precondition for the copying process. This requirement checks if a billing document has been paid in AR prior to permitting cancellation. For example, If an error has been made in invoicing, it is possible to create a cancellation invoice and then re-bill the customer for the correct amount. This process, however, should not be allowed if the invoice has already been forwarded to the customer and payment has been received and applied. This requirement can be assigned to the billing document to insure that no paid invoices are allowed to be canceled.

So, remove that and try.

And check you doc number 3290000003 with tcode FB03

Also, Doc type PB in tcode OBA7, check

- number range for doc type.

- Reversal Doc type and number range for reversal doc type.

Hope this can assist you.

Thanks & Regards

JP

Former Member
0 Kudos

Mr. JyotiPrakash

Thanks for your valuable suggestion.

From where should I start?

Rgds

Srivastav

+91-9973504950