Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Workflow commitment error

We run workflow for project approvement. When the user tries to commit the work item, the error has occurred.

Do you have any idea for this problem?

Thanks in advance.

CNIF_PI056

Diagnosis

In the current LUW (Logical Unit of Work) at least one of the BAPIs listed below or the BAPI "BAPI_PS_PRECOMMIT" has finished with an error.

BAPI Method

BAPI_BUS2001_CREATE ProjectDefinitionPI.CreateSingle

BAPI_BUS2001_CHANGE ProjectDefinitionPI.Change

BAPI_BUS2001_DELETE ProjectDefinitionPI.Delete

BAPI_BUS2001_SET_STATUS ProjectDefinitionPI.SetStatus

BAPI_BUS2054_CREATE_MULTI WBSPI.CreateMultiple

BAPI_BUS2054_CHANGE_MULTI WBSPI.ChangeMultiple

BAPI_BUS2054_DELETE_MULTI WBSPI.DeleteMultiple

BAPI_BUS2001_SET_STATUS WBSPI.SetStatus

BAPI_BUS2002_CREATE NetworkPI.CreateFromData

BAPI_BUS2002_CHANGE NetworkPI.Change

BAPI_BUS2002_DELETE NetworkPI.Delete

BAPI_BUS2002_ACT_CREATE_MULTI NetworkPI.ActCreateMultiple

BAPI_BUS2002_ACT_CHANGE_MULTI NetworkPI.ActChangeMultiple

BAPI_BUS2002_ACT_DELETE_MULTI NetworkPI.ActDeleteMultiple

BAPI_BUS2002_ACTELEM_CREATE_M NetworkPI.ActElemCreateMultiple

BAPI_BUS2002_ACTELEM_CHANGE_M NetworkPI.ActElemChangeMultiple

BAPI_BUS2002_ACTELEM_DELETE_M NetworkPI.ActElemDeleteMultiple

BAPI_BUS2002_SET_STATUS NetworkPI.SetStatus

If an error has occurred in at least one individual BAPI and despite this you call BAPI "BAPI_PS_PRECOMMIT", this message is issued with message type I (information).

If an error has occurred in at least one individual BAPI and in BAPI "BAPI_PS_PRECOMMIT", but despite this you carry out a COMMIT WORK (for example, using BAPI "BAPI_TRANSACTION_COMMIT"), the current program is terminated and this message is issued with message type X (exit).

This is necessary to ensure data consistency for all objects created, changed, and/or deleted in this LUW.

Note that the current LUW was not successfully closed and that no new LUW can be started in this status.

System Response

The precommit is not executed, or the COMMIT WORK leads to a termination.

Procedure

Change the calls of the individual BAPIs so that no errors occur during the individual checks or during the subsequent overall check.

Tags:
Not what you were looking for? View more on this topic or Ask a question