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 vs IDOC in creating Sales Order

Former Member
0 Kudos

Hi Gurus,

Good day!

I would like to seek for your expertise to assess the advantages and disadvantages of using IDOC vs BAPI in creating sales orders?

Overview of the requirement:

Sales Orders are automatically created via idoc but we are planning to redesign the process by using BAPI. However, there are concerns when using a BAPI such as.

1. Error handling/monitoring

2. reprocess of failed creation of orders

Thank you in advance.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Sai Sai,

those are exactly the disadvantages.

If you were using other middleware like SAP XI then you would have a place to monitor communications and reprocess messages, so you could use BAPI.

But if you don't you'd had to create that mechanism in SAP or move that responsibility to your partners.

BAPIs are useful for online SAP programs but if you require a background process with a maintenance infrastructure then you are better served with IDOCs.

regards,

Edgar

1 REPLY 1

Former Member
0 Kudos

Hi Sai Sai,

those are exactly the disadvantages.

If you were using other middleware like SAP XI then you would have a place to monitor communications and reprocess messages, so you could use BAPI.

But if you don't you'd had to create that mechanism in SAP or move that responsibility to your partners.

BAPIs are useful for online SAP programs but if you require a background process with a maintenance infrastructure then you are better served with IDOCs.

regards,

Edgar