Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in RV_INVOICE_CREATE

Former Member
0 Kudos

Hello, I have a problem at the time of creating invoices .El problem is not continuous, sometimes when I want to create an invoice, the function gives me the following error.

NA VF004

____________________________________________________

Short Text

Reference document 8096259 (Error during INSERT)

Diagnosis

Internal error.

Procedure

Repeat the transaction.

If the error occurs and you have a CRM System connected to your ERP System, the document may have been archived in the CRM System.

If the error occurs again, inform your system administrator. If the error cannot be corrected, call the SAP Hotline directly. Describe which steps preceeded the error.

In the system where I am no connection with CRM, someone could help with this please.

2 REPLIES 2

former_member182371
Active Contributor
0 Kudos

Hi,

in the OSS looking for "VF004" there are two OSS notes available:

- 376921

- 320559

have a look at them just in case.

i think it´s the first one:

376921

symptom

If you attempt to create billing documents with a very large number of items, a termination with message VF004 "Order item & &: Error during INSERT of billing item" occurs.

Additional key words

VF01, VF04, VF06, RV60SBAT, POSNR, TVFK, VOFA

Cause and prerequisites

The billing document item number that is, field VBRP-POSNR, has the length (number of characters) 6.

If you attempt to assign an item number which is larger than 999,999, the termination occurs. Basically, this case can only occur if you use a relatively large increment (steps between the item numbers) of, for example 100 for the item numbering in connection with a large number of items to be billed (that is, more than 10,000 items).

Solution

In Customizing of the billing document types, set the increment of the item number for the billing document types you use to a lower value.

Best regards.

Edited by: pablo casamayor on Jun 26, 2008 8:29 PM

0 Kudos

Thank you for responding.

Sergio Cannelli.