04-25-2014 1:46 AM
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.
04-25-2014 2:09 AM
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
04-25-2014 2:09 AM
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