Application Development 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: 

BAPI to IDOC

Former Member
0 Kudos

Hi,

Can any one let me know how to convert a BAPI function module into IDOC?

Thanks in advance

Lavanya

3 REPLIES 3

Former Member
0 Kudos

Hi,

Why u need to convert ?

search the idoc meets u r requirment................

we will not convert bapi to idoc because bapi is function module and idoc is data container.

Regards

kish

Former Member
0 Kudos

bapi to enable the function rfc.

idoc is container. not possiable.

Former Member
0 Kudos

<b>IDocs and BAPI are very different</b>, so it should be easy to choose between them depending on your requirements.

<b>IDOCS</b>

Advantages

System can work even if target system not always online. The IDoc will be created and sending will just continue once you get connected to the other system.

No additional programming required. You just need to set up the configuration.

Disadvantages

Receipt/processing on the target system may not be immediate.

The sending system has no way to know whether the target system actually received what you sent (unless you use ALE).

If there is no SAP standard IDoc available for your requirement, it's harder to create a customized IDoc than a customized BAPI.

<b>BAPIS</b>

Advantages

You can tell if your sending was successful or not

Sending to/processing on the other side is immediate

Easier to create your own BAPI than your own IDoc

Disadvantages

Will only work if you have an active online connection.

Some programming required to call the BAPI.

Regards,

Maha