Skip to Content
-1

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

Feb 24 at 05:41 PM

78

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Horst Keller
Feb 24 at 06:13 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded