Skip to Content
-1

ABAP CDS issue with using replace : Number of positions > maximum number (1333) for data type CHAR

Hello All,

I try to display log messages in a IDA ALV based on a CDS view.

I have a log message table which contains the the message class,

the message number and the values of the variables &1 to &4.

Afterwards I join table T100 and try to replace the variables of the message. But when using the replace function like this

replace(MessageText ,'&1', MessageVariable1) as msgstring

I get the following error message when activating the view.

"Number of positions > maximum number (1333) for data type CHAR"

Casting of the result seems to be ok but using nested replace statement, leads to the same error.

Any suggestions to solve this problem?

Regards,

Anurag.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 24 at 06:13 PM

    Works exactly as documented.

    https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/index.htm?file=abensql_functions_string.htm

    You find the documentation by using F1.

    Add comment
    10|10000 characters needed characters exceeded