cancel
Showing results for 
Search instead for 
Did you mean: 

Send Idoc to SAP in sequence and roll back if the last one fails

Former Member
0 Kudos

Hi All

I have a scenario like this.

System Ajore --> XI - > R/3

Ajore is a manufacturing system

Send material from Ajore to SAP through XI and create MATMAS idoc in SAP

Send change number from the Ajore to SAP through XI and create ECMMAS idoc in SAP

Send Bill of materials from the Ajore to SAP through XI and create BOMMAT idoc in SAP

All these will should be send in the sequence MATMAS, ECMMAS, BOMMAT to SAP. How can I achieve the sequence operation through XI?

Second challenge is when I send the BOMMAT to SAP and if it fails, then all the processed MATMAS, ECMMAS sent to SAP should be rolled back.

Is it possible to achieve using XI?

The reqmt is very urgent. Any help is really appreciated.

Thanks

Ricky

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Ricky,

I think you can go with the event driven messaging. Check this weblog on this:

/people/krishnakumar.ramamoorthy3/blog/2007/04/12/xi--event-based-message-triggering-with-dependencies

---Satish

Former Member
0 Kudos

Hi Satish,

Thanks for the reply. Do I need to do event driven message processsing in XI for this? The other way is to schedule the RBDAPP01 in R/3 to post idocs in sequence based on the message type and Partner number

Does this makes sense?

And any idea bout the second question for roll back?

Thanks

Former Member
0 Kudos

Ricky,

If you are going with the first option then you have to do in XI.

If you are going with the second option and if it fails then how you are going to handle is important. You cannot create alerts at that time. But in the first option i think you will have this option.

---Satish