Skip to Content
author's profile photo
Former Member

Create and idoc from custom BAPI

Hi folks,

I've created a custom BAPI - I need to now convert it to an idoc. Could some one give me a brief overview of the process required to do this, as SAP help seems really scattered on this process?

Cheers,

Steve

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    Posted on Aug 20, 2007 at 12:47 AM

    Hi Steve,

    Not sure how this is done, but below is a thread to create the message type and IDOC see if it can be of any help to you.

    IDOC creation

    Regards,

    Atish

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 22, 2007 at 11:18 PM

    Thanks for your help Atish. Points awarded for a very helpful answer.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Thanks for your response Sam. Unfortunately, my requirement was to create a new idoc message type and new segments for the new idoc type, based on the custom BAPI I wrote. This was required so that we can expose the new idoc and it's segments to an external party for them to send the details through to us.

      My understanding of the FM MASTER_IDOC_DISTRIBUTE is that it creates an idoc for you after you've already populated the segments of an existing idoc type.

      It was perhaps a poorly worded query on my part. But thanks for your assistance :-).

      Cheers,

      Steve