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

Data Transfer Routine


We have a requirement i,e In third party sales scenario we want to make a invoice based on each Good's Receipt Document ( Material Document ) for this we are trying to write a routine but could not able to succeed as we are not able to restrict one GR in invoicing its clubbing all the GR's happened.

Ex: If there is one Sales Ord with one line item and coressponding one Purcase order based on SO & If there are two GR's happened against this PO. Then while invoicing it is clubbing the material in the two GR documents, Where as we want only only invoice for one GR. ( One unique invoice for one unique GR )

If anybody finds solution for this kindly help us. Point's rewarded.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 21, 2008 at 09:17 AM

    Hi Kishore,

    It is not possible to make an invoice in Sales using the Goods Receipt which happens in MM. If it happens in your project, I am sure it happens through some IDOCs or background jobs and when invoice is created, the data is taken either from order or from delivery, not at all from Goods receipt document.

    If you want to create different invoices for different deliveries of a single sales order, you should go for delivery related billing and want one invoice per each delivery document, then you have to do a Copying requirement routine in VOFM and assign teh routine to copy control between delivery and billing in VTFL at item category level.

    You may also have to work on the invoice split routine by copying the routine 007 and modify it to your reqmt.

    Hope this helps.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member


      You have not cleared which process you are using third party with shipping notification or without shipping notification. I assume you are using without shipping notification (J55) ,in this case we have billing based on vendor for vendor invoice in MM there is provision for GR based invoice in which you can have indivisual vendor invoice at every GR and while creation of customer invoice you can have refrence of Vendor invoice. for further details u can refer to j55 building block .

      I think this solves you requirement.

      Reward if useful.



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.