Skip to Content
0
Former Member
Dec 11, 2012 at 03:44 PM

Adding a new material while saving the Invoice in SAP SD module

113 Views

Hello,

We have a requirement where we need to create a Invoice with reference to sales order through VF01.

While saving the Invoice a new line item (Material) must be added in the invoice through some Exit/BADI/Enhancement.

We have written the code in the Enhancement spot of the include LV60AB03.

The new line item is getting added when we enter the sales order in the initial screen but not getting saved while saving the invoice.

When we check the invoice in VF03 the new material does not exist.

Also we are getting an error when invoice is created.

Document & has been saved (Pricing error)

Message VF071.

Could anybody please provide information on how to add the new item/material at the time of saving the invoice with the correct pricing data?

Thanks & Regards

Abdul samee