2022 Sep 07 8:58 AM
When inserting manually in a material long text in base data the value & it is displayed commectly from MM03 but if the text is extracted using the function READ_TEXT it is instead converted in <(>&<)>
Do you have any idea how to solve or manage this issue?
Thanks!
2022 Sep 07 12:17 PM
This is not about READ_TEXT. READ_TEXT returns what was stored. It's normal to have & stored as <(>&<)>.
These kind of texts ("long texts") are stored in ITF format, which is a "rich text" (bold, etc.) READ_TEXT returns the text in ITF format.
If you want to convert ITF rich text into plain text, my preferred way is to use CONVERT_ITF_TO_STREAM_TEXT. Line breaks are the characters CRLF.
See CONVERT_STREAM_TO_ITF_TEXT convert '&' to '<(>&<)>' | SAP Community
2022 Sep 08 12:13 PM
2022 Sep 07 12:37 PM