cancel
Showing results for 
Search instead for 
Did you mean: 

invoice from sales order

Former Member
0 Kudos

My requirement is to get invoice from vbfa table by delivery no., where vbtyp_n is M or N. But there are some deliveries which vbtyp_n is not 'N', then to get those invoices:

I went to lips table retrieve sales order and item(vgbel, vgpos) for a particular delivery.

then I went to vbrp table to get the invoice by sales order and item.

But my question is performance is not good in this way, Is there is any better way to achieve this? Your inputs please.

Thanks

Shailaja

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

You can use this function: RV_ORDER_FLOW_INFORMATION

This give to you a list of documents ( the flow documents) since sales order to invoice.. you can filtered that for get the document that you want.

I hope this help to you

Regards

Marco Arévalo