Symptom
After rejecting the flexible workflow of a sales document, system doesn't change the status of the sales document from 'In Approval' to 'Rejected'.
There may be dump found as following at the same time:
Category ABAP programming error
Runtime Errors ASSERTION_FAILED
ABAP Program CL_SD_SLS_COMP_APM============CP
Application Component SD-SLS
----------------------------------------------------------------------------------------------------
|Short Text |
| The ASSERT condition was violated. |
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
|What happened? |
| The current application program has detected a situation with the |
| ASSERT statement that should not occur. |
| The reason for this runtime error was one of the following: |
| - For the checkpoint group specified with the ASSERT statement, the |
| activation mode is "abort". |
| - A system variant has been used to set the activation mode to "abort" |
| globally for all checkpoint groups in this system. |
| - The activation mode is set to "abort" at program level. |
| - The ASSERT statement is not assigned to any checkpoint groups. |
----------------------------------------------------------------------------------------------------
Read more...
Environment
- Sales And Distribution (SD)
- SAP S/4HANA
Product
Keywords
ASSERTION_FAILED, dump, workflow, flexible workflow, CL_SD_SLS_COMP_APM============CP, CL_SD_SLS_COMP_APM, rejection, reason for rejection, BADI_SD_APM, IF_BADI_SD_APM~GET_SDOC_REJECTION_REASON, ASSERT lo_badi_sd_apm IS BOUND, CL_SD_SLS_COMP_APM, SD_SLS_DOC_SET_APPROVAL_ACTION , KBA , SD-SLS-WFL , Approval Workflows , 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.