SAP Note 391261 - SAPscript: Special character "&" and "<" in the PC editor

Component : SAPscript -

Solution : https://service.sap.com/sap/support/notes/391261 (SAP Service marketplace login required)

Summary :
When using the SAPscript PC editor for text entry, characters such as '&' and '<' are automatically masked (encoded) as '&' or '<' in the stored ITF format texts in the database. This encoding is essential for internal SAPscript text displays but can pose issues if the texts are accessed directly from the database, such as through the READ_TEXT function module, and then visually represented in transaction interfaces or used in IDOCs. To handle this, consider utilizing function modules like CONVERT_TEXT for ASCII output or CONVERT_ITF_TO_STREAM_TEXT, allowing for effective handling and display of special characters in different contexts. Also, refer to SAPscript online documentation for further guidance.

Key words :
additional key words sapscript, basis - basis services - sapscript, function module read_text, text edit control, function modules convert_text, sapscript pc editor, internally displayingsapscript texts, create long texts, output format ascii, inline text editor

Related Notes :

645146Problems with long texts containing HTML text
180655PC editor: Masking "&" and "<" special characters
100358SAPscript: General questions on PC Editor