Skip to Content
Former Member
Feb 28, 2006 at 03:38 AM

synchronization problem for bapi


Hi all,

I have to write a vb program to call a series of transactions using bapi.

e.g. create sales order

I use the standard bapi BAPI_SALESORDER_CREATEFROMDAT2 to do so, then use BAPI_TRANSACTION_COMMIT to commit.

But it returns an error in my vb that:

The XML element named 'RETURN' from namespace '' references distinct types SAP.Connector.BAPIRET2 and SAP.Connector.BAPIRET2Table. Use XML attributes to specify another XML name or namespace for the element or types.

and someone here has suggested me to use the method CommitWork instead. but this does not handle the synchronization. How to handle this? Thanks.