Skip to Content
author's profile photo Former Member
Former Member

invoice from sales order

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2007 at 03:20 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.