Skip to Content
avatar image
Former Member

BAPI for creating a outbound IDOC

Hi,

Can anyone explain me how to find a BAPI which will create a outbound IDOC(any type)

Regards,

Saji

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Aug 19, 2004 at 04:38 PM

    You can use function module MASTER_IDOC_DISTRIBUTE. If you need an RFC function module, you can create a custom function module that will call MASTER_IDOC_DISTRIBUTE.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 19, 2004 at 06:53 PM

    There is no BAPI that produce an outbound Idoc. Bapi is just a function module with RFC enabled. Normally Bapi is created so that it can be called from an external system. And outbound Idoc is sending data from R/3 to external system not from an external system to another external system thru R/3. Because of this, I think that is why SAP does not produce Bapi for outbound Idoc. If you look at MASTER_IDOC_DISTRIBUTE, it is not RFC enable.

    Add comment
    10|10000 characters needed characters exceeded