Skip to Content
avatar image
Former Member

RV_INVOICE_CREATE - Invoice with your own number?

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!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 22, 2014 at 05: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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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?