Will there always be an implicit commit in an RFC?

Will there always be an implicit commit in an RFC?

Will there always be an implicit commit in an RFC?

We have our own developed remote function module with an update of its own tables. No "Commit Work" is issued in the function module.

When (in test) we call the function module, from an ABAP program, we can control it if the updates are committed and rolled back by calling BAPI_TRANSACTION_ROLLBACK.

When we try to roll back the updates from a Windows program, this doesn't work. We have tried to call function "TRANSACTION_BEGIN" in our function and then call the BAPI: "BAPI_TRANSACTION_ROLLBACK" from the windows program, but our own table is still updated.

Is there any way to make a Rollback from Windows from our own developed function module?

    Requires Free Membership to View

    When you register, you will start receiving targeted emails from my award-winning team of editorial writers. Our goal is to keep you informed on the hottest topics and biggest challenges faced by SAP professionals today.

    Hannah Smalltree, Editorial Director

    By submitting your registration information to SearchSAP.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSAP.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

Some RFC enabled function modules do an implicit commit. Others don't. It sounds like you have one of the former.

This was first published in July 2007

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.