Application Development and Automation 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: 
Read only

Create Invoice with RV_INVOICE_CREATE

Former Member
0 Likes
2,277

hi buddies, I want to create invoice with reference to sales orders and delivery notes, Can I use FM:RV_INVOICE_CREATE for both?

I have tested this FM, and seems no errors, but no documents created when check the invoice table vbrk...

thanks!

hi buddies, I want to create invoice with reference to sales orders and delivery notes, Can I use FM:RV_INVOICE_CREATE for both?

I have tested this FM, and seems no errors, but no documents created when check the invoice table vbrk...

thanks!

7 REPLIES 7
Read only

Former Member
0 Likes
1,216

hi,

you can also try with GN_INVOICE_CREATE, this is also used for the same purpose.

Regards

Vijay

Read only

Former Member
0 Likes
1,216

Can I change the condition type with these two FMs?

Read only

0 Likes
1,216

You mean the change of condition types for the existing invoice.

Regards

Vijay

Read only

0 Likes
1,216

no, just create invoice reference to sales order or delivery notes, but need to add new condition type and change condition type when create invoice...

Read only

0 Likes
1,216

Hi,

in that case you can populate the condition related internal tables and try..

XKOMFK

XKOMFKGN

XKOMFKKO

XKOMV

Regards

Vijay

Read only

0 Likes
1,216

you mean use GN_INVOICE_CREATE?

can I use RV_INVOICE_CREATE?

because it's very simple to create invoice reference to sales order, only need to fill in order number, is it the same as GN_INVOICE_CREATE?

and by the way, whether need to commit the FM, because I have found the invoice data in the transparent table after call FM...

Read only

0 Likes
1,216

Hi,

you can use RV_INVOICE_CREATE, you can do commit only after checking the XVBFS internal table , and look for Success message then only you need to use COMMIT.

Note: XVBFS is the log internal table, here you can see success and error log.

check this internal table after execution of the FM for log details(success/error).

Regards

vijay