Skip to Content
avatar image
Former Member

The XML element named 'BAPI_TRANSACTION_COMMIT' from namespace 'urn:sap-...

I got the error message below when added "BAPI_TRANSACTION_COMMIT" to proxy in ASP.NET with SAP .NET Connector 2.0

The XML element named 'BAPI_TRANSACTION_COMMIT' from namespace 'urn:sap-com:document:sap:rfc:functions' references a method and a type. Change the method's message name using WebMethodAttribute or change the type's root element using the XmlRootAttribute.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 18, 2005 at 12:25 AM

    Do not add BAPI_TRANSACTION_COMMIT to your proxy, as it already exists as built-in method "CommitWork". Use this one instead.

    Add comment
    10|10000 characters needed characters exceeded

    • Sorry for the missing documentation thing: Yes: CommitWork() catches the exception internally and transforms it to the boolean return, so "false" means error.

      The rest of what you ask should be nicely documented. The docu is contained as VS integrated help, both reference and overview.