Skip to Content
author's profile photo Former Member
Former Member

BAPI to IDOC

Hi,

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

Thanks in advance

Lavanya

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 05: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 05:24 AM

    bapi to enable the function rfc.

    idoc is container. not possiable.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 05: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.