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

Sales Order - Output Type EDI

Hi All,

I am working on an SD requirement in which I get Perchage Order from third party through IDoc (Basic Type ORDERS05).

After receiving this IDoc I have to create a Sales Order (that I am doing using FM IDOC_INPUT_ORDERS). Here as soon as Sales Order gets created, an Outbound IDoc gets triggered (Message Type - ORDRSP) for confirmation. This outbound idoc gets created every time I do any change in sales order items. Every thing is visible in trasaction.

My problem is, I want to get all the outbound IDocs triggred in a particular sales order in my Z program.

Please let me know if there is any 'Table' or 'Function Module' or any other way to get them.

Thanks !!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 07, 2010 at 03:21 AM

    Hi Neha,

    The output type will have the IDOC number in the processing log. You can read the NAST entries with the Sales order number as Object key and the Output Condition used for the IDOC transmission, Get the CMFPNR field from NAST. With this CMFPNR read the table CMFP and you can find the IDOC number in MSGV1 field. Using this IDOC number you can read the IDOC contents using he function module IDOC_READ_COMPLETELY.

    Regards,

    Immanuel.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2010 at 08:01 PM

    tables named EDI* contain the references and data values. You can find an IDOC in WE02/05 and then find the IDOC number, etc., in the EDI* tables.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 07, 2010 at 03:18 PM

    Hi Immanuel,

    Thanks a lot for your ans !!! 😊

    It solved my prob. 😊

    Many Thanks ....

    Rewarding you points for this 😊

    Regard,

    Neha

    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.