SAP Knowledge Base Article - Preview

3331387 - Dump URL" cannot be used in SQL due to its type "LCHR", After kernel upgrade

Symptom

Syntax error (dump) after updated Kernel in several transactions (e.g. VA01). 

In ST22 the dump is stored like

Category               ABAP programming error
Runtime Errors         SYNTAX_ERROR
ABAP Program           CL_ODATA_CV_ATTACHMENT_API====CP
Application Component  CA-DMS
Date and Time          14.07.2023 04:35:09 (UTC)

 Short Text
     Syntax error in program "CL_ODATA_CV_ATTACHMENT_API====CP        ".

 What happened?
     Error in the ABAP application program.

     The current ABAP program "CL_SDOC_ATTA_IMPL=============CP" had to be
      terminated because it found a
     statement that could not be executed.
     In include "CL_ODATA_CV_ATTACHMENT_API====CM00A     ", in line 162 of program
      "CL_ODATA_CV_ATTACHMENT_API====CP        ", the following syntax errors
     have occurred:
     The column "URL" cannot be used in SQL due to its type "LCHR".


Read more...

Environment

  • SAP S/4HANA, on-premise

Product

SAP S/4HANA 2021

Keywords

URL" cannot be used in SQL due to its type "LCHR" CL_ODATA_CV_ATTACHMENT_API URL LCHR CL_SDOC_ATTA_IMPL , KBA , CA-DMS , Document management , 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.