cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to release to accouting

Former Member
0 Kudos

Problem:

Invoice cancellation document created, but accounting document cannot be created due to 'error in accounting interface'. It happened to only in some cancellation only.

Steps

1) When performing release to accounting of the cancellation document using VF02, it gives the error 'Automatic clearing of billing document 6010000204 and canc. doc. 7010000026 not poss.' This is an information prompt. After closing the prompt, next error 'Incorrect doc.no.: 7010000026. Select document number between 6010000000 and 6019999999'

The diagnosis

Message no. F5151

Diagnosis

The document number you specified, "&v1", is not in the appropriate number range. The number range is dependent on the document type.

The exception to this rule is formed by recurring entry documents, which must use number range 'X1' and sample documents, which must use number range 'X2'.

Possible reasons for this error message are:

You have entered an incorrect document number.

An incorrect document number was transferred to this application during an update from another application (e.g. CO).

System Response

The document cannot be processed any further.

Procedure

Enter a document number that is within the specified number interval.

If this error was caused by an update from another application, check the type of number assignment in that application (external or internal?) as well as the document number transferred.

Example

In the CO settlement profile, a document type with external number assignment was entered, whereas an internal document number was transferred.

Pls advised. Some cancellation can be posted successfully except for a few which cannot be released to accounting.

Accepted Solutions (1)

Accepted Solutions (1)

Lakshmipathi
Active Contributor
0 Kudos
Message no. F5151

Check note 104712

thanks

G. Lakshmipathi

Answers (9)

Answers (9)

Former Member
0 Kudos

Hi,

The given solution above does not work.

The scenario happened when accounting document was not generated when invoice is cancelled. - due to error in accounting interface. And when you go to release to accounting - it prompted the message as illustrated in my first query.

System is trying to post a 'RV' doc type instead of 'AB' as defaulted by SAP when you try to release to accounting. (VF02)

However, when document is created without any error in accounting interface and you do not need to do a manual release to accounting, the document type generated is AB.

It seems to be a SAP error. The doc type for cancellation should be consistent whether I need to perform release to accounting.

Hope you can advise.

Thank.

former_member217082
Active Contributor
0 Kudos

Hi

I suppose the billing document number range should be correct only but kindly check the following data

First ,check the document number range at sales order level in VOV8. As per the diagnosis as it is telling that your number range assignment in VOV8 is wrong and , so kindly check and assign X2 number range in VOV8 for the sales document type through which you created sales order.

Secondly also check the Controlling number range assignment by taking help of FI consultant

Regards

Sri

ivano_raimondi
Active Contributor
0 Kudos

Hi, please check the note 1259505, point Q5

Former Member
0 Kudos

1) Tried MR8M but system prompted invoice document does not exist. However, the invoice is created/accounting document released. Not sure why is this happening.

2) Implemented note 321410

With 321410. implemented, it does not resolve the existing problem (cancelled document cannot be released to accounting). Pl advised.

Thank.

Former Member
0 Kudos

Hi Karan

Can you please confirm the type of billing document created for number 6010000204 and canc. doc. 7010000026.

Please check the cancellation billing document type for document type 6010000204 and match the same with document type for 7010000026.

If that setting is correct then please the number assignment for billing document type 7010000026.

former_member188076
Active Contributor
0 Kudos

Hi Karan

1) Tried MR8M but system prompted invoice document does not exist. However, the invoice is created/accounting document released. Not sure why is this happening.

The transaction MR8M is for Invoice Cancellation of MM, not the SD. So you got the message that Document does not Exist.

2) Implemented note 321410

With 321410. implemented, it does not resolve the existing problem (cancelled document cannot be released to accounting). Pl advised.

As I advised in my earlier post to resolve the issue, pl. check the Documnet type of Accounting and Internal No. Range should be assigned here. To find the Accounting Document Type of your Billing doc / Reverse Billing Doc, check in the transaction VOFA--> Document Type below the Billing Category, if it is blank then the system will automatically pick the accounting document type RV.

Now go to transaction OBA7 and check which no. range is assigned there. Then go to FBN1 and check the no. range it should be Internal Only (check box Ext should not be ticked).

Please do as I said and then revert.

Regards

Amitesh Anand

former_member188076
Active Contributor
0 Kudos

Hi

Pl. check the Note 321410.

It says that it is because you have defined the Financial Accounting Document Type with an External No. assignment for Billing Type.

And the solution is that you maintain an Internal No. range for Financial Accounting document type.

Hope this will help you in resolving the issue. Post your outcome.

Regards

Amitesh Anand

Former Member
0 Kudos

Hi,

Please check Bulling type for commercial invoice and Cancellatuion invoice.

After that Please check No range .

This is no range issue.

If any issue, pl revert.

Rajesh

Former Member
0 Kudos

There should not be a problem of document range as other cancellation was done successfully. Are there any program that can remove the cancelled document (which accounting account has not been created?) I hope to cancel the invoice from the start again.

Thank.

former_member289871
Participant
0 Kudos

Hi Karan,

Please visit to see if it helps you.

Check http://sap.ittoolbox.com/groups/technical-functional/sap-acct/getting-error-when-releasing-the-cance... as well because it is related to the same issue you are having.

Kind Regards,

Mayuresh Ayachit.

former_member289871
Participant
0 Kudos

Hi Karan,

I think that your "Billing Document" no changes are not in proper ranges. May be they are allocated wrong during configuration. You can to "spro" transaction and search for "Display document ranges" and then check your ranges for invoice.

May be your cancelled invoice doc ranges are not incorrect so it is not allowing you to release for accounting.

Kind Regards,

Mayuresh Ayachit.

former_member289871
Participant
0 Kudos

Hi Karan,

I think there is some problem in your document number ranges for "Invoice document". Since you mentioned that the cancelled invoice document is not releasing for accounting because it is not in the proper document no ranges. You have to change your invoice document no ranges. It comes into configuration and you can search the transaction code from "spro" transaction.

Kind Regards,

Mayuresh Ayachit.