Skip to Content

ORDER05 is pulling all line items

Hello Experts,

We wanted to generate ORDER05 IDOC for each line item of sales order. Output is configured and its generating at item level. But IDOC is generated it contain information of the other line items as well even if it was generated from an output of a specific order item. So in effect we get as many IDOCs as the order line item but with the same information in all. I dont know if this is a configuration issue, SAP issue or ORDER05 is supposed to work only for the order header? Please advice at the earliest

Thanks

Prathib

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jun 08, 2019 at 03:30 AM

    Hi Prathib

    Sounds like you have configured the output type on item level rather than at the Header Level so yes sounds like a configuration issue. It would really help if you supplied some screenshots here but definitely the ORDERS05 idoc should be generated from the Header output, not item.

    1 ORDERS05 idoc = 1 Order (including all of the items!)

    Hope this helps, if so please mark as Best Answer.

    Thanks & Kind Regards

    Phil Cooley

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Prathib

      Yes, you can do this without programming via transaction BD64 but you need to have set up the ALE Distribution Model. Select the idoc type and the business partner it relates to and you will then be able to set a filter. The only thing I am not sure of is if the Route is a selectable field in the filter but I believe you can add somewhere. To be honest, it would be easier to update the customer exit and simply ignore the items if the Route = your selection. This way all segments related to the item will be ignored.

      For custom user exits check the following enhancement - VEDA0001, function module EXIT_SAPLVEDA_001 etc.

      Thanks & Regards

      Phil Cooley

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.