on 04-12-2007 5:53 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.