Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI for creating a outbound IDOC

Former Member
0 Likes
2,161

Hi,

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

Regards,

Saji

4 REPLIES 4
Read only

nablan_umar
Product and Topic Expert
Product and Topic Expert
0 Likes
1,386

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.

Read only

0 Likes
1,386

That is right, what I would like to know is whether we have any Standard SAP BAPI's which serve's this purpose.

Read only

0 Likes
1,386

Transaction BAPI will list the available standard SAP supplied BAPI's

Read only

nablan_umar
Product and Topic Expert
Product and Topic Expert
0 Likes
1,386

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.