SAP Knowledge Base Article - Preview

3341704 - Runtime Error ASSERTION_FAILED in ABAP Program CL_CTE_FND_POST_LOG_TRACE (CTE)

Symptom

When attempting to post expense reports through the Feedback Loop in the Posting Monitor, the process terminates unexpectedly with the following system dump, preventing the Feedback Loop from completing successfully:

FieldValue
CategoryABAP Programming Error
Runtime ErrorASSERTION_FAILED
ABAP ProgramCL_CTE_FND_POST_LOG_TRACE=====CP

The termination occurs in method ADD_LOG_TRACE_LIST, within include CL_CTE_FND_POST_LOG_TRACE=====CM002 at line 43. The main program at the time of termination is CTE_FIN_PROCESS_POSTING_DOCS.

The root cause can be observed in the method stack: the field LS_DOCUMENT_KEY-DOCUMENT_ID is empty for almost all entries in the method stack — with the exception of CL_CTE_FIN_POST_HANDLER_ER=>POST_NEW_DOCUMENTS, where the document ID is correctly populated in variable LS_DOCUMENT_DATA. This inconsistency between the two variables is what ultimately leads to the dump.


Read more...

Environment

  • SAP S/4HANA integration with SAP Concur solutions
  • SAP ERP integration with SAP Concur solutions
  • SAP ECC SP 100 15
  • SAP S/4 HANA 1511 – 1909 SP 10S 12
  • SAP S/4 HANA 2020 FPS 01

Product

SAP ERP all versions ; SAP ERP integration with SAP Concur solutions all versions ; SAP S/4HANA Cloud Private Edition all versions ; SAP S/4HANA all versions ; SAP S/4HANA integration with SAP Concur solutions all versions

Keywords

ASSERTION_FAILED, CTE_FND_POSTING 035, CTE_FND_POSTING035, 035(CTE_FND_POSTING), 035 (CTE_FND_POSTING), CL_CTE_FND_POST_LOG_TRACE=====CP, CL_CTE_FND_POST_LOG_TRACE=====CM002, ADD_LOG_TRACE_LIST, T005, INTCA , KBA , BNS-CON-SE-S4-FIN , Concur S/4HANA Financial Integration , BNS-CON-SE-ERP-FIN , Concur ERP Financial Integration , Known Error

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.