I am currently working on a project where I am posting a series of confirmations to ERP through a custom BAPI in an MII transaction. This BAPI makes several changes and when they are completed sends an RFC back to through a listener to acknowledge. Is there a way that I can have my transaction wait for this RFC before processing the next confirmation?
I have considered using two transactions. One that will process a record, then another triggered by the RFC to acknowledge and then process the next record. I figure there has to be a better way.