Skip to Content
author's profile photo Former Member
Former Member

Transaction needs RFC response

Hi Experts,

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.

Thanks,

John

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Sep 30, 2011 at 11:26 AM

    Ordinarily, a BAPI would provide a response back to MII as part of its synchronous processing. The ResponseXML would contain the information you are currently receiving back as an RFC message. So first suggestion would be to change the design of the custom BAPI, so that the confirmation information is passed back to MII in the original BAPI call.

    Depending upon the time it takes to process (which is why I suspect they are currently separate), the call from MII could time out. There are ways around that, but if it is a processing duration issue, you may want to do this as a two transaction process.

    Regards,

    Mike

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.