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: 

RV_INVOICE_CREATE problem..

Former Member
0 Kudos

Hi,

I have used FM 'RV_INVOICE_CREATE' to create a invoice

(credit memo) by giving sales order.

However I find that after execution of FM, the xvbrk-vbeln value is $000000001, but not the actual invoice number (i.e. system generated).

Can any body please help me on generating invoice number?

Thanks in advance,

Rohan.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Call RV_INVOICE_DOCUMENT_ADD after your RV_INVOICE_CREATE call.

or pass ''A'' to WITH_POSTING parameter.

Regards,

Subramanian

Edited by: Subramanian PL on Jul 13, 2008 8:52 PM

1 REPLY 1

Former Member
0 Kudos

Hi,

Call RV_INVOICE_DOCUMENT_ADD after your RV_INVOICE_CREATE call.

or pass ''A'' to WITH_POSTING parameter.

Regards,

Subramanian

Edited by: Subramanian PL on Jul 13, 2008 8:52 PM