SAP Message C2295 - Unexpected COMMIT WORK

Diagnosis
A COMMIT WORK was executed unexpectedly.
In order processing, a COMMIT WORK may not be carried out until the saveprocess is finished because otherwise the order data may be postedincorrectly or incompletely.

System Response
To avoid incorrect data being saved, the system exits the transactionwith a program termination. In production systems no program terminationoccurs, unless you have maintained the message type of this messageaccordingly in the production system (see below).

Procedure
Contact your SAP Administrator.

Procedure for System Administration
Ensure that you do not execute a COMMIT WORK in a User Exit or BAdI andthat you do not call any SAP functions that execute a COMMIT WORK fromUser Exits or BAdIs.
For details on how to proceed, see the long text about the programtermination.
Using transaction OPJB set the type of this message toX (as the version, enter 00000000 as a default) in your productionsystem.