Skip to Content
Former Member
Jun 01, 2007 at 03:05 AM

Inbound interface from XI to R/3 - BAPIs and Idocs


Hello Folks

I want to process five BAPIs in a row in SAP R/3. I have an inbound interface (ABAP proxy) in SAP R/3 which has to call five BAPIs in a row for processing Master data. The Idoc types are MATMAS, ECMMAS, ECMREV, CLFMAS and BOMMAT in the same order. I want to know the corresponding BAPIs for these Idoc types to call BAPI in the same order mentioned above since I have to maintain the sequence for Engineering Change Order interface. I am considering here to use BAPI and not Idoc is for the process of rolling back all these transactions if one these fails.

For eg: If Material Master transaction fails, I should not process any of the further transactions.

If Material Master is success, and ECMMAS (Change master fails), then I should not process any of the further transactions and Roll back the material master and so on.

Here, Is there any way to delete the record from database after processsing using BAPIs for all of these transactions.. ie, delete material master, delete classification, delete change master, delete revision level. I don't need a delete Bill of material BAPI since this is the last in the row.

The message is coming from XI to R/3 and please let me know if there are some other options too in this to take care of this process or is there any way to use Idoc instead of BAPI and roll back the same way as mentioned above for the added records in the Database.

Any ideas or help is appreciated. Thanks a lot.

I will respond whatever I know based on the replies from you Experts