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

BAPI versus batch input import

Hi everyone,

I'm currently working at a project were we need to integrate R/3 with several systems using a message broker similar to XI. The interfaces will vary and some will be asynchronus and some synchronus. The data loads can also vary. For the synchronus calls the amount of data will most likely be quite small, but for the asynchronus calls we will do batch updates.

My question is, for the batch updates coming from the message broker, what is the best way to get the data in R/3? Lets say for instance we have to create 200 000 business partners, this information is sent to the message broker from an external system and further on to R/3, then I assume doing a BAPI call to create these business parters is not the best way... Should we create a batch input program? Can the batch input program be called externally via an RFC call and pick up a file or can it only be scheduled to execute and pick up the file already placed somewhere? Are there any other ways you recommend to solve this?

Also, can R/3 send large amounts of data (eg in XML format) to other systems? If so how can this be accomplished? We also need to send data from R/3 to external systems for updates, and we cant always initiate that communication from the external system, we might need R/3 to initiate the communication.

Thank you!

kind regards

Dionisios

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    Posted on Dec 07, 2004 at 09:59 AM

    if you want to use batch input; you can write a batch-input not using a program but using a function.

    Then you can make the function remote enabled.

    So you can call it like calling a bapi.

    If you need help about how to write a batch-input function uploading a file; I can send sample code.

    P.S.:If it helps please not forget to give reward points.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 16, 2004 at 01:55 PM

    I think you should really stick with the BAPI Solution because a lot of the transactions in SAP Rel. 46C upwards aint further batch input enabled.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 10, 2005 at 07:26 AM

    Hi everyone,

    I actually have the same question as Dionisios. I have some further points to consider:

    BAPI:

    - faster

    - screen independent

    Batch-Input:

    - much better in error tracking and error correcting by the department

    - you are sure that every user-exit will run

    Dionisios, because this posting is quite old, which solution are you using?

    Kind regards

    Hans Martin

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 10, 2005 at 08:25 AM

    As the former reply, the benefits of Batch input import is 'much better in error tracking and error correcting by the department'.

    But please aware that it is more slower compare to BAPI.

    Batch Input isn't fit to the large amout case, even the importing is in the same sever.

    My suggestion is using the IDOC for asynchorous case, using the BAPI for the synchorous case. As the asynchorous way, the caller don't care about the return info, so IDOC can meet the requirement.

    I don't know which message broker you are using, but IDOC can be accepted smoothly by XI. If your message breaker support IDOC too, then it is a good choose for you, in my opinion.

    Thanks

    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.