Symptom
When changing the sales document in S/4HANA 2023, system dump as following:
Category ABAP programming error
Runtime Errors UNCAUGHT_EXCEPTION
Except. /BOBF/CX_FRW_CONTRCT_VIOLATION
ABAP: Program /BOBF/CL_TRA_TRANSACTION_MGR==CP
Application Component BC-ESI-BOF
Error analysis
During COMMIT WORK processing, an exception has occurred that could not
be intercepted during processing. To avoid inconsistencies, this
situation causes the session to abort, regardless of whether or not
there is an exception handler outside the COMMIT WORK statement. The
reason for the exception occurring was:
API contract violation. See prev. exception or "Application Information"
The exception is related to the previous exception
"/BOBF/CX_FRW_INT_CNTRCT_VIOLTN" that occurred in
program "/BOBF/CL_TRANSACT_STATE_HANDLRCP", in line 25 of include
"/BOBF/CL_TRANSACT_STATE_HANDLRCM002". The reason for this exception
was:
Illegal state transition from "FINALIZE" to "AFTER_SUCCESSFUL_SAVE"
Read more...
Environment
- S/4HANA 2023
Product
Keywords
/BOBF/CX_FRW_CONTRCT_VIOLATION, VBKA-HANDLE, DO_SAVE, Illegal state transition, FINALIZE, AFTER_SUCCESSFUL_SAVE , KBA , SD-SLS , Sales , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.