12-22-2014 5:04 AM
Hi Everyone,
I am using FM RV_INVOICE_CREATE, to create an invoice with reference to a delivery (passed the delivery to the KOMFK structure).
However, I am having trouble with the following:
1) How do you pass the number of the invoice you want created?
With Sales Order FM's, I knew how to do this.
However, with this FM, SAP generates it's own invoice number.
Is there anyway to pass it? The invoice needs to be custom number we are passing through.
2) Pricing Conditions - How do you pass them, meaning to which structures?
Will these overwrite the conditions passed from the Sales Order?
Thanks!
12-22-2014 5:09 AM
Hi,
You need to set external number range for custom RV numbers,
XKOMV is the structure for conditions in invoice creation ,pass KONV,VBRK table data into it.
Regards,
Srini.
12-22-2014 5:13 AM
Thanks!
What do you mean by "You need to set external number range for custom RV numbers,"?
We are using this FM in a program, that uploads 100s of invoices.
The number has to be the same, since these are being moved from one system to another.
Is there a way to set the number in the fm for the invoice that is being processed?