12-03-2007 5:18 AM
Hi,
Can any one let me know how to convert a BAPI function module into IDOC?
Thanks in advance
Lavanya
12-03-2007 5:22 AM
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
12-03-2007 5:24 AM
bapi to enable the function rfc.
idoc is container. not possiable.
12-03-2007 5:41 AM
<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