cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to delete line item with 0 quantity in Invoice.

Former Member
0 Kudos

Hi Experts,

I came across a Invoice which reflects in VF04 as pending Billing due list. When i checked at the inter company Invoice i came across a line item with "0" quantity and price as zero, interestingly the replinishment cross company delivery document for the same line item for "0" quantity had a Batch assigned to it.

Now the issue is cusotmer has selected the line item with XX quantity and have selected the accounting document to be generated but the line item with "0 was left over and now still reflects in VF04.

Customer does not want to reverse the full cycle to resolve the issue since the document was created a year back.My Question is can we get the line item with "0" quantity to clear accounting so that it will not reflect in VF04.If so what will be process to do that.

Thanks in Advance to advice.

Regards,

Sridhar.R

Accepted Solutions (0)

Answers (2)

Answers (2)

gomatheeswaran_palaniappa
Active Contributor
0 Kudos

Hi,

Try setting billing block for the line item in delivery. Or you can try some way to remove the VKDFS table entry for the corresponding item through ABAP.

You can write a code in the exit EXIT_SAPLV05I_002 to restrict such cases in future (An entry to VKDFS table)

Regards,

P Gomatheeswaran

Former Member
0 Kudos

Hi,

It is not possible to delete this line item, you can discuss with your client and delete it from the table.

And now coming to the reasons why it has come into the invoice & Delivery

1. The Batch Item category must have been configured as relevant for billing...check this and make it irrelevant if the client does not do batch specific billing. --- This will stop the batches from coming into the invoice.

2. Check for the batch item category in delivery if Zero quanity is allowed...if it is allowed make it not allowed and make it an Error message, whenever there is a zero quantity system will give a message.